MapLocation
MapLocation
MapLocation
MapLocation
Class
Definition
Represents a geographic location.
public : sealed class MapLocation : IMapLocationpublic sealed class MapLocation : IMapLocationPublic NotInheritable Class MapLocation Implements IMapLocation// This API is not available in Javascript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
A collection of MapLocation objects is returned through the Locations property of the MapLocationFinderResult when you call the methods of the MapLocationFinder class.
Your Universal Windows app must be authenticated before it can use the MapControl and map services in the Windows.Services.Maps namespace. To authenticate your app, you must specify a maps authentication key.
See Request a maps authentication key.
Properties
Address Address Address Address
Gets the address of a geographic location.
public : MapAddress Address { get; }public MapAddress Address { get; }Public ReadOnly Property Address As MapAddress// This API is not available in Javascript.
The address of a geographic location.
- See Also
Description Description Description Description
Gets the description of a geographic location.
public : PlatForm::String Description { get; }public string Description { get; }Public ReadOnly Property Description As string// This API is not available in Javascript.
- Value
- PlatForm::String string string string
The description of a geographic location.
- See Also
DisplayName DisplayName DisplayName DisplayName
Gets the display name of a geographic location.
public : PlatForm::String DisplayName { get; }public string DisplayName { get; }Public ReadOnly Property DisplayName As string// This API is not available in Javascript.
- Value
- PlatForm::String string string string
The display name of a geographic location.
- See Also