On Jan 4, 10:21 pm, Aaron Morgan <[email protected]> wrote:
>
> If you hit OK, the code still works and will find the locations but
> the error comes up initially.  I'm not sure why this is happening.
> Help!

Getting an error AND a map means that you are loading the API twice,
once with the wrong key (which generates the error) and once
correctly.

The index.php gets a map (somehow!) with a key which ends 66Vbiw. The
search.php page explicitly loads the API with a key ending Gj6oWA.
This is what is causing the error. I can't find where index.php loads
its API, but it's getting late here.

You need to review the documentation for phpGoogleStoreLocator, as it
appears that it needs no client-side code at all. You can probably
simply remove the line in the output from search.php which loads the
API using a <script> tag containing the wrong key.

Andrew

--

You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.


Reply via email to