abstract26, thank you for your reply.
I've tried what you mentioned in a function called by the
MapZoomEvent.ZOOM_CHANGED event...
if(this.map.getZoom() >= 16 && this.map.getZoom() <= 20){
_zoomLevel = this.map.getZoom();
}else if(this.map.getZoom() < 16){
_zoomLevel = 16;
}else if(this.map.getZoom() > 20){
_zoomLevel = 20;
}
this.map.setZoom(_zoomLevel);
And it works! But do you know if there's a way to keep the map from
going to zoom level 17 and then bouncing back to 16?
--
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 [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-for-flash?hl=en.