In This Topic
The Vector layer allows you to place different objects with geographic coordinates on a map, which helps in drawing political borders for countries and states, and adding geographical details like airplane routes.
These are the following main vector element classes that can be used on the vector layer:
- VectorPolyline class: This class is similar to the Polygon class, except that its object needn't be a closed shape. The polyline is formed using geographical coordinates. Polylines are typically used in paths and routes.
- VectorPolygon class: This class is similar to Polyline class, but it draws a polygon, which is a connected series of lines that form a closed shape. The polygon is formed using geographical coordinates. Polygons are typically used for borders and regions.
- VectorPlacemark class: A VectorPlacemark object is an object attached to the geographical point. The placemark has scale-independent geometry, and its coordinates are expressed in pixel coordinates and optional label (any UIElement). VectorPlacemarks are typically used in labels, icons and marks on the map.
For more information, see the topic Display Shapes.