Created
January 10, 2023 13:30
-
-
Save timlinux/53b307fbad7bf3ea13a5d8da4f8fb40c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": 8, | |
"name": "testing", | |
"metadata": {"maputnik:renderer": "mbgljs"}, | |
"sources": { | |
"MyCivitasStaging": { | |
"type": "vector", | |
"tiles": ["https://staging.mycivitas.ca/community-layer/{z}/{x}/{y}"], | |
"minZoom": 0, | |
"maxZoom": 14 | |
}, | |
"openmaptiles": { | |
"type": "vector", | |
"url": "https://api.maptiler.com/tiles/v3/tiles.json?key={key}" | |
}, | |
"natural_earth": { | |
"type": "raster", | |
"tiles": [ | |
"https://klokantech.github.io/naturalearthtiles/tiles/natural_earth_2_shaded_relief.raster/{z}/{x}/{y}.png" | |
], | |
"minzoom": 0, | |
"maxzoom": 14 | |
} | |
}, | |
"sprite": "https://www.w3.org/2000/svg", | |
"glyphs": "https://orangemug.github.io/font-glyphs/glyphs/{fontstack}/{range}.pbf", | |
"layers": [ | |
{ | |
"id": "background", | |
"type": "background", | |
"layout": {"visibility": "none"}, | |
"paint": { | |
"background-color": "rgba(88, 150, 50, 1)", | |
"background-opacity": 0.35 | |
} | |
}, | |
{ | |
"id": "boundaries", | |
"type": "line", | |
"source": "openmaptiles", | |
"source-layer": "boundary", | |
"filter": ["all"], | |
"layout": {"visibility": "visible"} | |
}, | |
{ | |
"id": "natural_earth", | |
"type": "raster", | |
"source": "natural_earth", | |
"maxzoom": 24, | |
"layout": {"visibility": "none"}, | |
"paint": {"raster-opacity": 0.6} | |
}, | |
{ | |
"id": "water", | |
"type": "fill", | |
"source": "openmaptiles", | |
"source-layer": "water", | |
"filter": ["all"], | |
"layout": {"visibility": "visible"}, | |
"paint": { | |
"fill-color": "rgba(75, 146, 164, 1)", | |
"fill-outline-color": "rgba(22, 35, 36, 1)" | |
} | |
}, | |
{ | |
"id": "place_village", | |
"type": "symbol", | |
"source": "openmaptiles", | |
"source-layer": "place", | |
"filter": ["all", ["==", "class", "village"]], | |
"layout": { | |
"text-field": "{name_en}", | |
"text-font": ["Open Sans Bold"], | |
"text-line-height": 1, | |
"text-allow-overlap": true, | |
"text-pitch-alignment": "map", | |
"text-rotation-alignment": "map", | |
"symbol-z-order": "auto", | |
"text-size": 10, | |
"visibility": "none" | |
} | |
}, | |
{ | |
"id": "place_town", | |
"type": "symbol", | |
"source": "openmaptiles", | |
"source-layer": "place", | |
"filter": ["all", ["==", "class", "town"]], | |
"layout": { | |
"text-field": "{name_en}", | |
"text-font": ["Open Sans Bold"], | |
"text-line-height": 1, | |
"text-allow-overlap": true, | |
"text-pitch-alignment": "map", | |
"text-rotation-alignment": "map", | |
"symbol-z-order": "auto", | |
"text-size": 12, | |
"visibility": "none" | |
} | |
}, | |
{ | |
"id": "place_city", | |
"type": "symbol", | |
"source": "openmaptiles", | |
"source-layer": "place", | |
"filter": ["all", ["==", "class", "city"]], | |
"layout": { | |
"text-field": "{name_en}", | |
"text-font": ["Open Sans Bold"], | |
"text-line-height": 1, | |
"text-allow-overlap": true, | |
"text-pitch-alignment": "map", | |
"text-rotation-alignment": "map", | |
"symbol-z-order": "auto", | |
"text-size": 12, | |
"visibility": "none" | |
} | |
}, | |
{ | |
"id": "1. Abandoned Infrastructure", | |
"type": "line", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": ["all", ["==", "system_name", "Abandoned Infrastructure"]], | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "1. Abandoned Infrastructure Points", | |
"type": "circle", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": ["all", ["==", "system_name", "Abandoned Infrastructure"]], | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "2. Buildings, Facilities, Parks and Recreation", | |
"type": "fill", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Buildings, Facilities, Parks and Recreation"] | |
], | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "3. Buildings, Parks, and Recreation Fill", | |
"type": "fill", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Buildings, Parks, and Recreation"] | |
], | |
"layout": {"visibility": "none"}, | |
"paint": { | |
"fill-outline-color": "rgba(35, 35, 35, 1)", | |
"fill-opacity": 0.35, | |
"fill-color": "rgba(227, 26, 28, 1)", | |
"fill-translate-anchor": "map" | |
} | |
}, | |
{ | |
"id": "3. Buildings, Parks, and Recreation Outline", | |
"type": "line", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Buildings, Parks, and Recreation"] | |
], | |
"layout": {"visibility": "none"}, | |
"paint": { | |
"line-color": "rgba(35, 35, 35, 1)", | |
"line-opacity": 0.35, | |
"line-width": 1.5 | |
} | |
}, | |
{ | |
"id": "3. Buildings, Parks, and Recreation Points", | |
"type": "circle", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Buildings, Parks, and Recreation"] | |
], | |
"layout": {"visibility": "none"}, | |
"paint": { | |
"circle-color": "rgba(227, 26, 28, 1)", | |
"circle-opacity": 1, | |
"circle-stroke-color": "rgba(35, 35, 35, 1)", | |
"circle-stroke-opacity": 1, | |
"circle-radius": 3, | |
"circle-stroke-width": 1 | |
} | |
}, | |
{ | |
"id": "3. Buildings, Parks, and Recreation Lines", | |
"type": "line", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Buildings, Parks, and Recreation"] | |
], | |
"layout": {"visibility": "none"}, | |
"paint": { | |
"line-color": "rgba(165, 165, 165, 1)", | |
"line-opacity": 1, | |
"line-width": 1.5 | |
} | |
}, | |
{ | |
"id": "3. Buildings, Parks, and Recreation (wetland fill)", | |
"type": "fill", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Buildings, Parks, and Recreation"], | |
["==", "asset_sub_class", "wetland"] | |
], | |
"layout": {"visibility": "none"}, | |
"paint": { | |
"fill-outline-color": "rgba(114, 133, 132, 1)", | |
"fill-opacity": 1, | |
"fill-color": "rgba(163, 205, 185, 1)", | |
"fill-translate-anchor": "map" | |
} | |
}, | |
{ | |
"id": "3. Buildings, Parks, and Recreation (wetland outline)", | |
"type": "line", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Buildings, Parks, and Recreation"], | |
["==", "asset_sub_class", "wetland"] | |
], | |
"layout": {"visibility": "none"}, | |
"paint": { | |
"line-color": "rgba(114, 133, 132, 1)", | |
"line-opacity": 1, | |
"line-width": 2 | |
} | |
}, | |
{ | |
"id": "3. Buildings, Parks, and Recreation (engineered land fill)", | |
"type": "fill", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Buildings, Parks, and Recreation"], | |
["==", "asset_sub_class", "engineered land"] | |
], | |
"layout": {"visibility": "none"}, | |
"paint": { | |
"fill-outline-color": "rgba(35, 35, 35, 1)", | |
"fill-opacity": 0.48, | |
"fill-color": "rgba(231, 251, 55, 1)", | |
"fill-translate-anchor": "map" | |
} | |
}, | |
{ | |
"id": "3. Buildings, Parks, and Recreation (engineered land outline)", | |
"type": "line", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Buildings, Parks, and Recreation"], | |
["==", "asset_sub_class", "engineered land"] | |
], | |
"layout": {"visibility": "none"}, | |
"paint": { | |
"line-color": "rgba(35, 35, 35, 1)", | |
"line-opacity": 0.48, | |
"line-width": 1.5 | |
} | |
}, | |
{ | |
"id": "3. Buildings, Parks, and Recreation (buildings fill)", | |
"type": "fill", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Buildings, Parks, and Recreation"], | |
["==", "asset_sub_class", "building"] | |
], | |
"layout": {"visibility": "none"}, | |
"paint": { | |
"fill-outline-color": "rgba(35, 35, 35, 1)", | |
"fill-opacity": 0.35, | |
"fill-color": "rgba(227, 26, 28, 1)", | |
"fill-translate-anchor": "map" | |
} | |
}, | |
{ | |
"id": "3. Buildings, Parks, and Recreation (building outline)", | |
"type": "line", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Buildings, Parks, and Recreation"], | |
["==", "asset_sub_class", "building"] | |
], | |
"layout": {"visibility": "none"}, | |
"paint": { | |
"line-color": "rgba(35, 35, 35, 1)", | |
"line-opacity": 0.35, | |
"line-width": 1.5 | |
} | |
}, | |
{ | |
"id": "3. Buildings, Parks, and Recreation (recreational structure fill)", | |
"type": "fill", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Buildings, Parks, and Recreation"], | |
["==", "asset_sub_class", "recreational structure"] | |
], | |
"layout": {"visibility": "none"}, | |
"paint": { | |
"fill-outline-color": "rgba(82, 82, 82, 1)", | |
"fill-opacity": 0.58, | |
"fill-color": "rgba(204, 204, 204, 1)", | |
"fill-translate-anchor": "map" | |
} | |
}, | |
{ | |
"id": "3. Buildings, Parks, and Recreation (recreational structure outline)", | |
"type": "line", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Buildings, Parks, and Recreation"], | |
["==", "asset_sub_class", "recreational structure"] | |
], | |
"layout": {"visibility": "none"}, | |
"paint": { | |
"line-color": "rgba(35, 35, 35, 1)", | |
"line-opacity": 0.35, | |
"line-width": 1.5 | |
} | |
}, | |
{ | |
"id": "3. Buildings, Parks, and Recreation (pedestrian walkway line)", | |
"type": "line", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Buildings, Parks, and Recreation"], | |
["==", "asset_sub_class", "pedestrian walkway"] | |
], | |
"layout": {"visibility": "none"}, | |
"paint": { | |
"line-color": "rgba(165, 165, 165, 1)", | |
"line-opacity": 1, | |
"line-width": 1.5 | |
} | |
}, | |
{ | |
"id": "4. Buildings, Parks, and Recreations Fill", | |
"type": "fill", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Buildings, Parks, and Recreations"] | |
], | |
"layout": {"visibility": "none"}, | |
"paint": {"fill-color": "rgba(227, 26, 28, 1)", "fill-opacity": 0.35} | |
}, | |
{ | |
"id": "4. Buildings, Parks, and Recreations Points", | |
"type": "circle", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Buildings, Parks, and Recreations"] | |
], | |
"layout": {"visibility": "visible"}, | |
"paint": { | |
"circle-color": "rgba(227, 26, 28, 1)", | |
"circle-opacity": 0.35, | |
"circle-stroke-opacity": 0.35, | |
"circle-stroke-color": "rgba(35, 35, 35, 1)", | |
"circle-stroke-width": 1, | |
"circle-radius": 2 | |
} | |
}, | |
{ | |
"id": "4. Buildings, Parks, and Recreations Outline", | |
"type": "line", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Buildings, Parks, and Recreations"] | |
], | |
"layout": {"visibility": "none"}, | |
"paint": { | |
"line-opacity": 0.35, | |
"line-color": "rgba(35, 35, 35, 1)", | |
"line-width": 1.5 | |
} | |
}, | |
{ | |
"id": "4. Buildings, Parks, and Recreations (building fill)", | |
"type": "fill", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Buildings, Parks, and Recreations"], | |
["==", "asset_sub_class", "building"] | |
], | |
"layout": {"visibility": "visible"}, | |
"paint": {"fill-color": "rgba(227, 26, 28, 1)", "fill-opacity": 0.35} | |
}, | |
{ | |
"id": "4. Buildings, Parks, and Recreations (building outline)", | |
"type": "line", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Buildings, Parks, and Recreations"], | |
["==", "asset_sub_class", "building"] | |
], | |
"layout": {"visibility": "visible"}, | |
"paint": { | |
"line-opacity": 0.35, | |
"line-color": "rgba(35, 35, 35, 1)", | |
"line-width": 1.5 | |
} | |
}, | |
{ | |
"id": "5. Georgetown Water Network Lines", | |
"type": "line", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": ["all", ["==", "system_name", "Georgetown Water Network"]], | |
"layout": {"visibility": "none"}, | |
"paint": {"line-color": "#1f78b4", "line-width": 2} | |
}, | |
{ | |
"id": "5. Georgetown Water Network Points", | |
"type": "circle", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": ["all", ["==", "system_name", "Georgetown Water Network"]], | |
"layout": {"visibility": "none"}, | |
"paint": { | |
"circle-color": "#1f78b4", | |
"circle-stroke-color": "#23100e", | |
"circle-stroke-opacity": 1, | |
"circle-opacity": 1, | |
"circle-stroke-width": 1, | |
"circle-radius": 3 | |
} | |
}, | |
{ | |
"id": "5. Georgetown Water Network Test", | |
"type": "symbol", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": ["all", ["==", "system_name", "Georgetown Water Network"]], | |
"layout": { | |
"icon-image": "square-stroked.svg", | |
"icon-allow-overlap": true, | |
"icon-ignore-placement": false, | |
"icon-rotation-alignment": "map", | |
"icon-optional": false, | |
"icon-size": 10, | |
"icon-pitch-alignment": "map", | |
"symbol-placement": "point", | |
"icon-text-fit": "none", | |
"icon-padding": 2, | |
"visibility": "none" | |
}, | |
"paint": { | |
"icon-color": "rgba(0, 0, 0, 1)", | |
"icon-translate": [0, 0], | |
"icon-translate-anchor": "map" | |
} | |
}, | |
{ | |
"id": "6. Irrigation System", | |
"type": "line", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": ["all", ["==", "system_name", "Irrigation System"]], | |
"layout": {"visibility": "none"}, | |
"paint": {"line-color": "rgba(31, 120, 180, 1)"} | |
}, | |
{ | |
"id": "6. Irrigation System Points", | |
"type": "circle", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": ["all", ["==", "system_name", "Irrigation System"]], | |
"layout": {"visibility": "none"}, | |
"paint": { | |
"circle-color": "#1f78b4", | |
"circle-stroke-color": "#1f78b4", | |
"circle-radius": 2 | |
} | |
}, | |
{ | |
"id": "7. Municipal Buildings, Parks and Recreation", | |
"type": "fill", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Municipal Buildings, Parks and Recreation"] | |
], | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "8. Municipal Buildings, Parks, and Recreation", | |
"type": "fill", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Municipal Buildings, Parks, and Recreation"] | |
], | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "9. Municipal Buildings, Structures. Parks, and Recreation", | |
"type": "fill", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"system_name", | |
"Municipal Buildings, Structures. Parks, and Recreation" | |
] | |
], | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "10. Municipal Wastewater Collection", | |
"type": "line", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Municipal Wastewater Collection"] | |
], | |
"layout": {"visibility": "none"}, | |
"paint": {"line-color": "rgba(215, 0, 3, 1)", "line-width": 1.5} | |
}, | |
{ | |
"id": "10. Municipal Wastewater Collection Points", | |
"type": "circle", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Municipal Wastewater Collection"] | |
], | |
"layout": {"visibility": "none"}, | |
"paint": {"circle-color": "rgba(215, 0, 3, 1)", "circle-radius": 2} | |
}, | |
{ | |
"id": "11. Non-Municipal Infrastructure", | |
"type": "line", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": ["all", ["==", "system_name", "Non-Municipal Infrastructure"]], | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "11. Non-Municipal Infrastructure Points", | |
"type": "circle", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": ["all", ["==", "system_name", "Non-Municipal Infrastructure"]], | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "12. Pedestrian Transportation", | |
"type": "line", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": ["all", ["==", "system_name", "Pedestrian Transportation"]], | |
"layout": {"visibility": "none"}, | |
"paint": {"line-color": "rgba(165, 165, 165, 1)", "line-width": 1.5} | |
}, | |
{ | |
"id": "12. Pedestrian Transportation Points", | |
"type": "circle", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": ["all", ["==", "system_name", "Pedestrian Transportation"]], | |
"layout": {"visibility": "none"}, | |
"paint": { | |
"circle-color": "rgba(165, 165, 165, 1)", | |
"circle-stroke-color": "rgba(35, 35, 35, 1)", | |
"circle-radius": 2, | |
"circle-stroke-width": 0.5 | |
} | |
}, | |
{ | |
"id": "13. Planned Infrastructure", | |
"type": "line", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": ["all", ["==", "system_name", "Planned Infrastructure"]], | |
"layout": {"visibility": "none"}, | |
"paint": {"line-color": "rgba(0, 0, 0, 1)"} | |
}, | |
{ | |
"id": "13. Planned Infrastructure Points", | |
"type": "circle", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": ["all", ["==", "system_name", "Planned Infrastructure"]], | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "14. Public Buildings, Parks, and Recreation Points", | |
"type": "circle", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Public Buildings, Parks, and Recreation"] | |
], | |
"layout": {"visibility": "none"}, | |
"paint": { | |
"circle-color": "rgba(227, 26, 28, 1)", | |
"circle-opacity": 0.35, | |
"circle-stroke-color": "rgba(35, 35, 35, 1)", | |
"circle-stroke-opacity": 0.35, | |
"circle-radius": 2, | |
"circle-stroke-width": 1 | |
} | |
}, | |
{ | |
"id": "14. Public Buildings, Parks, and Recreation Outline", | |
"type": "line", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Public Buildings, Parks, and Recreation"] | |
], | |
"layout": {"visibility": "none"}, | |
"paint": { | |
"line-color": "rgba(165, 165, 165, 1)", | |
"line-opacity": 1, | |
"line-width": 1.5 | |
} | |
}, | |
{ | |
"id": "14. Public Buildings, Parks, and Recreation", | |
"type": "fill", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Public Buildings, Parks, and Recreation"] | |
], | |
"layout": {"visibility": "none"}, | |
"paint": { | |
"fill-outline-color": "rgba(35, 35, 35, 1)", | |
"fill-opacity": 0.35, | |
"fill-color": "rgba(227, 26, 28, 1)", | |
"fill-translate-anchor": "map" | |
} | |
}, | |
{ | |
"id": "15. Public Transportation Points", | |
"type": "circle", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": ["all", ["==", "system_name", "Public Transportation"]], | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "15. Public Transportation Lines", | |
"type": "line", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Public Transportation"], | |
["==", "asset_sub_class", "road overlay"] | |
], | |
"layout": {"visibility": "none"}, | |
"paint": {"line-width": 1.5} | |
}, | |
{ | |
"id": "16. Public Transportation System Points", | |
"type": "circle", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": ["all", ["==", "system_name", "Public Transportation System"]], | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "16. Public Transportation System Symbols (Traffic Sign or Signal)", | |
"type": "symbol", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Public Transportation System"], | |
["==", "asset_sub_class", "traffic sign or signal"] | |
], | |
"layout": { | |
"text-field": "{asset_sub_class}", | |
"text-font": ["Open Sans Regular"], | |
"text-size": 10, | |
"text-allow-overlap": true, | |
"visibility": "none", | |
"icon-image": "{square-stroked.svg}", | |
"icon-allow-overlap": true, | |
"icon-rotation-alignment": "auto", | |
"icon-ignore-placement": true, | |
"text-anchor": "bottom", | |
"text-justify": "center", | |
"text-radial-offset": 0.75 | |
} | |
}, | |
{ | |
"id": "16. Public Transportation System Symbols (Lights)", | |
"type": "symbol", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Public Transportation System"], | |
["==", "asset_sub_class", "light"] | |
], | |
"layout": { | |
"text-field": "{asset_sub_class}", | |
"text-font": ["Open Sans Regular"], | |
"text-size": 10, | |
"text-allow-overlap": true, | |
"visibility": "none", | |
"icon-image": "{square-stroked.svg}", | |
"icon-allow-overlap": true, | |
"icon-rotation-alignment": "auto", | |
"icon-ignore-placement": true, | |
"text-anchor": "bottom", | |
"text-radial-offset": 0.75 | |
} | |
}, | |
{ | |
"id": "17. RDCB Wastewater Collection Lines", | |
"type": "line", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": ["all", ["==", "system_name", "RDCB Wastewater Collection"]], | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "17. RDCB Wastewater Collection", | |
"type": "circle", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": ["all", ["==", "system_name", "RDCB Wastewater Collection"]], | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "18. Reclaimed Water System", | |
"type": "line", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "18. Reclaimed Water System Points", | |
"type": "circle", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": ["all", ["==", "system_name", "Reclaimed Water System"]], | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "19. Stormwater Collection Lines", | |
"type": "line", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "19. Stormwater Collection Points", | |
"type": "circle", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": ["all", ["==", "system_name", "Stormwater Collection"]], | |
"layout": {"visibility": "none"}, | |
"paint": {"circle-color": "rgba(0, 0, 0, 1)"} | |
}, | |
{ | |
"id": "20. Stormwater Collection and Treatment", | |
"type": "line", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Stormwater Collection and Treatment"] | |
], | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "20. Stormwater Collection and Treatment Point", | |
"type": "circle", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Stormwater Collection and Treatment"] | |
], | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "21. Stormwater Collection Network Lines", | |
"type": "line", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": ["all", ["==", "system_name", "Stormwater Collection Network"]], | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "21. Stormwater Collection Network Points", | |
"type": "circle", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": ["all", ["==", "system_name", "Stormwater Collection Network"]], | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "22. Transportation Network Lines", | |
"type": "line", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": ["all", ["==", "system_name", "Transportation Network"]], | |
"layout": {"visibility": "none"}, | |
"paint": {"line-width": 2} | |
}, | |
{ | |
"id": "22. Transportation Network Points", | |
"type": "circle", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": ["all", ["==", "system_name", "Transportation Network"]], | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "23. Vehicle Transportation Lines", | |
"type": "line", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": ["all", ["==", "system_name", "Vehicle Transportation"]], | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "23. Vehicle Transportation Points", | |
"type": "circle", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": ["all", ["==", "system_name", "Vehicle Transportation"]], | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "24. Wastewater Collection Lines", | |
"type": "line", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": ["all", ["==", "system_name", "Wastewater Collection"]], | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "24. Wastewater Collection Points", | |
"type": "circle", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": ["all", ["==", "system_name", "Wastewater Collection"]], | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "25. Wastewater Collection and Treatment Lines", | |
"type": "line", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Wastewater Collection and Treatment"] | |
], | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "25. Wastewater Collection and Treatment Points", | |
"type": "circle", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Wastewater Collection and Treatment"] | |
], | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "26. Wastewater Collection and Treatment System Lines", | |
"type": "line", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Wastewater Collection and Treatment System"] | |
], | |
"layout": {"visibility": "none"}, | |
"paint": {"line-width": 2, "line-color": "rgba(223, 23, 23, 1)"} | |
}, | |
{ | |
"id": "26. Wastewater Collection and Treatment System Points", | |
"type": "circle", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Wastewater Collection and Treatment System"] | |
], | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "26. Wastewater Collection and Treatment System Fill", | |
"type": "fill", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Wastewater Collection and Treatment System"] | |
], | |
"layout": {"visibility": "none"}, | |
"paint": {"fill-color": "rgba(10, 245, 255, 1)"} | |
}, | |
{ | |
"id": "27. Water Treatment and Distribution Lines", | |
"type": "line", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Water Treatment and Distribution"] | |
], | |
"layout": {"visibility": "none"}, | |
"paint": {"line-color": "rgba(0, 255, 88, 1)"} | |
}, | |
{ | |
"id": "27. Water Treatment and Distribution Points", | |
"type": "circle", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Water Treatment and Distribution"] | |
], | |
"layout": {"visibility": "none"}, | |
"paint": { | |
"circle-color": "rgba(227, 0, 255, 1)", | |
"circle-radius": 3, | |
"circle-pitch-alignment": "viewport", | |
"circle-translate-anchor": "map", | |
"circle-stroke-color": "#E300FF" | |
} | |
}, | |
{ | |
"id": "27. Water Treatment and Distribution Fill", | |
"type": "fill", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Water Treatment and Distribution"] | |
], | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "28. Water Treatment and Distribution Network Lines", | |
"type": "line", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Water Treatment and Distribution Network"] | |
], | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "28. Water Treatment and Distribution Network Points", | |
"type": "circle", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Water Treatment and Distribution Network"] | |
], | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "28. Water Treatment and Distribution Network Fill", | |
"type": "fill", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Water Treatment and Distribution Network"] | |
], | |
"layout": {"visibility": "none"} | |
}, | |
{ | |
"id": "Test Public Transportation System Symbols", | |
"type": "symbol", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": [ | |
"all", | |
["==", "system_name", "Public Transportation System"], | |
["==", "asset_sub_class", "traffic sign or signal"] | |
], | |
"layout": { | |
"text-field": "{asset_sub_class}", | |
"text-font": ["Open Sans Regular"], | |
"text-size": 10, | |
"text-allow-overlap": true, | |
"visibility": "none", | |
"icon-image": "{square-stroked.svg}", | |
"icon-allow-overlap": true, | |
"icon-rotation-alignment": "auto", | |
"icon-ignore-placement": true | |
} | |
}, | |
{ | |
"id": "Test Public Transportation System Points-copy", | |
"type": "circle", | |
"source": "MyCivitasStaging", | |
"source-layer": "default", | |
"filter": ["all", ["==", "system_name", "Public Transportation System"]], | |
"layout": {"visibility": "none"} | |
} | |
], | |
"id": "903to775d" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment