Click or drag to resize

MapShape Class

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

Namespace:  Ptv.XServer.Controls.Map.Layers.Shapes
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public abstract class MapShape : Shape

The MapShape type exposes the following members.

Constructors
  NameDescription
Protected methodMapShape
Initializes a new instance of the MapShape class
Top
Properties
  NameDescription
Public propertyGeoTransform
Gets or sets a method which transforms a point from one coordinate system to another.
Public propertyMapStrokeThickness
Gets or sets the map stroke thickness.
Public propertyScaleFactor
Gets or sets the scale factor. See ScaleFactorProperty.
Top
Methods
  NameDescription
Public methodCurrentThickness
Retrieves the thickness for lines depending on the current scale.
Protected methodNeedsUpdate
Indicates if the update process should be started or not.
Public methodUpdateShape
Update the properties of the shape, according the current scale of the MapView object.
Top
Fields
  NameDescription
Public fieldStatic memberMapStrokeThicknessProperty
Stroke thickness of the map shape.
Top
Extension Methods
  NameDescription
Public Extension MethodEnvelope
Create the minimal bounding rectangle around a shape object.
(Defined by RectExtensions.)
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