Hi,

I am using in a map the Hybrid MapType. This maptype is only available  
on my zone up to level 17, but google has in satellite up to level 20.  
When I zoom further than zoom level 17 in Hybrid I get the "tile not  
available message" on the map. In maps.google.com when you are in  
Hybrid and zoom further than 17 then it automatically changes to  
normal map type so that you can continue zooming.

I have mimified this behavior controlling zoom level changes like  
following, but this might be interested to be the default behavior?

-------

private var positionMarker:Marker;

private function onMapReady(event:MapEvent):void {

         
map 
.addEventListener 
(MapZoomEvent.ZOOM_CHANGED,function(ev:MapZoomEvent):void {
                if(map.getZoom() >17 && 
currentMapType!=MapType.SATELLITE_MAP_TYPE) {
                        map.setMapType(MapType.SATELLITE_MAP_TYPE);
                } else {
                        if (map.getCurrentMapType()!=currentMapType)
                                map.setMapType(currentMapType);
                }
        });

}

----


Javier de la Torre
www.vizzuality.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" group.
To post to this group, send email to google-maps-api-for-flash@googlegroups.com
To unsubscribe from this group, send email to 
google-maps-api-for-flash+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-maps-api-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to