PlaceInfo.CreateFromMapLocation(MapLocation) PlaceInfo.CreateFromMapLocation(MapLocation) PlaceInfo.CreateFromMapLocation(MapLocation) PlaceInfo.CreateFromMapLocation(MapLocation) PlaceInfo.CreateFromMapLocation(MapLocation) Method

Definition

Creates a PlaceInfo instance.

public : static PlaceInfo CreateFromMapLocation(MapLocation location)
static PlaceInfo CreateFromMapLocation(MapLocation location) const;
public static PlaceInfo CreateFromMapLocation(MapLocation location)
Public Shared Function CreateFromMapLocation(location As MapLocation) As PlaceInfo
var placeInfo = Windows.Services.Maps.PlaceInfo.createFromMapLocation(location);

Parameters

location
MapLocation MapLocation MapLocation

The geographic map location that you want to show in a light-dismissible window.

Returns

A PlaceInfo instance that describes the location.

Remarks

You can get a MapLocation object by using any of the methods in the MapLocationFinder class.