On Jan 7, 1:52 am, "[email protected]" <[email protected]> wrote: > Hi guys, > > I'm using a relatively simple approach to tagging regions on my map, > where I basically just specify 'City, State' for each location using > the Geocoder, no fancy addresses. > > Now, I don't think this is a Geocoder issue, because SOMETIMES > locations show up as they should, and other times they don't, and > there's really no difference with the way I'm spelling out the > location. > > Could this be a performance issue with how I'm using the API?
Yes. You are misusing the geocoder. There is a rate limit which is specifically designed to stop the sort of multiple geocoding you're doing. > My list of location markers isn't changing (if you view the source > it's always the same), yet the behavior of the map does appear to act > differently from one refresh to the next. If the list isn't changing, there is definitely no need to geocode 15 places every time the page is opened. Find where your cities are -- they are not going to move any time soon -- and use those geographic coordinates directly instead of asking Google to look them up for you. Even if the list presented varies for different pages, you can still find actual coordinates once and use them each time rather than get Google to find them every time the page is opened. http://econym.org.uk/gmap/geomulti.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.
