Jaa


MapStyleSheetEntries Class

Definition

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

public ref class MapStyleSheetEntries abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MapStyleSheetEntries final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class MapStyleSheetEntries
Public Class MapStyleSheetEntries
Inheritance
Object Platform::Object IInspectable MapStyleSheetEntries
Attributes

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

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

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

AdminDistrictCapital

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

Airport

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

Area

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

ArterialRoad

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

Building

Gets the JSON entry name that represents a building.

Business

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

Capital

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

Cemetery

Gets the JSON entry name that represents areas of cemeteries.

Continent

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

ControlledAccessHighway

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

CountryRegion

Gets the JSON entry name that represents a country.

CountryRegionCapital

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

District

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

DrivingRoute

Gets the JSON entry name that represents a driving route.

Education

Gets the JSON entry name that represents areas of schools.

EducationBuilding

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

FoodPoint

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

Forest

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

GolfCourse

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

HighSpeedRamp

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

Highway

Gets the JSON entry name for lines that represent highways.

IndigenousPeoplesReserve

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

Island

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

MajorRoad

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

Medical

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

MedicalBuilding

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

Military

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

NaturalPoint

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

Nautical

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

Neighborhood

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

Park

Gets the JSON entry name that represents park areas.

Peak

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

PlayingField

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

Point

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

PointOfInterest

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

Political

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

PopulatedPlace

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

Railway

Gets the JSON entry name that represents railway lines.

Ramp

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

Reserve

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

River

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

Road

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

RoadExit

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

RoadShield

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

RouteLine

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

Runway

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

Sand

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

ShoppingCenter

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

Stadium

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

Street

Gets the JSON entry name for lines that represent streets.

Structure

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

TollRoad

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

Trail

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

Transit

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

TransitBuilding

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

Transportation

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

UnpavedStreet

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

Vegetation

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

VolcanicPeak

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

WalkingRoute

Gets the JSON entry name that represents a walking route.

Water

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

WaterPoint

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

WaterRoute

Gets the JSON entry name that represents ferry route lines.

Applies to