MapAddress

Namespace: XPlat.Services.Maps

Represents an address.

public class MapAddress : IMapAddress

Supported platforms

Platform

Version

.NET Standard

2.0

Xamarin.Android

9.0

Xamarin.iOS

1.0

UWP

10.0.16299

Constructors

MapAddress(Windows.Services.Maps.MapAddress) - Windows

Parameters

mapAddress (Windows.Services.Maps.MapAddress)

MapAddress(Android.Locations.Address) - Android

Parameters

mapLocation (Android.Locations.Address)

MapAddress(CoreLocation.CLPlacemark) - iOS

Parameters

mapLocation (CoreLocation.CLPlacemark)

Properties

BuildingName

Gets the building name of an address.

BuildingFloor

Gets the building floor of an address.

BuildingRoom

Gets the building room of an address.

BuildingWing

Gets the building wing of an address.

StreetNumber

Gets the street number of an address.

Street

Gets the street name of an address.

Neighborhood

Gets the neighborhood of an address.

District

Gets the district of an address.

Town

Gets the town or city of an address.

Region

Gets the region (for example, the state or province) of an address.

RegionCode

Gets the code for the region (for example, the state or province) of an address.

Country

Gets the country of an address.

CountryCode

Gets the country code of an address.

PostCode

Gets the postal code of an address.

Continent

Gets the continent of an address.

Methods

ToString()

Returns a string that represents the current object.

Returns

The formatted address as a string, e.g. 1 Microsoft Way, Redmond, WA, 98052.

Last updated