Wasn't it [email protected] who wrote:
>
>Hi,
>
>I'm wondering the best way to get a list of all tiles currently in the
>viewport, and also to know which ones have left the viewport on a
>recent change (eg pan)
>
>For example, this shows how given any location you can get the tile
>http://code.google.com/apis/maps/documentation/examples/tile-detector.html
>.. so theoretically you loop over your viewport in 256 pixels chunks,
>and then get a list and compare it to your old list of tiles...

That sounds good to me.

The only other strategy that I can think of is to crawl through the DOM 
looking for the map Pane on which the tiles are held, and read the "src" 
attributes for the <img>s, but if the browser is MSIE and the tile layer 
has isPng true you'd have to look in the AlphaImageLoader "filter" 
information of the <div>s. Messy.

-- 
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to