目录

Style Reference

The JSON file defines the map style using four elements:

mapFeature

Tables below describe map elements that can be modified.

The options for icon-type include standard, night, and simple.

[h2]all

Feature Type

all

Element Type

All

Geometry.icon.icon-type

[h2]administrative

Feature Type

administrative

country

province

capital

major-city

district

locality

Element Type

Country

Province

Capital

Level 1-4 city

District/County

Rural area and town

Geometry.stroke.color

-

-

-

-

Labels.text.fill.color

Labels.text.stroke.color

[h2]landcover

Feature Type

landcover

natural

human-made

parkland

attraction

hospital

college

business

Element Type

Land, island, beach, and glacier

Habitation area, community, industrial area, and prison

Building

Forest, park, wasteland, and golf course

Playground, zoo, and botanical garden

Hospital

School

Shopping center and business district

Geometry.fill.color

Labels.text.fill.color

-

-

Labels.text.stroke.color

-

-

[h2]poi

Feature Type

poi

shopping

tourism

leisure

eating&drinking

beauty

lodging

Element Type

Shopping center and market

Tourist attraction, historical relic, and church

Entertainment

Catering and fast food

Beauty center

Hotel

Labels.text.fill.color

Labels.text.stroke.color

Feature Type

poi

health-care

public-service

business

automotive

sports

natural

Element Type

Hospital, clinic, and pharmacy

School, government, and police station

Company and business building

Auto repair, charging pile, and car washing

Outdoor sports, mountain climbing, and cycling

Bowling and swimming

Mountain and forest

Labels.text.fill.color

Labels.text.stroke.color

[h2]road

Feature Type

road

highway

national

province

city-arterial

minor-road

sidewalk

Element Type

National highway

Urban highway

National road

Provincial road

Urban artery

Urban branch road

Sidewalk

Geometry.fill.color

Geometry.stroke.color

Labels.text.fill.color

Labels.text.stroke.color

[h2]transit

Feature Type

transit

railway

rail-station

ferry-line

ferry-terminal

airport

bus-station

other

Element Type

Railway line and high-speed railway line

Railway station and high-speed railway station

Air route

Port

Airport

Bus station

Taxi area, entrance, and exit

Geometry.fill.color

-

-

-

-

Geometry.stroke.color

-

-

-

-

-

Labels.text.fill.color

-

-

-

-

Labels.text.stroke.color

-

-

-

-

[h2]water

Feature Type

water

Element Type

Water system, ocean, lake, and river

Geometry.fill.color

Labels.text.fill.color