Click or drag to resize

WorldCanvas Constructor

Initializes a new instance of the WorldCanvas class. If the parameter addToMap is set to true, the canvas is added to the parent map.

Namespace:  Ptv.XServer.Controls.Map.Canvases
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
protected WorldCanvas(
	MapView mapView,
	bool addToMap = true,
	Point localOffset = null
)

Parameters

mapView
Type: Ptv.XServer.Controls.MapMapView
The instance of the parent map.
addToMap (Optional)
Type: SystemBoolean
Indicates that the canvas should inserted to the parent map immediately.
localOffset (Optional)
Type: System.WindowsPoint
An optional offset for the Mercator units.
See Also