In This Topic
The Vector layer allows you to place various objects with geographic coordinates on the map which help draw political borders for countries and states and add geographical details like airplane routes.
Following are the main vector elements that can be used on the vector layer:
- VectorPlacemark – An object attached to the geographical point. The placemarks have scale-independent geometry where coordinates are expressed in pixel coordinates and optional label (any UIElement). Typical usage: labels, icons, marks on the map. For more information, see Adding a Label.
- VectorPolyline – Similar to Polygon class, however it does not need to be a closed shape. The polyline is formed using geographical coordinates. Typical usage: paths, routes. For more information, see Adding a Polyline.
- VectorPolygon – 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. Typical usage: borders, regions. For more information, see Adding a Polygon.