-api-id | -api-type |
---|---|
T:Windows.UI.Xaml.Controls.Maps.MapPolyline |
winrt class |
Represents a polyline on a MapControl.
Display pushpins, images, and shapes on the MapControl by adding them to its MapElements collection.
- Display an image such as a pushpin with optional text by using the MapIcon class. Keep the default image or provide a custom image.
- Define and display a MapPolygon or a MapPolyline. Alternately, to display XAML elements on the MapControl, add them to its Children collection.
For more info, see Display maps with 2D, 3D, and Streetside views.