ScreenCanvas Class |
Namespace: Ptv.XServer.Controls.Map.Canvases
The ScreenCanvas type exposes the following members.
Name | Description | |
---|---|---|
ScreenCanvas(MapView) | Initializes a new instance of the ScreenCanvas class. | |
ScreenCanvas(MapView, Boolean) | Initializes a new instance of the ScreenCanvas class. If the second parameter
addToMap is set to true, the new screen canvas is added to the parent map. |
Name | Description | |
---|---|---|
CanvasCategory | Gets or sets the CanvasCategory of the canvas. The canvas category defines the z
order of the canvas in the map. (Inherited from MapCanvas.) | |
MapView | Gets the parent map instance. (Inherited from MapCanvas.) |
Name | Description | |
---|---|---|
BeforeUpdate | Callback to precede the updating of the map content. (Inherited from MapCanvas.) | |
CanvasToGeo | Converts a canvas point to a geographic point. (Inherited from MapCanvas.) | |
CanvasToPtvMercator | This method implements a transformation from canvas coordinates to logical coordinates. (Overrides MapCanvasCanvasToPtvMercator(Point).) | |
Dispose | Disposes the map canvas. During disposal the children of the canvas are removed and the viewport
changed events are disconnected. (Inherited from MapCanvas.) | |
GeoToCanvas(Point) | Converts a geographic point to a canvas point. (Inherited from MapCanvas.) | |
GeoToCanvas(Point, String) |
Converts a geographic point to a canvas coordinate.
(Inherited from MapCanvas.) | |
PtvMercatorToCanvas | This method implements a transformation from logical coordinates to canvas coordinates. (Overrides MapCanvasPtvMercatorToCanvas(Point).) | |
ReceiveWeakEvent | Receives events from the centralized event manager. (Inherited from MapCanvas.) | |
Update | Updates the map content. The map content consists of all elements of the canvas. This method is
for example triggered when the viewport changes. (Inherited from MapCanvas.) |
Name | Description | |
---|---|---|
FindRelativeT | Finds an object of type T for a framework element which is somewhere in the visual tree. (Defined by MapElementExtensions.) | |
ToJson | Converts an object to a JSON string representation. (Defined by JSONWriter.) |