Zooms the map, and centers around a given center
Namespace:
ESRI.ADF.UI
Syntax
function zoomTo ( point : Point, pixelsize : Number, animate : Boolean ) |
Parameters
- point
- Type: ESRI.ADF.Geometries..::.Point
Point to center on the screen.
- pixelsize
- Type: [T:J#Number]
Pixelsize to zoom to. This value may be adjusted to fit a tiled layer.
- animate
- Type: [T:J#Boolean]
Specifies whether animation should be used for zooming. Default is true.
Remarks
If the distance or scale between the current view and the envelope is too great, animation will be skipped.