Click or drag to resize

UntiledCanvas Class

A canvas which renders a non-tiled bitmap.
Inheritance Hierarchy
SystemObject
  System.Windows.ThreadingDispatcherObject
    System.WindowsDependencyObject
      System.Windows.MediaVisual
        System.WindowsUIElement
          System.WindowsFrameworkElement
            System.Windows.ControlsPanel
              System.Windows.ControlsCanvas
                Ptv.XServer.Controls.Map.CanvasesMapCanvas
                  Ptv.XServer.Controls.Map.CanvasesWorldCanvas
                    Ptv.XServer.Controls.Map.Layers.UntiledUntiledCanvas

Namespace:  Ptv.XServer.Controls.Map.Layers.Untiled
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public class UntiledCanvas : WorldCanvas

The UntiledCanvas type exposes the following members.

Constructors
  NameDescription
Public methodUntiledCanvas(MapView, IUntiledProvider)
Initializes a new instance of the UntiledCanvas class. This method initializes the maximum request size for map bitmaps to 2048 x 2048 pixels.
Public methodUntiledCanvas(MapView, IUntiledProvider, Boolean)
Initializes a new instance of the UntiledCanvas class. If the parameter addToMap is set to true, the new canvas instance is added to the parent map.
Top
Properties
  NameDescription
Public propertyCanvasCategory
Gets or sets the CanvasCategory of the canvas. The canvas category defines the z order of the canvas in the map.
(Inherited from MapCanvas.)
Public propertyMapView
Gets the parent map instance.
(Inherited from MapCanvas.)
Public propertyMaxRequestSize
Gets or sets the maximum map bitmap request size in pixels. Default is 2048x2048.
Public propertyMinLevel
Gets or sets the maximum level up to which images are requested.
Public propertyUpdateMapObjects
Callback for a provider object to set the map objects which belong to a requested map image.
Top
Methods
  NameDescription
Protected methodBeforeUpdate
Callback to precede the updating of the map content.
(Inherited from WorldCanvas.)
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.
(Inherited from WorldCanvas.)
Public methodDispose
Disposes the map canvas. During disposal the children of the canvas are removed and the viewport changed events are disconnected.
(Overrides MapCanvasDispose.)
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 methodInitializeTransform
Initializes the transformation instance which is needed to transform coordinates from one format to another one.
(Overrides WorldCanvasInitializeTransform.)
Public methodPtvMercatorToCanvas
This method implements a transformation from logical coordinates to canvas coordinates.
(Inherited from WorldCanvas.)
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.
(Overrides MapCanvasUpdate(UpdateMode).)
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