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
)
Sub SetMapLocation (
center As Point,
zoomLevel As Double,
spatialReferenceId As String
)
void SetMapLocation(
Point center,
double zoomLevel,
String^ spatialReferenceId
)
abstract SetMapLocation :
center : Point *
zoomLevel : float *
spatialReferenceId : string -> unit
Parameters
- center
- Type: System.WindowsPoint
The center point. - zoomLevel
- Type: SystemDouble
The zoom level. - spatialReferenceId
- Type: SystemString
The spatial reference identifier.
See Also