Pan method
Shifts the map view in a given direction by a given amount; similar to using the Pan tool on the Navigation toolbar.
Applies to
Objects: Map
Syntax
object.Pan(PanDirection, [PanFactor])
Parameters
Part |
Description |
|||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
object |
Required. An expression that returns a Map object. |
|||||||||||||||||||||||||||
PanDirection |
Required GeoPanCmd. The direction to pan.
|
|||||||||||||||||||||||||||
PanFactor |
Optional Double. Amount to pan, expressed as a fraction of the screen width or height. |