On May 25, 3:55 pm, Lukes <[email protected]> wrote:
> Hello,
> I'm trying to show addresses on the map, but not all the addresses are
> showed. My code looks as follows:
>
>
> So I'm generating the calls of showAddress function using PHP for loop.
> Problem is if I generate a lot of addresses, e.g. 30. About 10 addresses are
> showed correctly but the rest not. Addresses are correct - if I skip first
> 10 addresses, further 10 addresses are showed correctly.
>
> So I'm a bit confused. Where could be a problem, please? Thanks a lot,
> Lukes.
Don't geocode known addresses every time your page loads. Geocode
them offline, save the results an use the coordinates to display the
markers.
See this from the "Articles" section of the documentation:
Geocoding Strategies
An overview of different strategies you can use for making sure
you stay within the Google Maps API geocoding limits. This is a good
article to read if you find you are frequently running into the quota
limits of the Maps API Geocoders.
http://code.google.com/apis/maps/articles/geocodestrat.html
-- Larry
--
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.