Style specification
Style IDs
| ID | Look |
|---|---|
streets, streets-dawn, streets-dusk, streets-night | Base map in four light moods |
satellite, satellite-streets | Orthophoto, optionally with roads and labels |
outdoors | Contours, hillshade, trails |
traffic-day | Base map with the traffic layer |
Styles are MapLibre style documents (version 8) at https://api.mapx.at/v1/styles/{id}. Their metadata keys are mapx:style and mapx:api_style. See the Styles API.
Layers of streets
Every layer of streets with its fields. For fields with a closed list, all values are listed. Layer names end in _a (polygon), _l (line) or _p (point).
Common fields: min_zoom is the first zoom level at which a feature is intended to be shown (use it in filters for an even density); sort_rank orders features within a layer (smaller = more important or drawn first).
Land use and buildings
landuse_a
Land use and land cover (polygons).
| Field | Type | Description | ||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
kind | string | Land-use class.
| ||||||||||||||||||||||||||||||||||
kind_detail | string | Finer subdivision; set for some land-use classes only.
| ||||||||||||||||||||||||||||||||||
min_zoom | number | Zoom level from which the feature is shown. | ||||||||||||||||||||||||||||||||||
sort_rank | number | Drawing order of the areas (1 = bottom, 10 = top). |
building_a
Building footprints.
| Field | Type | Description | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
height | number | Building height in metres. | ||||||||||||||||||||||||||||
kind | string | Building type; ordinary buildings are plain, notable buildings are marked separately.
| ||||||||||||||||||||||||||||
max_height | number | Maximum height of the building in metres. | ||||||||||||||||||||||||||||
min_zoom | number | Zoom level from which the feature is shown. |
ski_a
Ski areas (polygons).
| Field | Type | Description | ||||
|---|---|---|---|---|---|---|
kind | string | Type of area.
| ||||
min_zoom | number | Zoom level from which the feature is shown. |
Transport
road_l
Roads and paths (lines).
| Field | Type | Description | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
kind | string | Road class.
| ||||||||||||||||||||||||||||||
kind_detail | string | Detailed road type.
| ||||||||||||||||||||||||||||||
min_zoom | number | Zoom level from which the feature is shown. | ||||||||||||||||||||||||||||||
name | string | Name of the feature. | ||||||||||||||||||||||||||||||
oneway | boolean | true for one-way roads (in digitised direction). | ||||||||||||||||||||||||||||||
ref | string | Road number, e.g. A1 or B3. | ||||||||||||||||||||||||||||||
sort_rank | number | Display rank; lower number = more important or drawn further below. | ||||||||||||||||||||||||||||||
structure | string | Structure type: bridge or tunnel. Absent for at-grade segments.
|
rail_l
Railways and ferry lines (lines).
| Field | Type | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
construction | boolean | true if the line is still under construction. | ||||||||||||||||
kind | string | Rail type.
| ||||||||||||||||
kind_detail | string | Importance of the line (standard-gauge, narrow-gauge and rack railways).
| ||||||||||||||||
min_zoom | number | Zoom level from which the feature is shown. | ||||||||||||||||
structure | string | Structure type: bridge or tunnel. Absent for at-grade segments.
|
aerialway_l
Cable cars and lifts (lines).
| Field | Type | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
kind | string | Type of installation.
| ||||||||||||||||
min_zoom | number | Zoom level from which the feature is shown. | ||||||||||||||||
name | string | Name of the feature. |
transit_p
Railway stations, stops and cable-car stations.
| Field | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
kind | string | Type of station.
| ||||||||
min_zoom | number | Zoom level from which the feature is shown. | ||||||||
name | string | Name of the feature. |
airport_p
Airports, airfields and heliports.
| Field | Type | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
iata | string | IATA code (3 letters), if available. | ||||||||||
icao | string | ICAO code (4 letters), if available. | ||||||||||
kind | string | Type of aerodrome.
| ||||||||||
min_zoom | number | Zoom level from which the feature is shown. | ||||||||||
name | string | Name of the feature. |
Water
water_a
Standing water bodies (polygons).
| Field | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
area_km2 | number | Area in square kilometres. | ||||||||
kind | string | Type of water body.
| ||||||||
min_zoom | number | Zoom level from which the feature is shown. | ||||||||
name | string | Name of the feature. | ||||||||
sort_rank | number | Display rank; lower number = more important or drawn further below. |
water_l
Watercourses (lines).
| Field | Type | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
catchment_km2 | number | Catchment area in square kilometres. | ||||||||||
kind | string | Type of watercourse.
| ||||||||||
min_zoom | number | Zoom level from which the feature is shown. | ||||||||||
name | string | Name of the feature. | ||||||||||
sort_rank | number | Display rank; lower number = more important or drawn further below. | ||||||||||
structure | string | Structure type: culverted or underground section. Absent for open sections.
|
water_label_p
Label points for lakes and ponds.
| Field | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
kind | string | Type of water body.
| ||||||||
min_zoom | number | Zoom level from which the feature is shown. | ||||||||
name | string | Name of the feature. | ||||||||
sort_rank | number | Display rank; lower number = more important or drawn further below. |
water_label_l
Label lines for rivers and canals.
| Field | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
kind | string | Type of watercourse.
| ||||||
min_zoom | number | Zoom level from which the feature is shown. | ||||||
name | string | Name of the feature. | ||||||
sort_rank | number | Display rank; lower number = more important or drawn further below. |
Boundaries
boundary_l
Administrative boundaries (lines).
| Field | Type | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
admin_level | number | Administrative level of the boundary (2 country, 4 state, 6 district, 8 municipality).
| ||||||||||
kind | string | Type of boundary.
| ||||||||||
left | string | Name of the administrative unit on the left of the line (not set for country borders). | ||||||||||
min_zoom | number | Zoom level from which the feature is shown. | ||||||||||
right | string | Name of the administrative unit on the right of the line (for country borders the adjoining area). |
boundary_label_p
Label points for states, districts and municipalities.
| Field | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
admin_level | number | Administrative level.
| ||||||||
code | string | Official code of the unit. | ||||||||
kind | string | Type of administrative unit.
| ||||||||
min_zoom | number | Zoom level from which the feature is shown. | ||||||||
name | string | Name of the feature. |
Places and names
place_p
Places and settlements.
| Field | Type | Description | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
capital | string | Capital role of the place; only set where applicable.
| ||||||||||||||
kind | string | Place category.
| ||||||||||||||
min_zoom | number | Zoom level from which the feature is shown. | ||||||||||||||
name | string | Name of the feature. | ||||||||||||||
name_alt | string | Alternative name, if available. | ||||||||||||||
sort_rank | number | Display rank; lower number = more important or drawn further below. |
natural_p
Terrain names, peaks, passes, glaciers and named castles, palaces and small monuments.
| Field | Type | Description | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ele | number | Elevation in metres. | ||||||||||||||||||||||||||||||||
kind | string | Type of feature.
| ||||||||||||||||||||||||||||||||
kind_detail | string | Additional display information.
| ||||||||||||||||||||||||||||||||
min_zoom | number | Zoom level from which the feature is shown. | ||||||||||||||||||||||||||||||||
name | string | Name of the feature. | ||||||||||||||||||||||||||||||||
sort_rank | number | Display rank; lower number = more important or drawn further below. |
poi_p
Facilities and points of interest (points).
| Field | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ele | number | Elevation in metres. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
kind | string | Type of facility.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
kind_detail | string | Finer subdivision; only set for some facility types.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
min_zoom | number | Zoom level from which the feature is shown. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
name | string | Name of the feature. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sort_rank | number | Display rank; lower number = more important or drawn further below. |
housenumber_p
House numbers.
| Field | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
housenumber | string | House number. | ||||||
kind | string | Object the number refers to.
| ||||||
street | string | Street name. |