Wasn't it trez who wrote:
>
>Ok, but how do you update the map when you click on a different
>panorama?

To force the API to call the GetTile code again, you need to change the 
map type to a different map type and back again. [The setMapType code is 
optimised to do nothing if the requested map type is the same as the 
current one]. You might think that this would fetch tiles from the other 
map type that you don't need, and therefore be inefficient, but as long 
as you perform the two setMapType commands in the same "chunk" of 
Javascript, that doesn't happen.

-- 
Mike Williams
http://econym.org.uk/gmap



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