Path Property
Collapse the table of content
Expand the table of content

MapPolygon.Path Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the path of GeoCoordinates that makes the polygon shape.

Namespace:  Microsoft.Phone.Maps.Controls
Assembly:  Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)

'Declaration
<TypeConverterAttribute(GetType(GeoCoordinateCollectionConverter))> _
Public Property Path As GeoCoordinateCollection

Property Value

Type: Microsoft.Phone.Maps.Controls.GeoCoordinateCollection
The path of GeoCoordinates that makes the polygon shape.

Set the value of the Path property by providing a value in XAML or by setting it programmatically in your code. Don't set the value of the Path property by using a XAML style. If you set the value by using a XAML style, undefined results may occur that also affect other MapPolygon instances.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft