Udostępnij za pośrednictwem


Placemark Class

Definition

User-friendly description of a geographic coordinate. This contains information such as the name of the place, its address, and other information.

public class Placemark
Inheritance
System.Object
Placemark

Constructors

Placemark()

Default constructor for placemark.

Placemark(Placemark)

Constructor to create a deep copy.

Properties

AdminArea

Gets or sets the administrative area name of the address, for example, "CA", or null if it is unknown.

CountryCode

Gets or sets the country ISO code.

CountryName

Gets or sets the country name.

FeatureName

Gets or sets the feature name.

Locality

Gets or sets the city or town.

Location

Gets or sets the location of the placemark.

PostalCode

Gets or sets the postal code.

SubAdminArea

Gets or sets the sub-administrative area name of the address, for example, "Santa Clara County", or null if it is unknown.

SubLocality

Gets or sets the sub locality.

SubThoroughfare

Gets or sets optional info: sub street or region.

Thoroughfare

Gets or sets the street name.

Methods

ToString()

A string representation of the placemark.

Extension Methods

OpenMapsAsync(Placemark, MapLaunchOptions)

Open the map to the placemark with options.

OpenMapsAsync(Placemark)

Open the map to the placemark.

Applies to