MapStyleSheetEntries MapStyleSheetEntries MapStyleSheetEntries MapStyleSheetEntries Class

Definition

Provides the names of JavaScript Object Notation (JSON) supported style entries in the map style sheet.

public : static class MapStyleSheetEntries
static struct winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheetEntries
public static class MapStyleSheetEntries
Public Static Class MapStyleSheetEntries
Attributes
Windows 10 requirements
Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

Remarks

You can set the MapStyleSheetEntry property of a MapElement to any of these entry names. If the map's style sheet defines a style for that entry name, the style is applied to the MapElement.

To learn more about entries in a map style sheet, see Map style sheet reference.

Properties

AdminDistrict AdminDistrict AdminDistrict AdminDistrict

Gets the JSON entry name that represents admin1, states, provinces, etc.

public : static Platform::String AdminDistrict { get; }
static winrt::hstring AdminDistrict();
public static string AdminDistrict { get; }
Public Static ReadOnly Property AdminDistrict As string
Value
string string

The JSON entry name that represents admin1, states, provinces, etc.

AdminDistrictCapital AdminDistrictCapital AdminDistrictCapital AdminDistrictCapital

Gets the JSON entry name for icons that represent the capital of a state or province.

public : static Platform::String AdminDistrictCapital { get; }
static winrt::hstring AdminDistrictCapital();
public static string AdminDistrictCapital { get; }
Public Static ReadOnly Property AdminDistrictCapital As string
Value
string string

The JSON entry name for icons that represent the capital of a state or province.

Airport Airport Airport Airport

Gets the JSON entry name that represents areas that encompass an airport.

public : static Platform::String Airport { get; }
static winrt::hstring Airport();
public static string Airport { get; }
Public Static ReadOnly Property Airport As string
Value
string string

The JSON entry name that represents areas that encompass an airport.

Area Area Area Area

Gets the JSON entry name that represents areas of land use.

public : static Platform::String Area { get; }
static winrt::hstring Area();
public static string Area { get; }
Public Static ReadOnly Property Area As string
Value
string string

The JSON entry name that represents areas of land use.

ArterialRoad ArterialRoad ArterialRoad ArterialRoad

Gets the JSON entry name for lines that represent main roads with heavy traffic.

public : static Platform::String ArterialRoad { get; }
static winrt::hstring ArterialRoad();
public static string ArterialRoad { get; }
Public Static ReadOnly Property ArterialRoad As string
Value
string string

The JSON entry name for lines that represent main roads with heavy traffic.

Building Building Building Building

Gets the JSON entry name that represents a building.

public : static Platform::String Building { get; }
static winrt::hstring Building();
public static string Building { get; }
Public Static ReadOnly Property Building As string
Value
string string

The JSON entry name that represents a building.

Business Business Business Business

Gets the JSON entry name that represents restaurants, hospitals, schools, etc.

public : static Platform::String Business { get; }
static winrt::hstring Business();
public static string Business { get; }
Public Static ReadOnly Property Business As string
Value
string string

The JSON entry name that represents restaurants, hospitals, schools, etc.

Capital Capital Capital Capital

Gets the JSON entry name for icons that represent the capital of a populated place.

public : static Platform::String Capital { get; }
static winrt::hstring Capital();
public static string Capital { get; }
Public Static ReadOnly Property Capital As string
Value
string string

The JSON entry name for icons that represent the capital of a populated place.

Cemetery Cemetery Cemetery Cemetery

Gets the JSON entry name that represents areas of cemeteries.

public : static Platform::String Cemetery { get; }
static winrt::hstring Cemetery();
public static string Cemetery { get; }
Public Static ReadOnly Property Cemetery As string
Value
string string

The JSON entry name that represents areas of cemeteries.

Continent Continent Continent Continent

Gets the JSON entry name that represents areas of entire continents.

public : static Platform::String Continent { get; }
static winrt::hstring Continent();
public static string Continent { get; }
Public Static ReadOnly Property Continent As string
Value
string string

The JSON entry name that represents areas of entire continents.

ControlledAccessHighway ControlledAccessHighway ControlledAccessHighway ControlledAccessHighway

Gets the JSON entry name for lines that represent highways with restricted access.

public : static Platform::String ControlledAccessHighway { get; }
static winrt::hstring ControlledAccessHighway();
public static string ControlledAccessHighway { get; }
Public Static ReadOnly Property ControlledAccessHighway As string
Value
string string

The JSON entry name for lines that represent highways with restricted access.

CountryRegion CountryRegion CountryRegion CountryRegion

Gets the JSON entry name that represents a country.

public : static Platform::String CountryRegion { get; }
static winrt::hstring CountryRegion();
public static string CountryRegion { get; }
Public Static ReadOnly Property CountryRegion As string
Value
string string

The JSON entry name that represents a country.

CountryRegionCapital CountryRegionCapital CountryRegionCapital CountryRegionCapital

Gets the JSON entry name for icons that represent the capital of a country or region.

public : static Platform::String CountryRegionCapital { get; }
static winrt::hstring CountryRegionCapital();
public static string CountryRegionCapital { get; }
Public Static ReadOnly Property CountryRegionCapital As string
Value
string string

The JSON entry name for icons that represent the capital of a country or region.

District District District District

Gets the JSON entry name that represents admin2, counties, etc.

public : static Platform::String District { get; }
static winrt::hstring District();
public static string District { get; }
Public Static ReadOnly Property District As string
Value
string string

The JSON entry name that represents admin2, counties, etc.

DrivingRoute DrivingRoute DrivingRoute DrivingRoute

Gets the JSON entry name that represents a driving route.

public : static Platform::String DrivingRoute { get; }
static winrt::hstring DrivingRoute();
public static string DrivingRoute { get; }
Public Static ReadOnly Property DrivingRoute As string
Value
string string

The JSON entry name that represents a driving route.

Education Education Education Education

Gets the JSON entry name that represents areas of schools.

public : static Platform::String Education { get; }
static winrt::hstring Education();
public static string Education { get; }
Public Static ReadOnly Property Education As string
Value
string string

The JSON entry name that represents areas of schools.

EducationBuilding EducationBuilding EducationBuilding EducationBuilding

Gets the JSON entry name that represents an educational building such as a school.

public : static Platform::String EducationBuilding { get; }
static winrt::hstring EducationBuilding();
public static string EducationBuilding { get; }
Public Static ReadOnly Property EducationBuilding As string
Value
string string

The JSON entry name that represents an educational building such as a school.

FoodPoint FoodPoint FoodPoint FoodPoint

Gets the JSON entry name that represents restaurants, cafés, etc.

public : static Platform::String FoodPoint { get; }
static winrt::hstring FoodPoint();
public static string FoodPoint { get; }
Public Static ReadOnly Property FoodPoint As string
Value
string string

The JSON entry name that represents restaurants, cafés, etc.

Forest Forest Forest Forest

Gets the JSON entry name that represents area of forest land.

public : static Platform::String Forest { get; }
static winrt::hstring Forest();
public static string Forest { get; }
Public Static ReadOnly Property Forest As string
Value
string string

The JSON entry name that represents area of forest land.

GolfCourse GolfCourse GolfCourse GolfCourse

Gets the JSON entry name that represents areas of golf courses.

public : static Platform::String GolfCourse { get; }
static winrt::hstring GolfCourse();
public static string GolfCourse { get; }
Public Static ReadOnly Property GolfCourse As string
Value
string string

The JSON entry name that represents areas of golf courses.

HighSpeedRamp HighSpeedRamp HighSpeedRamp HighSpeedRamp

Gets the JSON entry name for lines that represent ramps. These ramps typically appear alongside of controlled access highways.

public : static Platform::String HighSpeedRamp { get; }
static winrt::hstring HighSpeedRamp();
public static string HighSpeedRamp { get; }
Public Static ReadOnly Property HighSpeedRamp As string
Value
string string

The JSON entry name for lines that represent ramps. These ramps typically appear alongside of controlled access highways.

Highway Highway Highway Highway

Gets the JSON entry name for lines that represent highways.

public : static Platform::String Highway { get; }
static winrt::hstring Highway();
public static string Highway { get; }
Public Static ReadOnly Property Highway As string
Value
string string

The JSON entry name for lines that represent highways.

IndigenousPeoplesReserve IndigenousPeoplesReserve IndigenousPeoplesReserve IndigenousPeoplesReserve

Gets the JSON entry name that represents areas of Indian reservations.

public : static Platform::String IndigenousPeoplesReserve { get; }
static winrt::hstring IndigenousPeoplesReserve();
public static string IndigenousPeoplesReserve { get; }
Public Static ReadOnly Property IndigenousPeoplesReserve As string
Value
string string

The JSON entry name that represents areas of Indian reservations.

Island Island Island Island

Gets the JSON entry name that represents labels in island areas.

public : static Platform::String Island { get; }
static winrt::hstring Island();
public static string Island { get; }
Public Static ReadOnly Property Island As string
Value
string string

The JSON entry name that represents labels in island areas.

MajorRoad MajorRoad MajorRoad MajorRoad

Gets the JSON entry name for lines that represent main roads.

public : static Platform::String MajorRoad { get; }
static winrt::hstring MajorRoad();
public static string MajorRoad { get; }
Public Static ReadOnly Property MajorRoad As string
Value
string string

The JSON entry name for lines that represent main roads.

Medical Medical Medical Medical

Gets the JSON entry name that represents areas of land that are used for medical purposes (For example: a hospital campus).

public : static Platform::String Medical { get; }
static winrt::hstring Medical();
public static string Medical { get; }
Public Static ReadOnly Property Medical As string
Value
string string

The JSON entry name that represents areas of land that are used for medical purposes (For example: a hospital campus).

MedicalBuilding MedicalBuilding MedicalBuilding MedicalBuilding

Gets the JSON entry name that represents buildings that are used for medical purposes (For example: a hospital).

public : static Platform::String MedicalBuilding { get; }
static winrt::hstring MedicalBuilding();
public static string MedicalBuilding { get; }
Public Static ReadOnly Property MedicalBuilding As string
Value
string string

The JSON entry name that represents buildings that are used for medical purposes (For example: a hospital).

Military Military Military Military

Gets the JSON entry name that represents areas of military bases.

public : static Platform::String Military { get; }
static winrt::hstring Military();
public static string Military { get; }
Public Static ReadOnly Property Military As string
Value
string string

The JSON entry name that represents areas of military bases.

NaturalPoint NaturalPoint NaturalPoint NaturalPoint

Gets the JSON entry name for icons that represent natural landmarks such as a volcano peak or waterfall.

public : static Platform::String NaturalPoint { get; }
static winrt::hstring NaturalPoint();
public static string NaturalPoint { get; }
Public Static ReadOnly Property NaturalPoint As string
Value
string string

The JSON entry name for icons that represent natural landmarks such as a volcano peak or waterfall.

Nautical Nautical Nautical Nautical

Gets the JSON entry name that represents areas of land that are used for nautical purposes.

public : static Platform::String Nautical { get; }
static winrt::hstring Nautical();
public static string Nautical { get; }
Public Static ReadOnly Property Nautical As string
Value
string string

The JSON entry name that represents areas of land that are used for nautical purposes.

Neighborhood Neighborhood Neighborhood Neighborhood

Gets the JSON entry name that represents labels in areas defined as neighborhoods.

public : static Platform::String Neighborhood { get; }
static winrt::hstring Neighborhood();
public static string Neighborhood { get; }
Public Static ReadOnly Property Neighborhood As string
Value
string string

The JSON entry name that represents labels in areas defined as neighborhoods.

Park Park Park Park

Gets the JSON entry name that represents park areas.

public : static Platform::String Park { get; }
static winrt::hstring Park();
public static string Park { get; }
Public Static ReadOnly Property Park As string
Value
string string

The JSON entry name that represents park areas.

Peak Peak Peak Peak

Gets the JSON entry name for icons that represent mountain peaks.

public : static Platform::String Peak { get; }
static winrt::hstring Peak();
public static string Peak { get; }
Public Static ReadOnly Property Peak As string
Value
string string

The JSON entry name for icons that represent mountain peaks.

PlayingField PlayingField PlayingField PlayingField

Gets the JSON entry name that represents extracted pitches such as a baseball field or tennis court.

public : static Platform::String PlayingField { get; }
static winrt::hstring PlayingField();
public static string PlayingField { get; }
Public Static ReadOnly Property PlayingField As string
Value
string string

The JSON entry name that represents extracted pitches such as a baseball field or tennis court.

Point Point Point Point

Gets the JSON entry name that represents all point features that are rendered with an icon of some sort.

public : static Platform::String Point { get; }
static winrt::hstring Point();
public static string Point { get; }
Public Static ReadOnly Property Point As string
Value
string string

The JSON entry name that represents all point features that are rendered with an icon of some sort.

PointOfInterest PointOfInterest PointOfInterest PointOfInterest

Gets the JSON entry name that represents restaurants, hospitals, schools, marinas, ski areas, etc.

public : static Platform::String PointOfInterest { get; }
static winrt::hstring PointOfInterest();
public static string PointOfInterest { get; }
Public Static ReadOnly Property PointOfInterest As string
Value
string string

The JSON entry name that represents restaurants, hospitals, schools, marinas, ski areas, etc.

Political Political Political Political

Gets the JSON entry name for political regions such as countries, regions and states.

public : static Platform::String Political { get; }
static winrt::hstring Political();
public static string Political { get; }
Public Static ReadOnly Property Political As string
Value
string string

The JSON entry name for political regions such as countries, regions and states.

PopulatedPlace PopulatedPlace PopulatedPlace PopulatedPlace

Gets the JSON entry name for icons that represent the size of populated place (For example: a city or town).

public : static Platform::String PopulatedPlace { get; }
static winrt::hstring PopulatedPlace();
public static string PopulatedPlace { get; }
Public Static ReadOnly Property PopulatedPlace As string
Value
string string

The JSON entry name for icons that represent the size of populated place (For example: a city or town).

Railway Railway Railway Railway

Gets the JSON entry name that represents railway lines.

public : static Platform::String Railway { get; }
static winrt::hstring Railway();
public static string Railway { get; }
Public Static ReadOnly Property Railway As string
Value
string string

The JSON entry name that represents railway lines.

Ramp Ramp Ramp Ramp

Gets the JSON entry name that represents lines that represent the entrance and exit of a highway.

public : static Platform::String Ramp { get; }
static winrt::hstring Ramp();
public static string Ramp { get; }
Public Static ReadOnly Property Ramp As string
Value
string string

The JSON entry name that represents lines that represent the entrance and exit of a highway.

Reserve Reserve Reserve Reserve

Gets the JSON entry name that represents areas of nature reserves.

public : static Platform::String Reserve { get; }
static winrt::hstring Reserve();
public static string Reserve { get; }
Public Static ReadOnly Property Reserve As string
Value
string string

The JSON entry name that represents areas of nature reserves.

River River River River

Gets the JSON entry name that represents rivers, streams, or other water passages.

public : static Platform::String River { get; }
static winrt::hstring River();
public static string River { get; }
Public Static ReadOnly Property River As string
Value
string string

the JSON entry name that represents rivers, streams, or other water passages.

Remarks

This might be a line or polygon and might connect to non-river water bodies.

Road Road Road Road

Gets the JSON entry name for lines that represent all roads.

public : static Platform::String Road { get; }
static winrt::hstring Road();
public static string Road { get; }
Public Static ReadOnly Property Road As string
Value
string string

The JSON entry name for lines that represent all roads.

RoadExit RoadExit RoadExit RoadExit

Gets the JSON entry name for icons that represent exits, typically from a controlled access highway.

public : static Platform::String RoadExit { get; }
static winrt::hstring RoadExit();
public static string RoadExit { get; }
Public Static ReadOnly Property RoadExit As string
Value
string string

The JSON entry name for icons that represent exits, typically from a controlled access highway.

RoadShield RoadShield RoadShield RoadShield

Gets the JSON entry name for signs that represent the compact name for a road. (For example: I-5).

public : static Platform::String RoadShield { get; }
static winrt::hstring RoadShield();
public static string RoadShield { get; }
Public Static ReadOnly Property RoadShield As string
Value
string string

The JSON entry name for signs that represent the compact name for a road. (For example: I-5).

RouteLine RouteLine RouteLine RouteLine

Gets the JSON entry name that represents the styling for all route lines.

public : static Platform::String RouteLine { get; }
static winrt::hstring RouteLine();
public static string RouteLine { get; }
Public Static ReadOnly Property RouteLine As string
Value
string string

The JSON entry name that represents the styling for all route lines.

Runway Runway Runway Runway

Gets the JSON entry name that represents land areas that are covered by a runway.

public : static Platform::String Runway { get; }
static winrt::hstring Runway();
public static string Runway { get; }
Public Static ReadOnly Property Runway As string
Value
string string

The JSON entry name that represents land areas that are covered by a runway.

Sand Sand Sand Sand

Gets the JSON entry name that represents sandy areas like beaches.

public : static Platform::String Sand { get; }
static winrt::hstring Sand();
public static string Sand { get; }
Public Static ReadOnly Property Sand As string
Value
string string

The JSON entry name that represents sandy areas like beaches.

ShoppingCenter ShoppingCenter ShoppingCenter ShoppingCenter

Gets the JSON entry name that represents areas of ground allocated for malls or other shopping centers.

public : static Platform::String ShoppingCenter { get; }
static winrt::hstring ShoppingCenter();
public static string ShoppingCenter { get; }
Public Static ReadOnly Property ShoppingCenter As string
Value
string string

The JSON entry name that represents areas of ground allocated for malls or other shopping centers.

Stadium Stadium Stadium Stadium

Gets the JSON entry name that represents area of a stadium.

public : static Platform::String Stadium { get; }
static winrt::hstring Stadium();
public static string Stadium { get; }
Public Static ReadOnly Property Stadium As string
Value
string string

The JSON entry name that represents area of a stadium.

Street Street Street Street

Gets the JSON entry name for lines that represent streets.

public : static Platform::String Street { get; }
static winrt::hstring Street();
public static string Street { get; }
Public Static ReadOnly Property Street As string
Value
string string

The JSON entry name for lines that represent streets.

Structure Structure Structure Structure

Gets the JSON entry name that represents building and other building-like structures.

public : static Platform::String Structure { get; }
static winrt::hstring Structure();
public static string Structure { get; }
Public Static ReadOnly Property Structure As string
Value
string string

The JSON entry name that represents building and other building-like structures.

TollRoad TollRoad TollRoad TollRoad

Gets the JSON entry name that represents roads that cost money to use.

public : static Platform::String TollRoad { get; }
static winrt::hstring TollRoad();
public static string TollRoad { get; }
Public Static ReadOnly Property TollRoad As string
Value
string string

The JSON entry name that represents roads that cost money to use.

Trail Trail Trail Trail

Gets the JSON entry name that represents walking trails through parks or hiking trails.

public : static Platform::String Trail { get; }
static winrt::hstring Trail();
public static string Trail { get; }
Public Static ReadOnly Property Trail As string
Value
string string

The JSON entry name that represents walking trails through parks or hiking trails.

Transit Transit Transit Transit

Gets the JSON entry name for icons that represent bus stops, train stops, airports, etc.

public : static Platform::String Transit { get; }
static winrt::hstring Transit();
public static string Transit { get; }
Public Static ReadOnly Property Transit As string
Value
string string

The JSON entry name for icons that represent bus stops, train stops, airports, etc.

TransitBuilding TransitBuilding TransitBuilding TransitBuilding

Gets the JSON entry name that represents a transit building such as a bus station.

public : static Platform::String TransitBuilding { get; }
static winrt::hstring TransitBuilding();
public static string TransitBuilding { get; }
Public Static ReadOnly Property TransitBuilding As string
Value
string string

The JSON entry name that represents a transit building such as a bus station.

Transportation Transportation Transportation Transportation

Gets the JSON entry name that represents lines that are part of the transportation network (For example: roads, trains, and ferries).

public : static Platform::String Transportation { get; }
static winrt::hstring Transportation();
public static string Transportation { get; }
Public Static ReadOnly Property Transportation As string
Value
string string

The JSON entry name that represents lines that are part of the transportation network (For example: roads, trains, and ferries).

UnpavedStreet UnpavedStreet UnpavedStreet UnpavedStreet

Gets the JSON entry name for lines that represent unpaved streets.

public : static Platform::String UnpavedStreet { get; }
static winrt::hstring UnpavedStreet();
public static string UnpavedStreet { get; }
Public Static ReadOnly Property UnpavedStreet As string
Value
string string

The JSON entry name for lines that represent unpaved streets.

Vegetation Vegetation Vegetation Vegetation

Gets the JSON entry name that represents forests, grassy areas, etc.

public : static Platform::String Vegetation { get; }
static winrt::hstring Vegetation();
public static string Vegetation { get; }
Public Static ReadOnly Property Vegetation As string
Value
string string

The JSON entry name that represents forests, grassy areas, etc.

VolcanicPeak VolcanicPeak VolcanicPeak VolcanicPeak

Gets the JSON entry name for icons that represent volcano peaks.

public : static Platform::String VolcanicPeak { get; }
static winrt::hstring VolcanicPeak();
public static string VolcanicPeak { get; }
Public Static ReadOnly Property VolcanicPeak As string
Value
string string

The JSON entry name for icons that represent volcano peaks.

WalkingRoute WalkingRoute WalkingRoute WalkingRoute

Gets the JSON entry name that represents a walking route.

public : static Platform::String WalkingRoute { get; }
static winrt::hstring WalkingRoute();
public static string WalkingRoute { get; }
Public Static ReadOnly Property WalkingRoute As string
Value
string string

The JSON entry name that represents a walking route.

Water Water Water Water

Gets the JSON entry name that represents anything that looks like water. This includes oceans and streams.

public : static Platform::String Water { get; }
static winrt::hstring Water();
public static string Water { get; }
Public Static ReadOnly Property Water As string
Value
string string

The JSON entry name that represents anything that looks like water. This includes oceans and streams.

WaterPoint WaterPoint WaterPoint WaterPoint

Gets the JSON entry name for icons that represent water feature locations such as a waterfall.

public : static Platform::String WaterPoint { get; }
static winrt::hstring WaterPoint();
public static string WaterPoint { get; }
Public Static ReadOnly Property WaterPoint As string
Value
string string

The JSON entry name for icons that represent water feature locations such as a waterfall.

WaterRoute WaterRoute WaterRoute WaterRoute

Gets the JSON entry name that represents ferry route lines.

public : static Platform::String WaterRoute { get; }
static winrt::hstring WaterRoute();
public static string WaterRoute { get; }
Public Static ReadOnly Property WaterRoute As string
Value
string string

The JSON entry name that represents ferry route lines.