MapPolygon Class |
This class represents a polygon on the map.
See the Shape Layer Concept topic for an example.
Namespace: Ptv.XServer.Controls.Map.Layers.Shapes
The MapPolygon type exposes the following members.
Name | Description | |
---|---|---|
MapPolygon | Initializes a new instance of the MapPolygon class. Initializes the
ScaleFactor to 0.0. |
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 | Creates a new Geometry object by means of a set of PointCollections. | |
ClipShape | Clip the Polygon object. (Overrides MapPolylineClipShape(MapView, UpdateMode, Boolean).) | |
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. (Inherited from MapPolyline.) | |
UpdateShape | Update the properties of the shape, according the current scale of the MapView object. (Overrides MapPolylineUpdateShape(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.) |