You can restrict the zoom level by creating a new map type which is
based on one of the existing map types, but with a different min/max
resolution. This is done in the MapEvent.MAP_PREINITIALIZE handler,
for example:

var mapOptions:MapOptions = new MapOptions();
mapOptions.zoom = 16;
mapOptions.center = new LatLng(...);
mapOptions.mapType = new MapType(
        MapType.SATELLITE_MAP_TYPE.getTileLayers(),
        MapType.SATELLITE_MAP_TYPE.getProjection(),
        "Map Type",
        new MapTypeOptions(
        {
                minResolution: 16,
                maxResolution: 20,
                textColor: 0xffffff,
                linkColor: 0xffffff
        }));
_map.setInitOptions(mapOptions);

Saxon

On May 27, 6:11 am, Owen <[email protected]> wrote:
> Whoops, meant this 
> link:http://code.google.com/apis/maps/documentation/flash/controls.html

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

Reply via email to