MapCanvas Methods |
The MapCanvas type exposes the following members.
Name | Description | |
---|---|---|
BeforeUpdate | Callback to precede the updating of the map content. | |
CanvasToGeo | Converts a canvas point to a geographic point. | |
CanvasToPtvMercator | This method implements a transformation from canvas coordinates to logical coordinates. | |
Dispose | Disposes the map canvas. During disposal the children of the canvas are removed and the viewport
changed events are disconnected. | |
GeoToCanvas(Point) | Converts a geographic point to a canvas point. | |
GeoToCanvas(Point, String) |
Converts a geographic point to a canvas coordinate.
| |
PtvMercatorToCanvas | This method implements a transformation from logical coordinates to canvas coordinates. | |
ReceiveWeakEvent | Receives events from the centralized event manager. | |
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. |
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.) |