MapPolyline Class |
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.
Namespace: Ptv.XServer.Controls.Map.Layers.Shapes
The MapPolyline type exposes the following members.
Name | Description | |
---|---|---|
MapPolyline | Initializes a new instance of the MapPolyline class. |
Name | Description | |
---|---|---|
DefiningGeometry | Gets a value that represents the geometry of the shape. (Inherited from MapPolylineBase.) | |
GeoTransform | Gets or sets a method which transforms a point from one coordinate system to another. (Inherited from MapShape.) | |
MapStrokeThickness | Gets or sets the map stroke thickness. (Inherited from MapShape.) | |
Points | Gets or sets the points of the polyline. (Inherited from MapPolylineBase.) | |
ScaleFactor | Gets or sets the scale factor. See ScaleFactorProperty. (Inherited from MapShape.) | |
TransformedPoints | Gets or sets the transformed points. The transformed points are a collection of points which have
been transformed to the currently applied spatial reference system. This property helps to improve
performance since the point transformation is only done once. (Inherited from MapPolylineBase.) |
Name | Description | |
---|---|---|
BuildGeometry | Builds the geometry of the polyline. | |
ClipShape | Clip the Polyline object. | |
CurrentThickness | Retrieves the thickness for lines depending on the current scale. (Inherited from MapShape.) | |
NeedsUpdate | Indicates if the update process should be started or not. (Inherited from MapShape.) | |
TransformShape | Transforms the polyline object according the transformation provided by
GeoTransform. | |
UpdateShape | Update the properties of the shape, according the current scale of the MapView object. (Overrides MapShapeUpdateShape(MapView, UpdateMode, Boolean).) |
Name | Description | |
---|---|---|
Data | Contains the geometry provided by property DefiningGeometry. (Inherited from MapPolylineBase.) |
Name | Description | |
---|---|---|
Envelope | Create the minimal bounding rectangle around a shape object. (Defined by RectExtensions.) | |
FindRelativeT | Finds an object of type T for a framework element which is somewhere in the visual tree. (Defined by MapElementExtensions.) | |
ToJson | Converts an object to a JSON string representation. (Defined by JSONWriter.) |