ShapeCanvas Methods |
The ShapeCanvas type exposes the following members.
Name | Description | |
---|---|---|
BeforeUpdate | Callback to precede the updating of the map content. (Inherited from WorldCanvas.) | |
CanvasToGeo | Converts a canvas point to a geographic point. (Inherited from MapCanvas.) | |
CanvasToPtvMercator | This method implements a transformation from canvas coordinates to logical coordinates. (Inherited from WorldCanvas.) | |
Dispose | Disposes the map canvas. During disposal the children of the canvas are removed and the viewport
changed events are disconnected. (Overrides MapCanvasDispose.) | |
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.) | |
GetAnchor | Retrieves the Anchor of a certain shape element. | |
GetLocation | Retrieves the location of a certain shape element. | |
GetScale | Retrieves the scale factor of a certain shape element. | |
GetScaleFactor | Retrieves the scale factor of a certain shape element. | |
InitializeTransform | Initializes the transformation instance which is needed to transform coordinates from one format
to another one. (Inherited from WorldCanvas.) | |
NeedsUpdate |
Check if an update of a shape object is necessary, according to
the lazy mode or update mode.
| |
PtvMercatorToCanvas | This method implements a transformation from logical coordinates to canvas coordinates. (Inherited from WorldCanvas.) | |
ReceiveWeakEvent | Receives events from the centralized event manager. (Inherited from MapCanvas.) | |
SetAnchor | Sets the anchor of a certain shape element. | |
SetLocation | Sets the location of a certain shape element. | |
SetScale | Sets the scale factor of a certain shape element. | |
SetScaleFactor | Sets the scale factor of a certain shape element. | |
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. (Overrides MapCanvasUpdate(UpdateMode).) | |
UpdateScale | Updates the scale of a certain shape element. | |
UpdateScales | Updates the scale of a whole set of shape elements. All shape elements which are currently
visible on the displayed map section are updated. |
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.) |