Zooms the map, and centers around a given center
Namespace:
ESRI.ADF.UI
Syntax
function zoomToBox ( box : Envelope, animate : Boolean ) |
Parameters
- box
- Type: ESRI.ADF.Geometries..::.Envelope
Envelope to zoom to.
- animate
- Type: [T:J#Boolean]
Specifies whether animation should be used for zooming. Default is true.
Remarks
Envelope will be adjusted so the map will fit the entire box.