On Jul 28, 10:29 am, Marten <[email protected]> wrote: > Hi, > > I've a Google Maps onhttp://test.curious.nl/omc-group/vestigingen.html. > If the page loads it displayes Australia for a second or less and then > loads my location in the Netherlands. I want to load my location in > Netherlands immediately.
It's waiting for the geocoding to return results. It appears that applying the setCentre() to the map is being inhibited by using the geocoder. I assume your office buildings aren't mobile, so it would be far better simply to put markers at their locations rather than use the geocoder to find them every time the page is opened. There are also issues because your variable "address" is never defined: if the geocoding fails for whatever reason (which could be a 620 rate error since you have four concurrent geocoding operations) then your script will fail. 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 -~----------~----~----~----~------~----~------~--~---
