Click or drag to resize

IMapSetMapLocation Method (Point, Double, String)

Sets the center (coordinate format specified in parameter spatialReferenceId) and zoom level of the map.

Namespace:  Ptv.XServer.Controls.Map
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
void SetMapLocation(
	Point center,
	double zoomLevel,
	string spatialReferenceId
)

Parameters

center
Type: System.WindowsPoint
The center point.
zoomLevel
Type: SystemDouble
The zoom level.
spatialReferenceId
Type: SystemString
The spatial reference identifier.
See Also