tulip wrote: > > The address is certainly correct, and I have also tried using the > longitude/latitude values provided by maps.google.com with no > success. I've also tried just using the street address, city and > contry, or just the postcode and country with varying results but none > of them correct. > > Any ideas?
Geocoders are inherently unreliable because they rely to a greater or lesser extent on guesswork. The Google Maps geocoder is different from the API geocoder, which is why you get different results: they guess in a different way, or use different data on which to base their guesses. In any case, it's really bad form to have your page geocode a known point every time it's visited. It delays the display of the marker and puts additional load on Google's servers which isn't necessary since you already know where the marker should be. In order to find the right lat/long values, use something like John's API geocoder http://maps.huge.info/pinpointaddress.htm and zoom in and move the marker to where you want it. I would suggest that using the ready-made mapping module you are is overkill: you can add a marker with an infoWindow quite easily yourself -- see Mike's tutorial at http://econym.org.uk/gmap/basic1.htm 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 -~----------~----~----~----~------~----~------~--~---
