The static map causes extra network traffic. I am trying to avoid
it. It is obsolete once I drag or pan or zoom the tiled map.
bratliff
unread,
Mar 12, 2011, 8:10:58 AM3/12/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Maps JavaScript API v3
For the past year, I was able to use "useStaticMap:false" to suppress
the unwanted static map. Because of its "token" parameter, it may not
be cacheable. It competes for bandwidth with the tiles. It is a
nuisance. How do I eliminate it ?
bratliff
unread,
Mar 12, 2011, 12:00:34 PM3/12/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Maps JavaScript API v3
I am usually able to obliterate the unwanted static maps in an "idle"
event listener. Unfortunately, several still leak through despite
corresponding tiles already in my browser's cache. It is extremely
annoying.
Will someone from Google please let me know what to do to eliminate
the superfluous static maps.
The following sequence generates two totally useless static maps.
Doubleclick zoom to the next level where the mouse location is
slightly different than a previous visit to the same zoom level.
Return to the previous zoom level.
The relevant tiles are already cached. Both static maps differ by a
few pixels from other static maps for the same zoom level already
cached. Bandwidth is wasted to retrieve a static map at
style.zIndex=0 covered by tiles at style.zIndex=1;
bratliff
unread,
Mar 12, 2011, 4:45:14 PM3/12/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Maps JavaScript API v3
The option name seems to have been changed from "useStaticMap" to
"useStaticMapImpl". It can really improve performance. It reduces
bandwidth usage by almost half if the required tiles are missing. It
is totally superfluous if the required tiles are cached. Anyone not
using it ought to experiment with it.