optimizing calls to map api

66 views
Skip to first unread message

batfink

unread,
Mar 15, 2011, 10:34:54 PM3/15/11
to Google Maps JavaScript API v3
I am new google maps and javascript and here's my question:

I have a set of lat and lang from third party source and use reverse
geocoding on google maps javascript api to display map and markers
based on user. But I want to minimize calls and reduce traffic to
google maps api. For example, if I fetch data from google maps api
once for a set of lat/lang, I want to cache it for some time period on
my web server and avoid subsequent calls to map api for same set of
lat/lang. Instead use cached data for rendering. I am not sure if it
is recommended way of using google maps.

Thanks!

Chris Broadfoot

unread,
Mar 15, 2011, 11:57:24 PM3/15/11
to google-map...@googlegroups.com, batfink
We allow caching for performance reasons. Check the terms of service for more detail:

See 10.3:

batfink

unread,
Mar 16, 2011, 5:21:02 AM3/16/11
to Google Maps JavaScript API v3
Thanks. I am also looking for patterns that are used in the past by
this community or recommended by google for optimizing traffic to maps
API.
Reply all
Reply to author
Forward
0 new messages