Skip to content

Instantly share code, notes, and snippets.

@AliceTheGitHubber
Created May 23, 2022 14:35
Show Gist options
  • Save AliceTheGitHubber/e248439f007d5a26fc27993ab7f0420d to your computer and use it in GitHub Desktop.
Save AliceTheGitHubber/e248439f007d5a26fc27993ab7f0420d to your computer and use it in GitHub Desktop.
{
"version": 8,
"name": "wemap-v2-fr",
"metadata": {"maputnik:renderer": "mbgljs"},
"sources": {
"composite": {
"url": "https://vector.getwemap.com/data/osm2vectortiles.json",
"type": "vector"
},
"Issy-cite-sport": {
"type": "geojson",
"data": "https://gist.githubusercontent.com/AliceTheGitHubber/7ab1090427aa353d1ae5460b7dd065d5/raw/fe784366dc0e788ddcd1b2ac2e0cf2df030c49d3/Issy-cite-des-sports-2022.geojson"
}
},
"sprite": "https://vector.getwemap.com/styles/wemap-v1-fr/sprite",
"glyphs": "https://vector.getwemap.com/fonts/{fontstack}/{range}.pbf",
"layers": [
{
"id": "background",
"type": "background",
"paint": {"background-color": "rgba(255, 255, 255, 1)"}
},
{
"id": "landuse_cemetery",
"type": "fill",
"source": "composite",
"source-layer": "landuse",
"filter": ["==", "class", "cemetery"],
"paint": {"fill-color": "rgba(251, 241, 236, 1)"}
},
{
"id": "landuse_hospital",
"type": "fill",
"source": "composite",
"source-layer": "landuse",
"filter": ["==", "class", "hospital"],
"paint": {"fill-color": "rgba(255, 245, 255, 1)"}
},
{
"id": "landuse_overlay_national_park",
"type": "fill",
"source": "composite",
"source-layer": "landuse_overlay",
"filter": ["==", "class", "national_park"],
"layout": {"visibility": "visible"},
"paint": {"fill-opacity": 0.3, "fill-color": "rgba(70, 191, 84, 1)"}
},
{
"id": "landuse_park",
"type": "fill",
"source": "composite",
"source-layer": "landuse",
"filter": ["==", "class", "park"],
"layout": {"visibility": "visible"},
"paint": {"fill-color": "rgba(132, 226, 156, 1)", "fill-opacity": 0.2}
},
{
"id": "landuse_sand",
"type": "fill",
"source": "composite",
"source-layer": "landuse",
"filter": ["==", "class", "sand"],
"paint": {
"fill-opacity": 0.1,
"fill-translate": [0, 0],
"fill-color": "yellow"
}
},
{
"id": "landuse_school",
"type": "fill",
"source": "composite",
"source-layer": "landuse",
"filter": ["==", "class", "school"],
"paint": {"fill-color": "rgba(247, 247, 247, 1)"}
},
{
"id": "water",
"type": "fill",
"source": "composite",
"source-layer": "water",
"paint": {"fill-color": "#60C6F2"}
},
{
"id": "landuse_wood",
"type": "fill",
"source": "composite",
"source-layer": "landuse",
"filter": ["==", "class", "wood"],
"layout": {"visibility": "visible"},
"paint": {"fill-opacity": 0.2, "fill-color": "rgba(54, 183, 69, 1)"}
},
{
"id": "waterway",
"type": "line",
"source": "composite",
"source-layer": "waterway",
"filter": [
"all",
["!=", "class", "canal"],
["!=", "class", "river"],
["!=", "class", "stream"]
],
"layout": {"line-cap": "round"},
"paint": {
"line-width": {"base": 1.3, "stops": [[13, 0.5], [20, 2]]},
"line-color": "#60C6F2"
}
},
{
"id": "waterway_river",
"type": "line",
"source": "composite",
"source-layer": "waterway",
"filter": ["==", "class", "river"],
"layout": {"line-cap": "round"},
"paint": {
"line-width": {"base": 1.2, "stops": [[11, 0.5], [20, 6]]},
"line-color": "#60C6F2"
}
},
{
"id": "waterway_stream_canal",
"type": "line",
"source": "composite",
"source-layer": "waterway",
"filter": ["in", "class", "canal", "stream"],
"layout": {"line-cap": "round"},
"paint": {
"line-width": {"base": 1.3, "stops": [[13, 0.5], [20, 6]]},
"line-color": "#60C6F2"
}
},
{
"id": "admin_level_3",
"type": "line",
"source": "composite",
"source-layer": "admin",
"minzoom": 5,
"filter": ["all", ["==", "maritime", 0], [">=", "admin_level", 3]],
"layout": {"line-join": "round"},
"paint": {
"line-dasharray": [2, 1],
"line-width": {"base": 1, "stops": [[5, 0.5], [12, 1.5]]},
"line-color": "hsl(0, 0%, 67%)"
}
},
{
"id": "admin_level_2",
"type": "line",
"source": "composite",
"source-layer": "admin",
"minzoom": 0,
"filter": [
"all",
["==", "admin_level", 2],
["==", "disputed", 0],
["==", "maritime", 0]
],
"layout": {
"line-join": "round",
"line-cap": "round",
"visibility": "none"
},
"paint": {
"line-width": {"base": 1, "stops": [[4, 0.7], [5, 1], [12, 4]]},
"line-color": "hsl(0, 0%, 75%)"
}
},
{
"id": "admin_level_2_disputed",
"type": "line",
"source": "composite",
"source-layer": "admin",
"minzoom": 2,
"filter": [
"all",
["==", "admin_level", 2],
["==", "disputed", 1],
["==", "maritime", 0]
],
"layout": {"line-cap": "round"},
"paint": {
"line-width": {"base": 1, "stops": [[4, 0.7], [5, 1], [12, 4]]},
"line-dasharray": [2, 2],
"line-color": "hsl(0, 0%, 75%)"
}
},
{
"id": "admin_level_3_maritime",
"type": "line",
"source": "composite",
"source-layer": "admin",
"minzoom": 5,
"filter": ["all", ["==", "maritime", 1], [">=", "admin_level", 3]],
"layout": {"line-join": "round", "visibility": "visible"},
"paint": {
"line-opacity": 0.5,
"line-dasharray": [3, 1, 1, 1],
"line-width": {"base": 1, "stops": [[4, 0.4], [5, 1], [12, 3]]},
"line-color": "#a0c8f0"
}
},
{
"id": "admin_level_2_maritime",
"type": "line",
"source": "composite",
"source-layer": "admin",
"minzoom": 2,
"filter": ["all", ["==", "admin_level", 2], ["==", "maritime", 1]],
"layout": {"line-cap": "round", "visibility": "none"},
"paint": {
"line-opacity": 0.5,
"line-width": {"base": 1, "stops": [[4, 1.4], [5, 2], [12, 8]]},
"line-color": "#a0c8f0"
}
},
{
"id": "road_major_rail_hatching",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 8,
"filter": [
"all",
["!in", "structure", "bridge", "tunnel"],
["==", "class", "major_rail"]
],
"paint": {
"line-dasharray": [0.2, 8],
"line-width": {"base": 1.4, "stops": [[14.5, 0], [15, 3], [20, 8]]},
"line-color": "rgba(230, 230, 230, 1)"
}
},
{
"id": "road_major_rail",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 8,
"filter": [
"all",
["!in", "structure", "bridge", "tunnel"],
["==", "class", "major_rail"]
],
"paint": {
"line-width": {"base": 1.4, "stops": [[0, 0.4], [15, 0.75], [20, 2]]},
"line-color": "rgba(230, 230, 230, 1)"
}
},
{
"id": "road_motorway_trunk_primary_casing",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 10,
"filter": [
"all",
["!in", "structure", "bridge", "tunnel"],
["in", "class", "motorway", "primary", "trunk"]
],
"layout": {"line-cap": "butt", "line-join": "miter"},
"paint": {
"line-width": {"base": 1.2, "stops": [[7, 1.5], [20, 22]]},
"line-color": "rgba(230, 230, 230, 1)"
}
},
{
"id": "road_secondary_tertiary_casing",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 8,
"filter": [
"all",
["!in", "structure", "bridge", "tunnel"],
["in", "class", "secondary", "tertiary"]
],
"layout": {
"line-cap": "butt",
"line-join": "miter",
"visibility": "visible"
},
"paint": {
"line-width": {"base": 1.2, "stops": [[8, 1.5], [20, 17]]},
"line-opacity": 1,
"line-color": "rgba(230, 230, 230, 1)"
}
},
{
"id": "road_link_motorway_link_casing",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
["!in", "structure", "bridge", "tunnel"],
["in", "class", "link", "motorway_link"]
],
"layout": {
"line-cap": "butt",
"line-join": "miter",
"visibility": "visible"
},
"paint": {
"line-width": {"base": 1.2, "stops": [[13, 3], [14, 4], [20, 15]]},
"line-opacity": 1,
"line-color": "rgba(230, 230, 230, 1)"
}
},
{
"id": "road_street_path_pedestrian_casing",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 12,
"filter": [
"all",
["==", "$type", "LineString"],
[
"all",
["!in", "structure", "bridge", "tunnel"],
["!in", "type", "footway", "steps"],
["in", "class", "street", "street_limited", "path", "pedestrian"]
]
],
"layout": {"line-cap": "round", "line-join": "round"},
"paint": {
"line-width": {
"base": 1.2,
"stops": [[12, 0.5], [13, 1], [14, 4], [20, 15]]
},
"line-opacity": {"stops": [[12, 0], [12.5, 1]]},
"line-color": "rgba(230, 230, 230, 1)"
}
},
{
"id": "road_service_track_construction_footway_casing",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
["!in", "structure", "bridge", "tunnel"],
["!in", "type", "construction:motorway"],
[
"any",
["in", "type", "footway", "steps"],
[
"in",
"class",
"service",
"track",
"construction",
"path",
"pedestrian"
]
]
],
"layout": {"line-cap": "round", "line-join": "round"},
"paint": {
"line-width": {"base": 1.2, "stops": [[15, 1], [16, 4], [20, 11]]},
"line-color": "rgba(230, 230, 230, 1)"
}
},
{
"id": "road_motorway_trunk_primary",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 7,
"filter": [
"all",
["!in", "structure", "bridge", "tunnel"],
["in", "class", "motorway", "primary", "trunk"]
],
"layout": {"line-cap": "butt", "line-join": "miter"},
"paint": {
"line-width": {"base": 1.2, "stops": [[7, 0.5], [20, 18]]},
"line-color": "rgba(230, 230, 230, 1)"
}
},
{
"id": "road_secondary_tertiary",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 10,
"filter": [
"all",
["!in", "structure", "bridge", "tunnel"],
["in", "class", "secondary", "tertiary"]
],
"layout": {
"line-cap": "butt",
"line-join": "miter",
"visibility": "visible"
},
"paint": {
"line-width": {"base": 1.2, "stops": [[8, 0.5], [20, 13]]},
"line-color": "rgba(230, 230, 230, 1)"
}
},
{
"id": "road_link_motorway_link",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
["!in", "structure", "bridge", "tunnel"],
["in", "class", "link", "motorway_link"]
],
"layout": {
"line-cap": "butt",
"line-join": "miter",
"visibility": "visible"
},
"paint": {
"line-width": {
"base": 1.2,
"stops": [[13, 1.5], [14, 2.5], [20, 11.5]]
},
"line-color": "rgba(230, 230, 230, 1)"
}
},
{
"id": "road_street_path_pedestrian",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 12,
"filter": [
"all",
["==", "$type", "LineString"],
[
"all",
["!in", "structure", "bridge", "tunnel"],
["!in", "type", "footway", "steps"],
["in", "class", "street", "street_limited", "path", "pedestrian"]
]
],
"layout": {"line-cap": "round", "line-join": "round"},
"paint": {
"line-width": {
"base": 1.2,
"stops": [[13.5, 0], [14, 2.5], [20, 11.5]]
},
"line-opacity": {"stops": [[13, 0], [13.5, 1]]},
"line-color": "rgba(230, 230, 230, 1)"
}
},
{
"id": "road_service_track_construction_footway",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
["!in", "structure", "bridge", "tunnel"],
["!in", "type", "construction:motorway"],
[
"any",
["in", "type", "footway", "steps"],
[
"in",
"class",
"service",
"track",
"construction",
"path",
"pedestrian"
]
]
],
"layout": {"line-cap": "round", "line-join": "round"},
"paint": {
"line-width": {"base": 1.2, "stops": [[15.5, 0], [16, 2], [20, 7.5]]},
"line-opacity": {"stops": [[15, 0], [15.5, 1]]},
"line-color": "rgba(230, 230, 230, 1)"
}
},
{
"id": "bridge_motorway_trunk_primary_casing",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 7,
"filter": [
"all",
["==", "structure", "bridge"],
["in", "class", "motorway", "primary", "trunk"]
],
"layout": {"line-join": "round"},
"paint": {
"line-width": {"base": 1.2, "stops": [[7, 1.5], [20, 22]]},
"line-color": "rgba(255, 255, 255, 1)"
}
},
{
"id": "bridge_secondary_tertiary_casing",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 8,
"filter": [
"all",
["==", "structure", "bridge"],
["in", "class", "secondary", "tertiary"]
],
"layout": {"line-join": "round"},
"paint": {
"line-width": {"base": 1.2, "stops": [[8, 1.5], [20, 17]]},
"line-opacity": 1,
"line-color": "rgba(255, 255, 255, 1)"
}
},
{
"id": "bridge_link_motorway_link_casing",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 12,
"filter": [
"all",
["in", "class", "link", "motorway_link"],
["==", "structure", "bridge"]
],
"layout": {"line-join": "round"},
"paint": {
"line-width": {
"base": 1.2,
"stops": [[12, 1], [13, 3], [14, 4], [20, 15]]
},
"line-opacity": 1,
"line-color": "rgba(255, 255, 255, 1)"
}
},
{
"id": "bridge_street_path_pedestrian_casing",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
["==", "$type", "LineString"],
[
"all",
["==", "structure", "bridge"],
["!in", "type", "footway", "steps"],
["in", "class", "street", "street_limited", "path", "pedestrian"]
]
],
"layout": {"line-join": "round"},
"paint": {
"line-width": {"base": 1.2, "stops": [[13, 1], [14, 4], [20, 15]]},
"line-color": "rgba(255, 255, 255, 1)"
}
},
{
"id": "bridge_service_track_casing",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 15,
"filter": [
"all",
["==", "structure", "bridge"],
["in", "class", "service", "track"]
],
"layout": {"line-join": "round"},
"paint": {
"line-width": {"base": 1.2, "stops": [[15, 1], [16, 4], [20, 11]]},
"line-color": "rgba(255, 255, 255, 1)"
}
},
{
"id": "bridge_motorway_trunk_primary",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 7,
"filter": [
"all",
["==", "structure", "bridge"],
["in", "class", "motorway", "primary", "trunk"]
],
"layout": {"line-join": "round"},
"paint": {
"line-width": {"base": 1.2, "stops": [[7, 0.5], [20, 18]]},
"line-color": "rgba(255, 255, 255, 1)"
}
},
{
"id": "bridge_secondary_tertiary",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 8,
"filter": [
"all",
["==", "structure", "bridge"],
["in", "class", "secondary", "tertiary"]
],
"layout": {"line-join": "round"},
"paint": {
"line-width": {"base": 1.2, "stops": [[7, 0.5], [20, 10]]},
"line-color": "rgba(255, 255, 255, 1)"
}
},
{
"id": "bridge_link_motorway_link",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 12,
"filter": [
"all",
["in", "class", "link", "motorway_link"],
["==", "structure", "bridge"]
],
"layout": {"line-join": "round"},
"paint": {
"line-width": {
"base": 1.2,
"stops": [[13, 1.5], [14, 2.5], [20, 11.5]]
},
"line-color": "rgba(255, 255, 255, 1)"
}
},
{
"id": "bridge_street_path_pedestrian",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
["==", "$type", "LineString"],
[
"all",
["==", "structure", "bridge"],
["!in", "type", "footway", "steps"],
["in", "class", "street", "street_limited", "path", "pedestrian"]
]
],
"layout": {"line-join": "round"},
"paint": {
"line-width": {
"base": 1.2,
"stops": [[13.5, 0], [14, 2.5], [20, 11.5]]
},
"line-opacity": 1,
"line-color": "rgba(255, 255, 255, 1)"
}
},
{
"id": "bridge_service_track",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 15,
"filter": [
"all",
["==", "structure", "bridge"],
["in", "class", "service", "track"]
],
"layout": {"line-join": "round"},
"paint": {
"line-width": {"base": 1.2, "stops": [[15.5, 0], [16, 2], [20, 7.5]]},
"line-color": "rgba(255, 255, 255, 1)"
}
},
{
"id": "tunnel_minor",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
["==", "$type", "LineString"],
[
"all",
[
"in",
"class",
"motorway_link",
"street",
"street_limited",
"service",
"track",
"pedestrian",
"path",
"link"
],
["==", "structure", "tunnel"]
]
],
"layout": {"line-cap": "butt", "line-join": "miter"},
"paint": {
"line-color": "rgba(255, 255, 255, 1)",
"line-width": {"base": 1.55, "stops": [[14, 2], [15, 4], [20, 30]]},
"line-dasharray": [0.36, 0.18]
}
},
{
"id": "tunnel_major_casing",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
["==", "$type", "LineString"],
[
"all",
[
"in",
"class",
"motorway",
"primary",
"secondary",
"tertiary",
"trunk"
],
["==", "structure", "tunnel"]
]
],
"layout": {"line-cap": "butt", "line-join": "miter"},
"paint": {
"line-color": "rgba(255, 255, 255, 1)",
"line-width": {"base": 1.4, "stops": [[13, 2], [20, 30]]},
"line-dasharray": [0.28, 0.14]
}
},
{
"id": "aeroway_fill",
"type": "fill",
"source": "composite",
"source-layer": "aeroway",
"minzoom": 11,
"filter": ["==", "$type", "Polygon"],
"paint": {"fill-color": "#f0ede9", "fill-opacity": 0.7}
},
{
"id": "aeroway_runway",
"type": "line",
"source": "composite",
"source-layer": "aeroway",
"minzoom": 11,
"filter": [
"all",
["==", "$type", "LineString"],
["==", "type", "runway"]
],
"paint": {
"line-color": "#f0ede9",
"line-width": {"base": 1.2, "stops": [[11, 3], [20, 16]]}
}
},
{
"id": "aeroway_taxiway",
"type": "line",
"source": "composite",
"source-layer": "aeroway",
"minzoom": 11,
"filter": [
"all",
["==", "$type", "LineString"],
["==", "type", "taxiway"]
],
"paint": {
"line-color": "#f0ede9",
"line-width": {"base": 1.2, "stops": [[11, 0.5], [20, 6]]}
}
},
{
"id": "building",
"type": "fill",
"source": "composite",
"source-layer": "building",
"minzoom": 15,
"layout": {"visibility": "none"},
"paint": {
"fill-color": {
"base": 1,
"stops": [
[15.5, "rgba(235, 235, 243, 1)"],
[16, "rgba(203, 203, 222, 1)"]
]
}
}
},
{
"id": "building_top",
"type": "fill",
"source": "composite",
"source-layer": "building",
"minzoom": 15,
"layout": {"visibility": "visible"},
"paint": {
"fill-color": "rgba(226, 226, 226, 1)",
"fill-opacity": {"base": 1, "stops": [[15, 0], [16, 1]]},
"fill-translate": {"stops": [[15, [0, 0]], [16, [-2, -2]]], "base": 1},
"fill-outline-color": "rgba(193, 193, 193, 1)"
}
},
{
"id": "issy-roof",
"type": "fill-extrusion",
"source": "Issy-cite-sport",
"filter": ["all", ["==", "building", "roof"], ["==", "level", "2"]],
"layout": {"visibility": "visible"},
"paint": {
"fill-extrusion-color": "rgba(255, 255, 255, 1)",
"fill-extrusion-height": 2.49,
"fill-extrusion-base": 0
}
},
{
"id": "issy-building-level-2",
"type": "fill-extrusion",
"source": "Issy-cite-sport",
"filter": ["all", ["==", "building", "yes"], ["==", "level", "2"]],
"layout": {"visibility": "visible"},
"paint": {
"fill-extrusion-color": "rgba(224, 224, 224, 1)",
"fill-extrusion-height": 0.5,
"fill-extrusion-base": 0
}
},
{
"id": "issy-terrace-level-2",
"type": "fill-extrusion",
"source": "Issy-cite-sport",
"filter": ["all", ["==", "building", "terrace"], ["==", "level", "2"]],
"layout": {"visibility": "visible"},
"paint": {
"fill-extrusion-color": "rgba(246, 206, 159, 1)",
"fill-extrusion-base": 0.5,
"fill-extrusion-opacity": 1,
"fill-extrusion-height": 0.6
}
},
{
"id": "issy-elevator-level-2",
"type": "fill-extrusion",
"source": "Issy-cite-sport",
"filter": ["all", ["==", "indoor", "elevator"], ["==", "level", "2"]],
"layout": {"visibility": "visible"},
"paint": {
"fill-extrusion-color": "#8F4293",
"fill-extrusion-opacity": 0.4,
"fill-extrusion-height": 0.6
}
},
{
"id": "issy-stairs-level-2",
"type": "fill-extrusion",
"source": "Issy-cite-sport",
"filter": ["all", ["==", "indoor", "stairs"], ["==", "level", "2"]],
"layout": {"visibility": "visible"},
"paint": {
"fill-extrusion-height": 0.65,
"fill-extrusion-color": "#8F4293",
"fill-extrusion-opacity": 0.4
}
},
{
"id": "issy-stairs-roof-level-2",
"type": "fill-extrusion",
"source": "Issy-cite-sport",
"filter": [
"all",
["==", "wemap:stairs-roof", "yes"],
["==", "level", "2"]
],
"layout": {"visibility": "visible"},
"paint": {
"fill-extrusion-color": "#8F4293",
"fill-extrusion-base": 0,
"fill-extrusion-opacity": 0.4,
"fill-extrusion-height": 2.5
}
},
{
"id": "issy-wall-roof-level-2",
"type": "fill-extrusion",
"source": "Issy-cite-sport",
"filter": ["all", ["==", "wemap:wall-roof", "yes"], ["==", "level", "2"]],
"layout": {"visibility": "visible"},
"paint": {
"fill-extrusion-color": "rgba(230, 230, 230, 1)",
"fill-extrusion-base": 0,
"fill-extrusion-height": 2.7
}
},
{
"id": "issy-window-level-2",
"type": "fill-extrusion",
"source": "Issy-cite-sport",
"filter": ["all", ["==", "wemap:window", "yes"], ["==", "level", "2"]],
"layout": {"visibility": "visible"},
"paint": {
"fill-extrusion-color": "#B3C2E1",
"fill-extrusion-base": 0,
"fill-extrusion-height": 2.48,
"fill-extrusion-opacity": 0.6
}
},
{
"id": "issy-wall-red-level-2",
"type": "fill-extrusion",
"source": "Issy-cite-sport",
"filter": ["all", ["==", "wemap:wall", "red"], ["==", "level", "2"]],
"layout": {"visibility": "visible"},
"paint": {
"fill-extrusion-color": "rgba(191, 30, 30, 1)",
"fill-extrusion-base": 0,
"fill-extrusion-height": 2.48,
"fill-extrusion-opacity": 1
}
},
{
"id": "issy-table-top-level-2",
"type": "fill-extrusion",
"source": "Issy-cite-sport",
"filter": ["all", ["==", "wemap:table-top", "yes"], ["==", "level", "2"]],
"layout": {"visibility": "visible"},
"paint": {
"fill-extrusion-color": "rgba(0, 0, 0, 1)",
"fill-extrusion-base": 1.2,
"fill-extrusion-opacity": 1,
"fill-extrusion-height": 1.3
}
},
{
"id": "issy-furniture-level-2",
"type": "fill-extrusion",
"source": "Issy-cite-sport",
"filter": ["all", ["==", "shop", "furniture"], ["==", "level", "2"]],
"layout": {"visibility": "visible"},
"paint": {
"fill-extrusion-color": "rgba(217, 166, 93, 1)",
"fill-extrusion-base": 0,
"fill-extrusion-height": 1.2,
"fill-extrusion-opacity": 1
}
},
{
"id": "issy-cushion-level-2",
"type": "fill-extrusion",
"source": "Issy-cite-sport",
"filter": ["all", ["==", "wemap:cushion", "yes"], ["==", "level", "2"]],
"layout": {"visibility": "visible"},
"paint": {
"fill-extrusion-color": "rgba(0, 0, 0, 1)",
"fill-extrusion-base": 0,
"fill-extrusion-height": 1,
"fill-extrusion-opacity": 1
}
},
{
"id": "issy-table-level-2",
"type": "fill-extrusion",
"source": "Issy-cite-sport",
"filter": ["all", ["==", "indoor", "table"], ["==", "level", "2"]],
"layout": {"visibility": "visible"},
"paint": {
"fill-extrusion-color": "rgba(255, 255, 255, 1)",
"fill-extrusion-base": 0,
"fill-extrusion-height": 1.2,
"fill-extrusion-opacity": 1
}
},
{
"id": "issy-bench-level-2",
"type": "fill-extrusion",
"source": "Issy-cite-sport",
"filter": ["all", ["==", "amenity", "bench"], ["==", "level", "2"]],
"layout": {"visibility": "visible"},
"paint": {
"fill-extrusion-color": "rgba(236, 175, 138, 1)",
"fill-extrusion-base": 0,
"fill-extrusion-height": 1.2,
"fill-extrusion-opacity": 1
}
},
{
"id": "issy-court-squash-level-2",
"type": "fill-extrusion",
"source": "Issy-cite-sport",
"filter": ["all", ["==", "sport", "squash"], ["==", "level", "2"]],
"layout": {"visibility": "visible"},
"paint": {
"fill-extrusion-color": "rgba(236, 175, 138, 1)",
"fill-extrusion-base": 0,
"fill-extrusion-height": 0.55,
"fill-extrusion-opacity": 1
}
},
{
"id": "issy-wall-squash-level-2",
"type": "fill-extrusion",
"source": "Issy-cite-sport",
"filter": ["all", ["==", "wemap:wall", "orange"], ["==", "level", "2"]],
"layout": {"visibility": "visible"},
"paint": {
"fill-extrusion-color": "rgba(236, 175, 138, 1)",
"fill-extrusion-base": 0,
"fill-extrusion-height": 2.48,
"fill-extrusion-opacity": 1
}
},
{
"id": "issy-wall-level-2",
"type": "fill-extrusion",
"source": "Issy-cite-sport",
"filter": ["all", ["==", "indoor", "wall"], ["==", "level", "2"]],
"layout": {"visibility": "visible"},
"paint": {
"fill-extrusion-color": "rgba(230, 230, 230, 1)",
"fill-extrusion-base": 0,
"fill-extrusion-height": 2.48,
"fill-extrusion-opacity": 1
}
},
{
"id": "issy-sport-line",
"type": "fill-extrusion",
"source": "Issy-cite-sport",
"filter": [
"all",
["==", "wemap:sport-line", "yes"],
["==", "level", "2"]
],
"layout": {"visibility": "visible"},
"paint": {
"fill-extrusion-color": "rgba(255, 255, 255, 1)",
"fill-extrusion-height": 0.56
}
},
{
"id": "issy-sport-terrain",
"type": "fill-extrusion",
"source": "Issy-cite-sport",
"filter": [
"all",
["==", "wemap:sport-terrain", "yes"],
["==", "level", "2"]
],
"layout": {"visibility": "visible"},
"paint": {
"fill-extrusion-color": "#839655",
"fill-extrusion-height": 0.55
}
},
{
"id": "issy-sport-grass",
"type": "fill-extrusion",
"source": "Issy-cite-sport",
"filter": ["all", ["==", "landuse", "grass"]],
"layout": {"visibility": "visible"},
"paint": {
"fill-extrusion-color": "rgba(234, 234, 234, 1)",
"fill-extrusion-height": 0.001
}
},
{
"id": "poi_label_1",
"type": "symbol",
"source": "composite",
"source-layer": "poi_label",
"minzoom": 12,
"filter": [
"all",
["==", "$type", "Point"],
["==", "scalerank", 1],
[
"in",
"type",
"College",
"Library",
"School",
"University",
"Bus Station",
"Parking",
"Clinic",
"Hospital",
"Arts Centre",
"Foutain",
"Planetarium",
"Embassy",
"Fire Station",
"Police",
"Townhall",
"Stadium",
"Train Station",
"Public",
"Castle",
"City Gate",
"Monument",
"Garden",
"Park",
"Playground",
"Stadium",
"Sports_centre",
"Obelisk",
"Observatory",
"Tower",
"Tree",
"Peak",
"Volcano",
"Valley",
"Cliff",
"Stone",
"Aquarium",
"Attraction",
"Information",
"Museum",
"Viewpoint",
"Recreation Ground",
"Theatre",
"Garden",
"Swimming Pool",
"Mall",
"Public Building",
"Place Of Worship",
"Bicycle Rental",
"Basin",
"Art",
"Bus Stop",
"Artwork"
]
],
"layout": {
"icon-image": "{maki}-11",
"text-font": ["Open_Sans_Semibold"],
"text-max-width": 9,
"text-padding": 2,
"text-offset": [0, 0.6],
"text-anchor": "top",
"text-size": 12,
"text-field": "{name_fr}"
},
"paint": {
"text-color": "#969595",
"text-halo-color": "#ffffff",
"text-halo-width": 1,
"text-halo-blur": 0.5
}
},
{
"id": "poi_label_2",
"type": "symbol",
"source": "composite",
"source-layer": "poi_label",
"minzoom": 13,
"filter": [
"all",
["==", "$type", "Point"],
["==", "scalerank", 2],
[
"in",
"type",
"College",
"Library",
"School",
"University",
"Bus Station",
"Parking",
"Clinic",
"Hospital",
"Arts Centre",
"Foutain",
"Planetarium",
"Embassy",
"Fire Station",
"Police",
"Townhall",
"Stadium",
"Train Station",
"Public",
"Castle",
"City Gate",
"Monument",
"Garden",
"Park",
"Playground",
"Stadium",
"Sports_centre",
"Obelisk",
"Observatory",
"Tower",
"Tree",
"Peak",
"Volcano",
"Valley",
"Cliff",
"Stone",
"Aquarium",
"Attraction",
"Information",
"Museum",
"Viewpoint",
"Recreation Ground",
"Theatre",
"Garden",
"Swimming Pool",
"Mall",
"Public Building",
"Place Of Worship",
"Bicycle Rental",
"Basin",
"Art",
"Bus Stop",
"Artwork"
]
],
"layout": {
"icon-image": "{maki}-11",
"text-font": ["Open_Sans_Semibold"],
"text-max-width": 9,
"text-padding": 2,
"text-offset": [0, 0.6],
"text-anchor": "top",
"text-size": 12,
"text-field": "{name_fr}"
},
"paint": {
"text-color": "#969595",
"text-halo-color": "#ffffff",
"text-halo-width": 1,
"text-halo-blur": 0.5
}
},
{
"id": "poi_label_3",
"type": "symbol",
"source": "composite",
"source-layer": "poi_label",
"minzoom": 14,
"filter": [
"all",
["==", "$type", "Point"],
["==", "scalerank", 3],
[
"in",
"type",
"College",
"Library",
"School",
"University",
"Bus Station",
"Parking",
"Clinic",
"Hospital",
"Arts Centre",
"Foutain",
"Planetarium",
"Embassy",
"Fire Station",
"Police",
"Townhall",
"Stadium",
"Train Station",
"Public",
"Castle",
"City Gate",
"Monument",
"Garden",
"Park",
"Playground",
"Stadium",
"Sports_centre",
"Obelisk",
"Observatory",
"Tower",
"Tree",
"Peak",
"Volcano",
"Valley",
"Cliff",
"Stone",
"Aquarium",
"Attraction",
"Information",
"Museum",
"Viewpoint",
"Recreation Ground",
"Theatre",
"Garden",
"Swimming Pool",
"Mall",
"Public Building",
"Place Of Worship",
"Bicycle Rental",
"Basin",
"Art",
"Bus Stop",
"Artwork"
]
],
"layout": {
"icon-image": "{maki}-11",
"text-font": ["Open_Sans_Semibold"],
"text-max-width": 9,
"text-padding": 2,
"text-offset": [0, 0.6],
"text-anchor": "top",
"text-size": 12,
"text-field": "{name_fr}"
},
"paint": {
"text-color": "#969595",
"text-halo-color": "#ffffff",
"text-halo-width": 1,
"text-halo-blur": 0.5
}
},
{
"id": "country_label_4",
"type": "symbol",
"source": "composite",
"source-layer": "country_label",
"minzoom": 1,
"filter": [">=", "scalerank", 4],
"layout": {
"text-font": ["Open_Sans_Bold", "Open_Sans_Regular"],
"text-max-width": 6.25,
"text-transform": "uppercase",
"text-size": {"stops": [[4, 11], [6, 15]]},
"visibility": "visible",
"text-field": "{name_fr}"
},
"paint": {
"text-color": "#1F5266",
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-width": 2,
"text-halo-blur": 1
}
},
{
"id": "country_label_3",
"type": "symbol",
"source": "composite",
"source-layer": "country_label",
"minzoom": 1,
"filter": ["==", "scalerank", 3],
"layout": {
"text-font": ["Open_Sans_Bold", "Open_Sans_Regular"],
"text-max-width": 6.25,
"text-transform": "uppercase",
"text-size": {"stops": [[3, 11], [7, 17]]},
"visibility": "visible",
"text-field": "{name_fr}"
},
"paint": {
"text-color": "#1F5266",
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-width": 2,
"text-halo-blur": 1
}
},
{
"id": "country_label_2",
"type": "symbol",
"source": "composite",
"source-layer": "country_label",
"minzoom": 1,
"filter": ["==", "scalerank", 2],
"layout": {
"text-font": ["Open_Sans_Bold", "Open_Sans_Regular"],
"text-max-width": 6.25,
"text-transform": "uppercase",
"text-size": {"stops": [[2, 11], [5, 17]]},
"visibility": "visible",
"text-field": "{name_fr}"
},
"paint": {
"text-color": "#1F5266",
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-width": 2,
"text-halo-blur": 1
}
},
{
"id": "country_label_1",
"type": "symbol",
"source": "composite",
"source-layer": "country_label",
"minzoom": 1,
"filter": ["==", "scalerank", 1],
"layout": {
"text-font": ["Open_Sans_Bold", "Open_Sans_Regular"],
"text-max-width": 6.25,
"text-transform": "uppercase",
"text-size": {"stops": [[1, 11], [4, 17]]},
"visibility": "visible",
"text-field": "{name_fr}"
},
"paint": {
"text-color": "#1F5266",
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-width": 2,
"text-halo-blur": 1
}
},
{
"id": "marine_label_line_4",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "LineString"],
[">=", "labelrank", 4],
[
"!in",
"name_fr",
"Gulf of Guinea",
"Gulf of Oman",
"Gulf of Tonkin",
"Great Australian Bight",
"Mozambique Channel",
"Gulf of Alaska",
"Gulf of Aden",
"Adriatic Sea",
"Bismarck Sea",
"Solomon Sea"
]
],
"layout": {
"text-font": ["Open_Sans_Regular"],
"text-letter-spacing": 0.2,
"symbol-placement": "line",
"text-size": {"stops": [[3, 12.5], [4, 14]]},
"text-line-height": 0.2
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "hsla(0, 0%, 100%, 0.7)",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_line_4_golfe_oman",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "LineString"],
[">=", "labelrank", 4],
["==", "name_fr", "Gulf of Oman"]
],
"layout": {
"text-font": ["Open_Sans_Regular"],
"text-field": "Golfe d'Oman",
"text-letter-spacing": 0.2,
"symbol-placement": "line",
"text-size": {"stops": [[3, 12.5], [4, 14]]},
"text-line-height": 0.2
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "hsla(0, 0%, 100%, 0.7)",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_line_4_golfe_aden",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "LineString"],
[">=", "labelrank", 4],
["==", "name_fr", "Gulf of Aden"]
],
"layout": {
"text-font": ["Open_Sans_Regular"],
"text-field": "Golfe d'Aden",
"text-letter-spacing": 0.2,
"symbol-placement": "line",
"text-size": {"stops": [[3, 12.5], [4, 14]]},
"text-line-height": 0.2
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "hsla(0, 0%, 100%, 0.7)",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_line_4_mer_solomon",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "LineString"],
[">=", "labelrank", 4],
["==", "name_fr", "Solomon Sea"]
],
"layout": {
"text-font": ["Open_Sans_Regular"],
"text-field": "Mer des Salomon",
"text-letter-spacing": 0.2,
"symbol-placement": "line",
"text-size": {"stops": [[3, 12.5], [4, 14]]},
"text-line-height": 0.2
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "hsla(0, 0%, 100%, 0.7)",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_line_4_golfe_alaska",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "LineString"],
[">=", "labelrank", 4],
["==", "name_fr", "Gulf of Alaska"]
],
"layout": {
"text-font": ["Open_Sans_Regular"],
"text-field": "Golfe d'Alaska",
"text-letter-spacing": 0.2,
"symbol-placement": "line",
"text-size": {"stops": [[3, 12.5], [4, 14]]},
"text-line-height": 0.2
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "hsla(0, 0%, 100%, 0.7)",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_line_4_golfe_guinee",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "LineString"],
[">=", "labelrank", 4],
["==", "name_fr", "Gulf of Guinea"]
],
"layout": {
"text-font": ["Open_Sans_Regular"],
"text-field": "Golfe de Guinée",
"text-letter-spacing": 0.2,
"symbol-placement": "line",
"text-size": {"stops": [[3, 12.5], [4, 14]]},
"text-line-height": 0.2
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "hsla(0, 0%, 100%, 0.7)",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_line_4_golfe_tonkin",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "LineString"],
[">=", "labelrank", 4],
["==", "name_fr", "Gulf of Tonkin"]
],
"layout": {
"text-font": ["Open_Sans_Regular"],
"text-field": "Golfe du Tonkin",
"text-letter-spacing": 0.2,
"symbol-placement": "line",
"text-size": {"stops": [[3, 12.5], [4, 14]]},
"text-line-height": 0.2
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "hsla(0, 0%, 100%, 0.7)",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_line_4_mer_bismarck",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "LineString"],
[">=", "labelrank", 4],
["==", "name_fr", "Bismarck Sea"]
],
"layout": {
"text-font": ["Open_Sans_Regular"],
"text-field": "Mer de Bismarck",
"text-letter-spacing": 0.2,
"symbol-placement": "line",
"text-size": {"stops": [[3, 12.5], [4, 14]]},
"text-line-height": 0.2
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "hsla(0, 0%, 100%, 0.7)",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_line_4_mer_adriatique",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "LineString"],
[">=", "labelrank", 4],
["==", "name_fr", "Adriatic Sea"]
],
"layout": {
"text-font": ["Open_Sans_Regular"],
"text-field": "Mer Adriatique",
"text-letter-spacing": 0.2,
"symbol-placement": "line",
"text-size": {"stops": [[3, 12.5], [4, 14]]},
"text-line-height": 0.2
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "hsla(0, 0%, 100%, 0.7)",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_line_4_canal_mozambique",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "LineString"],
[">=", "labelrank", 4],
["==", "name_fr", "Mozambique Channel"]
],
"layout": {
"text-font": ["Open_Sans_Regular"],
"text-field": "Canal du Mozambique",
"text-letter-spacing": 0.2,
"symbol-placement": "line",
"text-size": {"stops": [[3, 12.5], [4, 14]]},
"text-line-height": 0.2
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "hsla(0, 0%, 100%, 0.7)",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_line_4_baie_australienne",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "LineString"],
[">=", "labelrank", 4],
["==", "name_fr", "Great Australian Bight"]
],
"layout": {
"text-font": ["Open_Sans_Regular"],
"text-field": "Grande Baie Australienne",
"text-letter-spacing": 0.2,
"symbol-placement": "line",
"text-size": {"stops": [[3, 12.5], [4, 14]]},
"text-line-height": 0.2
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "hsla(0, 0%, 100%, 0.7)",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_line_3",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "LineString"],
["==", "labelrank", 3],
["!in", "name_fr", "Black Sea", "Baltic Sea", "Celebes Sea"]
],
"layout": {
"text-font": ["Open_Sans_Italic", "Open_Sans_Regular"],
"text-field": "{name_fr}",
"text-letter-spacing": 0.2,
"symbol-placement": "line",
"text-size": {"stops": [[3, 11], [4, 14]]}
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "rgba(255,255,255,0.7)",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_line_3_mer_noire",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "LineString"],
["==", "labelrank", 3],
["==", "name_fr", "Black Sea"]
],
"layout": {
"text-font": ["Open_Sans_Italic", "Open_Sans_Regular"],
"text-field": "Mer Noire",
"text-letter-spacing": 0.2,
"symbol-placement": "line",
"text-size": {"stops": [[3, 11], [4, 14]]}
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "rgba(255,255,255,0.7)",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_line_3_mer_baltique",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "LineString"],
["==", "labelrank", 3],
["==", "name_fr", "Baltic Sea"]
],
"layout": {
"text-font": ["Open_Sans_Italic", "Open_Sans_Regular"],
"text-field": "Mer Baltique",
"text-letter-spacing": 0.2,
"symbol-placement": "line",
"text-size": {"stops": [[3, 11], [4, 14]]}
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "rgba(255,255,255,0.7)",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_line_3_mer_celebes",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "LineString"],
["==", "labelrank", 3],
["==", "name_fr", "Celebes Sea"]
],
"layout": {
"text-font": ["Open_Sans_Italic", "Open_Sans_Regular"],
"text-field": "Mer de Célèbes",
"text-letter-spacing": 0.2,
"symbol-placement": "line",
"text-size": {"stops": [[3, 11], [4, 14]]}
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "rgba(255,255,255,0.7)",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_line_2",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 2,
"filter": [
"all",
["==", "$type", "LineString"],
["==", "labelrank", 2],
["!in", "name_fr", "Baffin Bay"]
],
"layout": {
"text-font": ["Open_Sans_Italic", "Open_Sans_Regular"],
"text-field": "{name_fr}",
"text-letter-spacing": 0.2,
"symbol-placement": "line",
"text-size": {"stops": [[3, 14], [4, 16]]}
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "rgba(255,255,255,0.7)",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_line_2_baie_baffin",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 2,
"filter": [
"all",
["==", "$type", "LineString"],
["==", "labelrank", 2],
["==", "name_fr", "Baffin Bay"]
],
"layout": {
"text-font": ["Open_Sans_Italic", "Open_Sans_Regular"],
"text-field": "Baie de Baffin",
"text-letter-spacing": 0.2,
"symbol-placement": "line",
"text-size": {"stops": [[3, 14], [4, 16]]}
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "rgba(255,255,255,0.7)",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_line_1",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 1,
"filter": ["all", ["==", "$type", "LineString"], ["==", "labelrank", 1]],
"layout": {
"text-font": ["Open_Sans_Italic", "Open_Sans_Regular"],
"text-field": "{name_fr}",
"text-letter-spacing": 0.2,
"symbol-placement": "line",
"text-size": {"stops": [[3, 18], [4, 22]]}
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "rgba(255,255,255,0.7)",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_4",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "Point"],
[">=", "labelrank", 4],
[
"all",
[
"!in",
"name",
"Timor Sea",
"Bali Sea",
"Savu Sea",
"Arafura Sea",
"Gulf of Thailand",
"Gulf of Tadjoura",
"Yellow Sea",
"Sea of Japan & East Sea",
"Ionian Sea",
"Golfe di Genova"
],
["!in", "name_en", "Caspian Sea", "Icarian Sea"]
]
],
"layout": {
"text-font": ["Open_Sans_Italic", "Open_Sans_Regular"],
"text-field": "{name_fr}",
"text-max-width": 6,
"text-letter-spacing": 0.2,
"symbol-placement": "point",
"text-size": {"stops": [[3, 11], [4, 12]]}
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "#FFF",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_4_mer_japon",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "Point"],
[">=", "labelrank", 4],
["==", "name", "Sea of Japan & East Sea"]
],
"layout": {
"text-font": ["Open_Sans_Italic", "Open_Sans_Regular"],
"text-field": "Mer du Japon & Mer de l'Est",
"text-max-width": 6,
"text-letter-spacing": 0.2,
"symbol-placement": "point",
"text-size": {"stops": [[3, 11], [4, 12]]}
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "#FFF",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_4_mer_jaune",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "Point"],
[">=", "labelrank", 4],
["==", "name", "Yellow Sea"]
],
"layout": {
"text-font": ["Open_Sans_Italic", "Open_Sans_Regular"],
"text-field": "Mer Jaune",
"text-max-width": 6,
"text-letter-spacing": 0.2,
"symbol-placement": "point",
"text-size": {"stops": [[3, 11], [4, 12]]}
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "#FFF",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_4_mer_timor",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "Point"],
[">=", "labelrank", 4],
["==", "name", "Timor Sea"]
],
"layout": {
"text-font": ["Open_Sans_Italic", "Open_Sans_Regular"],
"text-field": "Mer du Timor",
"text-max-width": 6,
"text-letter-spacing": 0.2,
"symbol-placement": "point",
"text-size": {"stops": [[3, 11], [4, 12]]}
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "#FFF",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_4_savu",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "Point"],
[">=", "labelrank", 4],
["==", "name", "Savu Sea"]
],
"layout": {
"text-font": ["Open_Sans_Italic", "Open_Sans_Regular"],
"text-field": "Mer de Savu",
"text-max-width": 6,
"text-letter-spacing": 0.2,
"symbol-placement": "point",
"text-size": {"stops": [[3, 11], [4, 12]]}
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "#FFF",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_4_mer_ionienne",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "Point"],
[">=", "labelrank", 4],
["==", "name", "Ionian Sea"]
],
"layout": {
"text-font": ["Open_Sans_Italic", "Open_Sans_Regular"],
"text-field": "Mer Ionienne",
"text-max-width": 6,
"text-letter-spacing": 0.2,
"symbol-placement": "point",
"text-size": {"stops": [[3, 11], [4, 12]]}
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "#FFF",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_4_mer_icarienne",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "Point"],
[">=", "labelrank", 4],
["==", "name_en", "Icarian Sea"]
],
"layout": {
"text-font": ["Open_Sans_Italic", "Open_Sans_Regular"],
"text-field": "Mer Icarienne",
"text-max-width": 6,
"text-letter-spacing": 0.2,
"symbol-placement": "point",
"text-size": {"stops": [[3, 11], [4, 12]]}
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "#FFF",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_4_mer_caspienne",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "Point"],
[">=", "labelrank", 4],
["==", "name_en", "Caspian Sea"]
],
"layout": {
"text-font": ["Open_Sans_Italic", "Open_Sans_Regular"],
"text-field": "Mer Caspienne",
"text-max-width": 6,
"text-letter-spacing": 0.2,
"symbol-placement": "point",
"text-size": {"stops": [[3, 11], [4, 12]]}
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "#FFF",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_4_bali",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "Point"],
[">=", "labelrank", 4],
["==", "name", "Bali Sea"]
],
"layout": {
"text-font": ["Open_Sans_Italic", "Open_Sans_Regular"],
"text-field": "Mer de Bali",
"text-max-width": 6,
"text-letter-spacing": 0.2,
"symbol-placement": "point",
"text-size": {"stops": [[3, 11], [4, 12]]}
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "#FFF",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_4_golfe_thailande",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "Point"],
[">=", "labelrank", 4],
["==", "name", "Gulf of Thailand"]
],
"layout": {
"text-font": ["Open_Sans_Italic", "Open_Sans_Regular"],
"text-field": "Golfe de Thaïlande",
"text-max-width": 6,
"text-letter-spacing": 0.2,
"symbol-placement": "point",
"text-size": {"stops": [[3, 11], [4, 12]]}
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "#FFF",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_4_golfe_tadjourah",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "Point"],
[">=", "labelrank", 4],
["==", "name", "Gulf of Tadjoura"]
],
"layout": {
"text-font": ["Open_Sans_Italic", "Open_Sans_Regular"],
"text-field": "Golfe de Tadjourah",
"text-max-width": 6,
"text-letter-spacing": 0.2,
"symbol-placement": "point",
"text-size": {"stops": [[3, 11], [4, 12]]}
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "#FFF",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_4_golfe_genes",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "Point"],
[">=", "labelrank", 4],
["==", "name", "Golfo di Genova"]
],
"layout": {
"text-font": ["Open_Sans_Italic", "Open_Sans_Regular"],
"text-field": "Golfe de Gênes",
"text-max-width": 6,
"text-letter-spacing": 0.2,
"symbol-placement": "point",
"text-size": {"stops": [[3, 11], [4, 12]]}
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "#FFF",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_4_arafura",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "Point"],
[">=", "labelrank", 4],
["==", "name", "Arafura Sea"]
],
"layout": {
"text-font": ["Open_Sans_Italic", "Open_Sans_Regular"],
"text-field": "Mer d'Arafura",
"text-max-width": 6,
"text-letter-spacing": 0.2,
"symbol-placement": "point",
"text-size": {"stops": [[3, 11], [4, 12]]}
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "#FFF",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_point_3",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "Point"],
[
"all",
["==", "labelrank", 3],
["!in", "name", "Bay of Biscay", "Hudson Bay", "Sea of Okhotsk"]
]
],
"layout": {
"text-font": ["Open_Sans_Italic", "Open_Sans_Regular"],
"text-field": "{name_fr}",
"text-max-width": 5,
"text-letter-spacing": 0.2,
"symbol-placement": "point",
"text-size": {"stops": [[3, 11], [4, 14]]}
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "rgba(255,255,255,0.7)",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_point_3_baie_hudson",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "Point"],
["all", ["==", "labelrank", 3], ["==", "name_fr", "Hudson Bay"]]
],
"layout": {
"text-font": ["Open_Sans_Italic", "Open_Sans_Regular"],
"text-field": "Baie d'Hudson",
"text-max-width": 5,
"text-letter-spacing": 0.2,
"symbol-placement": "point",
"text-size": {"stops": [[3, 11], [4, 14]]}
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "rgba(255,255,255,0.7)",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_point_3_Golfe_Gascogne",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "Point"],
["all", ["==", "labelrank", 3], ["==", "name", "Bay of Biscay"]]
],
"layout": {
"text-font": ["Open_Sans_Italic", "Open_Sans_Regular"],
"text-field": "Golfe de Gascogne",
"text-max-width": 5,
"text-letter-spacing": 0.2,
"symbol-placement": "point",
"text-size": {"stops": [[3, 11], [4, 14]]}
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "rgba(255,255,255,0.7)",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_point_3_mer_okhotsk",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 3,
"filter": [
"all",
["==", "$type", "Point"],
["all", ["==", "labelrank", 3], ["==", "name_fr", "Sea of Okhotsk"]]
],
"layout": {
"text-font": ["Open_Sans_Italic", "Open_Sans_Regular"],
"text-field": "Mer d'Okhotsk",
"text-max-width": 5,
"text-letter-spacing": 0.2,
"symbol-placement": "point",
"text-size": {"stops": [[3, 11], [4, 14]]}
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "rgba(255,255,255,0.7)",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_point_2",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 2,
"filter": [
"all",
["==", "$type", "Point"],
["==", "labelrank", 2],
["!in", "name_en", "Coral Sea"]
],
"layout": {
"text-font": ["Open_Sans_Italic", "Open_Sans_Regular"],
"text-field": "{name_fr}",
"text-max-width": 5,
"text-letter-spacing": 0.2,
"symbol-placement": "point",
"text-size": {"stops": [[3, 14], [4, 16]]}
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "rgba(255,255,255,0.7)",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_point_2_mer_corail",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 2,
"filter": [
"all",
["==", "$type", "Point"],
["==", "labelrank", 2],
["==", "name_en", "Coral Sea"]
],
"layout": {
"text-font": ["Open_Sans_Italic", "Open_Sans_Regular"],
"text-field": "Mer de Corail",
"text-max-width": 5,
"text-letter-spacing": 0.2,
"symbol-placement": "point",
"text-size": {"stops": [[3, 14], [4, 16]]}
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "rgba(255,255,255,0.7)",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_point_1",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 1,
"filter": [
"all",
["==", "$type", "Point"],
["==", "labelrank", 1],
["!in", "name", "North Pacific Ocean", "South Pacific Ocean"]
],
"layout": {
"text-font": ["Open_Sans_Italic", "Open_Sans_Regular"],
"text-field": "{name_fr}",
"text-max-width": 5,
"text-letter-spacing": 0.2,
"text-line-height": 1.6,
"symbol-placement": "point",
"text-offset": [0, 2.4],
"text-size": {"stops": [[3, 18], [4, 22]]}
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "rgba(255,255,255,0.7)",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_point_ocean_pacifique-nord",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 1,
"filter": [
"all",
["==", "$type", "Point"],
["==", "labelrank", 1],
["==", "name", "North Pacific Ocean"]
],
"layout": {
"text-font": ["Open_Sans_Italic", "Open_Sans_Regular"],
"text-field": "Océan Pacifique Nord",
"text-max-width": 5,
"text-letter-spacing": 0.2,
"text-line-height": 1.6,
"symbol-placement": "point",
"text-offset": [0, 2.4],
"text-size": {"stops": [[3, 18], [4, 22]]}
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "rgba(255,255,255,0.7)",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "marine_label_point_ocean_pacifique-sud",
"type": "symbol",
"source": "composite",
"source-layer": "marine_label",
"minzoom": 1,
"filter": [
"all",
["==", "$type", "Point"],
["==", "labelrank", 1],
["==", "name", "South Pacific Ocean"]
],
"layout": {
"text-font": ["Open_Sans_Italic", "Open_Sans_Regular"],
"text-field": "Océan Pacifique Sud",
"text-max-width": 5,
"text-letter-spacing": 0.2,
"text-line-height": 1.6,
"symbol-placement": "point",
"text-offset": [0, 2.4],
"text-size": {"stops": [[3, 18], [4, 22]]}
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "rgba(255,255,255,0.7)",
"text-halo-width": 0.75,
"text-halo-blur": 0.75
}
},
{
"id": "place_label_other",
"type": "symbol",
"source": "composite",
"source-layer": "place_label",
"minzoom": 12,
"filter": ["in", "type", "island", "islet", "suburb"],
"layout": {
"text-font": ["Open_Sans_Bold", "Open_Sans_Regular"],
"text-transform": "uppercase",
"text-letter-spacing": 0.1,
"text-max-width": 9,
"text-size": {"base": 1.2, "stops": [[12, 10], [15, 18]]},
"visibility": "visible",
"text-field": "{name_fr}"
},
"paint": {
"text-color": "hsl(214, 27%, 42%)",
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-width": 1.2
}
},
{
"id": "place_label_village",
"type": "symbol",
"source": "composite",
"source-layer": "place_label",
"minzoom": 10,
"filter": ["==", "type", "village"],
"layout": {
"text-font": ["Open_Sans_Regular"],
"text-max-width": 8,
"text-size": {"base": 1.2, "stops": [[10, 12], [15, 22]]},
"text-field": "{name_fr}"
},
"paint": {
"text-color": "rgba(41, 72, 88, 1)",
"text-halo-color": "rgba(255,255,255,0.8)"
}
},
{
"id": "place_label_town",
"type": "symbol",
"source": "composite",
"source-layer": "place_label",
"minzoom": 8.5,
"filter": ["in", "type", "town"],
"layout": {
"text-font": ["Open_Sans_Regular"],
"text-max-width": 8,
"text-size": {"base": 1.2, "stops": [[10, 14], [15, 24]]},
"text-field": "{name_fr}"
},
"paint": {
"text-color": "rgba(41, 72, 88, 1)",
"text-halo-color": "rgba(255,255,255,0.8)"
}
},
{
"id": "place_label_city",
"type": "symbol",
"source": "composite",
"source-layer": "place_label",
"minzoom": 5,
"filter": ["all", ["==", "type", "city"], ["!=", "name_fr", "Paris"]],
"layout": {
"text-font": ["Open_Sans_Bold", "Open_Sans_Regular"],
"text-max-width": 9,
"text-size": {"base": 1.2, "stops": [[7, 12], [11, 20]]},
"text-field": "{name_fr}"
},
"paint": {
"text-color": "#C0116F",
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-width": 1.2
}
},
{
"id": "place_label_city_Paris",
"type": "symbol",
"source": "composite",
"source-layer": "place_label",
"minzoom": 6,
"filter": ["all", ["==", "type", "city"], ["==", "name_fr", "Paris"]],
"layout": {
"text-font": ["Open_Sans_Bold", "Open_Sans_Regular"],
"text-max-width": 10,
"text-size": {"base": 1.2, "stops": [[7, 14], [11, 24]]},
"text-field": "{name_fr}"
},
"paint": {
"text-color": "#C0116F",
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-width": 1.2
}
},
{
"id": "place_label_guadeloupe",
"type": "symbol",
"source": "composite",
"source-layer": "place_label",
"minzoom": 4,
"maxzoom": 12,
"filter": ["all", ["==", "$type", "Point"], ["==", "name", "Les Abymes"]],
"layout": {
"text-font": ["Open_Sans_Bold"],
"text-transform": "uppercase",
"text-field": "{name_fr}",
"text-max-width": 6.25,
"text-letter-spacing": 0.1,
"symbol-placement": "point",
"text-size": {"stops": [[4, 11], [6, 15]]}
},
"paint": {
"text-color": "#334",
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-width": 2,
"text-halo-blur": 1
}
},
{
"id": "place_label_martinique",
"type": "symbol",
"source": "composite",
"source-layer": "place_label",
"minzoom": 4,
"maxzoom": 12,
"filter": [
"all",
["==", "$type", "Point"],
["==", "name", "Fort-de-France"]
],
"layout": {
"text-font": ["Open_Sans_Bold"],
"text-transform": "uppercase",
"text-field": "{name_fr}",
"text-max-width": 6.25,
"text-letter-spacing": 0.1,
"symbol-placement": "point",
"text-offset": {
"stops": [
[6, [0, 0]],
[8, [-1, -2]],
[10, [-5, -5]],
[12, [-15, -30]]
]
},
"text-size": {"stops": [[4, 11], [6, 15]]}
},
"paint": {
"text-color": "#334",
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-width": 2,
"text-halo-blur": 1
}
},
{
"id": "place_label_guyane",
"type": "symbol",
"source": "composite",
"source-layer": "place_label",
"minzoom": 4,
"maxzoom": 12,
"filter": ["all", ["==", "$type", "Point"], ["==", "name", "Kourou"]],
"layout": {
"text-font": ["Open_Sans_Bold"],
"text-transform": "uppercase",
"text-field": "{name_fr}",
"text-max-width": 6.25,
"text-letter-spacing": 0.1,
"symbol-placement": "point",
"text-offset": {
"stops": [
[6, [0, 0]],
[8, [-1, -2]],
[10, [-5, -5]],
[12, [-15, -30]]
]
},
"text-size": {"stops": [[4, 11], [6, 15]]}
},
"paint": {
"text-color": "#334",
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-width": 2,
"text-halo-blur": 1
}
},
{
"id": "place_label_réunion",
"type": "symbol",
"source": "composite",
"source-layer": "place_label",
"minzoom": 4,
"maxzoom": 12,
"filter": ["all", ["==", "$type", "Point"], ["==", "name", "Le Tampon"]],
"layout": {
"text-font": ["Open_Sans_Bold"],
"text-transform": "uppercase",
"text-field": "{name_fr}",
"text-max-width": 6.25,
"text-letter-spacing": 0.1,
"symbol-placement": "point",
"text-offset": {
"stops": [
[6, [0, 0]],
[8, [-1, -2]],
[10, [-5, -5]],
[12, [-15, -30]]
]
},
"text-size": {"stops": [[4, 11], [6, 15]]}
},
"paint": {
"text-color": "#334",
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-width": 2,
"text-halo-blur": 1
}
},
{
"id": "place_label_mayotte",
"type": "symbol",
"source": "composite",
"source-layer": "place_label",
"minzoom": 4,
"maxzoom": 12,
"filter": ["all", ["==", "$type", "Point"], ["==", "name", "Chiconi"]],
"layout": {
"text-font": ["Open_Sans_Bold"],
"text-transform": "uppercase",
"text-field": "{name_fr}",
"text-max-width": 6.25,
"text-letter-spacing": 0.1,
"symbol-placement": "point",
"text-size": {"stops": [[4, 11], [6, 15]]}
},
"paint": {
"text-color": "#334",
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-width": 2,
"text-halo-blur": 1
}
},
{
"id": "road_label",
"type": "symbol",
"source": "composite",
"source-layer": "road_label",
"minzoom": 8,
"filter": ["!=", "class", "ferry"],
"layout": {
"text-size": {"base": 1, "stops": [[13, 12], [14, 13]]},
"text-allow-overlap": false,
"symbol-avoid-edges": false,
"text-ignore-placement": false,
"text-font": ["Open_Sans_Regular", "Open_Sans_Regular"],
"symbol-placement": "line",
"visibility": "none",
"text-pitch-alignment": "map",
"text-keep-upright": true,
"text-field": "{name_fr}"
},
"paint": {
"text-color": "hsl(0, 0%, 35%)",
"text-halo-width": 1,
"text-halo-blur": 0.5
}
},
{
"id": "road_label_highway_shield",
"type": "symbol",
"source": "composite",
"source-layer": "road_label",
"minzoom": 8,
"filter": ["<=", "reflen", 6],
"layout": {
"text-size": 11,
"icon-image": "motorway_{reflen}",
"icon-rotation-alignment": "viewport",
"symbol-spacing": 500,
"text-font": ["Open_Sans_Semibold", "Open_Sans_Regular"],
"symbol-placement": {"base": 1, "stops": [[0, "line"], [22, "line"]]},
"visibility": "none",
"text-rotation-alignment": "viewport",
"text-field": "{name_fr}"
},
"paint": {}
},
{
"id": "road-label-small",
"type": "symbol",
"source": "composite",
"source-layer": "road_label",
"minzoom": 15,
"filter": [
"all",
[
"!in",
"class",
"ferry",
"link",
"motorway",
"path",
"pedestrian",
"primary",
"secondary",
"street",
"street_limited",
"tertiary",
"track",
"trunk"
],
["==", "$type", "LineString"]
],
"layout": {
"text-size": {"base": 1, "stops": [[15, 10], [20, 13]]},
"text-max-angle": 30,
"symbol-spacing": 500,
"text-font": ["Open_Sans_Regular"],
"symbol-placement": "line",
"text-padding": 1,
"text-rotation-alignment": "map",
"text-letter-spacing": 0.01,
"text-field": "{name_fr}"
},
"paint": {
"text-color": "#6B6B6B",
"text-halo-color": "#ffffff",
"text-halo-blur": 0
}
},
{
"id": "road-label-medium",
"type": "symbol",
"source": "composite",
"source-layer": "road_label",
"minzoom": 13,
"filter": [
"all",
["==", "$type", "LineString"],
["in", "class", "link", "pedestrian", "street", "street_limited"]
],
"layout": {
"text-size": {"base": 1, "stops": [[11, 10], [20, 14]]},
"text-max-angle": 30,
"symbol-spacing": 500,
"text-font": ["Open_Sans_Regular"],
"symbol-placement": "line",
"text-padding": 1,
"text-rotation-alignment": "map",
"text-letter-spacing": 0.01,
"text-field": "{name_fr}"
},
"paint": {
"text-color": "#6B6B6B",
"text-halo-color": "#ffffff",
"text-halo-blur": 0
}
},
{
"id": "road-label-large",
"type": "symbol",
"source": "composite",
"source-layer": "road_label",
"minzoom": 12,
"filter": [
"in",
"class",
"motorway",
"primary",
"secondary",
"tertiary",
"trunk"
],
"layout": {
"text-size": {"base": 1, "stops": [[9, 10], [20, 16]]},
"text-max-angle": 30,
"symbol-spacing": 400,
"text-font": ["Open_Sans_Regular"],
"symbol-placement": "line",
"text-padding": 1,
"text-rotation-alignment": "map",
"text-letter-spacing": 0.01,
"text-field": "{name_fr}"
},
"paint": {
"text-color": "#6B6B6B",
"text-halo-color": "rgba(255,255,255, 0.75)",
"text-halo-blur": 0
}
},
{
"id": "water_label",
"type": "symbol",
"source": "composite",
"source-layer": "water_label",
"minzoom": 2,
"filter": ["==", "$type", "Point"],
"layout": {
"text-font": ["Open_Sans_Italic", "Open_Sans_Regular"],
"text-max-width": 5,
"text-size": 12,
"text-field": "{name_fr}"
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-width": 0.3,
"text-halo-color": "rgba(255,255,255,0.7)"
}
},
{
"id": "poi_label_4",
"type": "symbol",
"source": "composite",
"source-layer": "poi_label",
"minzoom": 15,
"filter": [
"all",
["==", "$type", "Point"],
["==", "scalerank", 4],
[
"in",
"type",
"College",
"School",
"University",
"Bus Station",
"Parking",
"Clinic",
"Hospital",
"Foutain",
"Planetarium",
"Embassy",
"Fire Station",
"Police",
"Townhall",
"Stadium",
"Train Station",
"Public",
"Castle",
"City Gate",
"Monument",
"Garden",
"Park",
"Playground",
"Stadium",
"Sports_centre",
"Obelisk",
"Observatory",
"Tower",
"Tree",
"Peak",
"Volcano",
"Valley",
"Cliff",
"Stone",
"Aquarium",
"Attraction",
"Information",
"Museum",
"Viewpoint",
"Recreation Ground",
"Garden",
"Swimming Pool",
"Mall",
"Theatre",
"Public Building",
"Place Of Worship",
"Bicycle Rental",
"Basin",
"Art",
"Bus Stop",
"Artwork"
]
],
"layout": {
"icon-image": "{maki}-11",
"text-font": ["Open_Sans_Semibold"],
"text-max-width": 9,
"text-padding": 2,
"text-offset": [0, 0.6],
"text-anchor": "top",
"text-size": 12,
"text-field": "{name_fr}"
},
"paint": {
"text-color": "#969595",
"text-halo-color": "#ffffff",
"text-halo-width": 1,
"text-halo-blur": 0.5
}
}
],
"colors": {
"background": "#FFFFFF",
"water": "#175D79",
"roads": "#d7eef7",
"landuse_park": "#c0deba"
},
"id": "mdt79t4pa"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment