The current FadeIn VSlider Demo does not update the VSlider position
whenever the zoom is changed via the mouse scroll wheel. To make the
demo more complete, the following code can be added to update the
slider position whenever the zoom is changed.
// Add where map is created.
map.addEventListener( MapZoomEvent.ZOOM_CHANGED, onMapZoomChanged );
// Add this somewhere within the script block.
private function onMapZoomChanged( event:Event ):void
{
zoomSlider.value = map.getZoom();
}
--
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.