Click or drag to resize

ScreenCanvas Methods

The ScreenCanvas type exposes the following members.

Methods
  NameDescription
Protected methodBeforeUpdate
Callback to precede the updating of the map content.
(Inherited from MapCanvas.)
Public methodCanvasToGeo
Converts a canvas point to a geographic point.
(Inherited from MapCanvas.)
Public methodCanvasToPtvMercator
This method implements a transformation from canvas coordinates to logical coordinates.
(Overrides MapCanvasCanvasToPtvMercator(Point).)
Public methodDispose
Disposes the map canvas. During disposal the children of the canvas are removed and the viewport changed events are disconnected.
(Inherited from MapCanvas.)
Public methodGeoToCanvas(Point)
Converts a geographic point to a canvas point.
(Inherited from MapCanvas.)
Public methodGeoToCanvas(Point, String)
Converts a geographic point to a canvas coordinate.
(Inherited from MapCanvas.)
Public methodPtvMercatorToCanvas
This method implements a transformation from logical coordinates to canvas coordinates.
(Overrides MapCanvasPtvMercatorToCanvas(Point).)
Public methodReceiveWeakEvent
Receives events from the centralized event manager.
(Inherited from MapCanvas.)
Public methodUpdate
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.)
Top
Extension Methods
  NameDescription
Public Extension MethodFindRelativeT
Finds an object of type T for a framework element which is somewhere in the visual tree.
(Defined by MapElementExtensions.)
Public Extension MethodToJson
Converts an object to a JSON string representation.
(Defined by JSONWriter.)
Top
See Also