Click or drag to resize

Ptv.XServer.Controls.Map.Layers.Shapes Namespace

 
Classes
  ClassDescription
Public classMapIcon Obsolete.

This class represents a symbol on the map. Since a symbol cannot adapt its size and position according to the map scale by default, this class acts as a wrapper which extends this functionality. So it is responsible for placing the symbol at the appropriate coordinates and change its size according to the current map scale.

DO NOT SET DIRECTLY THE WIDTH AND THE HEIGHT OF THE MapIcon!!! SET THESE PROPERTIES DIRECTLY ON THE WRAPPED UserControl INSTEAD!!!

See the Shape Layer Concept topic for an example.

Public classMapPolygon

This class represents a polygon on the map.

See the Shape Layer Concept topic for an example.

Public classMapPolyline

This class represents a polyline on the map. The MapPolyline is responsible for adapting the visual to the current map viewport in terms of scaling and clipping.

See the Shape Layer Concept topic for an example.

Public classMapPolylineBase

This class represents shape objects which are displayed on a map.

See the Shape Layer Concept topic for an example.

Public classMapShape
Extends class Shape to add functionality for geographical objects which change their presentation according the currently used scale of the map.
Public classShapeCanvas

Canvas displaying shape elements on a map.

See the Shape Layer Concept topic for an example.

Public classShapeLayer

This class represents a layer containing shape objects.

See the Shape Layer Concept topic for an example.

Enumerations
  EnumerationDescription
Public enumerationLocationAnchor

A MapIcon can be located with a certain anchor on the map. The anchor defines how the MapIcon should be situated in relation to its location. Set one of the values of this enumeration to the Anchor property of this class to define the behavior.

See the Shape Layer Concept topic for an example.