Last active
November 15, 2022 04:13
-
-
Save nf-s/7ee61e28a9edebdbb631196d9682b3a6 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
{ | |
"homeCamera": { | |
"north": -8, | |
"east": 158, | |
"south": -45, | |
"west": 109 | |
}, | |
"catalog": [ | |
{ | |
"id": "sa1-mvt", | |
"name": "SA1 boundaries", | |
"type": "mvt", | |
"layer": "FID_SA1_2011_AUST", | |
"url": "https://vector-tiles.terria.io/FID_SA1_2011_AUST/{z}/{x}/{y}.pbf", | |
"minimumZoom": 0, | |
"maximumNativeZoom": 12, | |
"maximumZoom": 28, | |
"lineColor": "red", | |
"idProperty": "SA2_5DIG11" | |
}, | |
{ | |
"name": "Mapbox vector tiles Test", | |
"type": "mvt", | |
"url": "http://ci.terria.io/protomaps-hightlight/build/TerriaJS/test/mvt/single-layer-mvt/{z}/{x}/{y}.pbf", | |
"minimumZoom": 0, | |
"maximumNativeZoom": 4, | |
"maximumZoom": 28, | |
"style": { | |
"layers": [ | |
{ | |
"type": "fill", | |
"source-layer": "layer", | |
"paint": { | |
"fill-color": "blue" | |
}, | |
"filter": [ | |
"==", | |
"idProperty", | |
0 | |
] | |
}, | |
{ | |
"type": "line", | |
"source-layer": "layer", | |
"paint": { | |
"line-color": "red", | |
"line-width": 3 | |
}, | |
"filter": [ | |
"==", | |
"idProperty", | |
3 | |
] | |
}, | |
{ | |
"type": "circle", | |
"source-layer": "layer", | |
"paint": { | |
"circle-radius": 5, | |
"circle-color": "#ffffff", | |
"circle-stroke-color": "#000000", | |
"circle-stroke-width": 1 | |
}, | |
"filter": [ | |
"any", | |
[ | |
"==", | |
"idProperty", | |
1 | |
], | |
[ | |
"==", | |
"idProperty", | |
2 | |
] | |
] | |
} | |
] | |
}, | |
"idProperty": "idProperty" | |
}, | |
{ | |
"name": "Mapbox vector tiles Test - fillColor", | |
"type": "mvt", | |
"url": "http://ci.terria.io/protomaps-hightlight/build/TerriaJS/test/mvt/single-layer-mvt/{z}/{x}/{y}.pbf", | |
"minimumZoom": 0, | |
"maximumNativeZoom": 4, | |
"maximumZoom": 28, | |
"layer": "layer", | |
"fillColor": "red", | |
"lineColor": "blue" | |
} | |
], | |
"viewerMode": "3dSmooth", | |
"baseMaps": { | |
"defaultBaseMapId": "basemap-positron", | |
"previewBaseMapId": "basemap-positron" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment