WorldCanvas Class |
Namespace: Ptv.XServer.Controls.Map.Canvases
The WorldCanvas type exposes the following members.
| Name | Description | |
|---|---|---|
| WorldCanvas | Initializes a new instance of the WorldCanvas class. If the parameter
addToMap is set to true, the 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. (Overrides MapCanvasBeforeUpdate(UpdateMode).) | |
| 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.) | |
| InitializeTransform | Initializes the transformation instance which is needed to transform coordinates from one format
to another one. | |
| 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.) |