Click or drag to resize

Ptv.XServer.Controls.Map.Canvases Namespace

A canvas holds the graphic items of a map. One or more canvases are used for a layer. There are two main types of canvases: A WorldCanvas, whose elements have positions and dimensions in world Mercator units and a ScreenCanvas, whose elements have positions and dimensions in screen (pixel) units. By using multiple canvases, the elements for different layers can interleave for different CanvasCategory types.
Classes
  ClassDescription
Public classMapCanvas
The main canvas which holds viewable elements for a map.
Public classScreenCanvas
Canvas with screen coordinates. Elements of the canvas have an absolute dimension (= size in pixels) but have to be repositioned whenever the viewport changes.
Public classWorldCanvas
Canvas with world coordinates. Elements of the canvas do not have to be repositioned when the viewport changes, but have world-dimension (= size in Mercator units).
Enumerations
  EnumerationDescription
Public enumerationCanvasCategory
The enumeration defines the category of map canvases. The categories specify the primary z-order of canvases on the map. All canvases within the same category are grouped according to their index in the layer collection.
Public enumerationUpdateMode
Indicates the mode of the update.