There is another stupid or serious issue. If you use the store locator example as it is, with <!DOCTYPE HTML> the map wouldn't show up at all.
On Jun 16, 6:20 pm, JKurtock <[email protected]> wrote: > When I run the google demo version, I do not get an error, but I do > get the map centered on -180, 0. This may be what "seriously" is > calling an error. > > What appears to be happening is that the search url > (...phpsqlsearch_genxml.php? > lat=42.3803274&lng=-71.13891009999998&radius=25) is not returning an > xml string as designed, but rather the actual php code. Meaning that > it is likely a google server issue; that subdirectory is not (no > longer) set up to parse php code. > > Of course, for seriously to get anything, he too would need the php > code, and it would need to be correctly set up on his/her server. > > - Jeff > > On Jun 16, 3:23 am, Remi Grumeau <[email protected]> wrote: > > > > > > > > > I'm using this code, at least the MySQL request snippet and it kind of > > works. Times to times it doesn't give me the closest one but pick of the 3 > > first randomly. Perhaps there is something to improve / debug but anyway: it > > works. And i'm not talking about 25 or 200 miles here, but about dozens > > meters... > > > I could share an example but it's mobile only for now and based on > > window.geolocation for markers in my hometown Lille in France so i'm not > > sure this could really help much... > > > R. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
