Skip to content

Commit

Permalink
switched ESRI basemap config and add layer xsl to use hosted versions…
Browse files Browse the repository at this point in the history
… of files
  • Loading branch information
reed-tom committed Apr 23, 2024
1 parent 5b6b411 commit 271435a
Show file tree
Hide file tree
Showing 13 changed files with 9 additions and 26,509 deletions.
10,427 changes: 0 additions & 10,427 deletions public/basemap/ESRI_Canada_Topographic.json

This file was deleted.

1 change: 0 additions & 1 deletion public/basemap/ESRI_DarkGrey.json

This file was deleted.

1 change: 0 additions & 1 deletion public/basemap/ESRI_DarkGreyBackground.json

This file was deleted.

5,020 changes: 0 additions & 5,020 deletions public/basemap/ESRI_LightGrey.json

This file was deleted.

1 change: 0 additions & 1 deletion public/basemap/ESRI_LightGreyBackground.json

This file was deleted.

1 change: 0 additions & 1 deletion public/basemap/ESRI_Streets.json

This file was deleted.

1 change: 0 additions & 1 deletion public/basemap/ESRI_Streets_Background.json

This file was deleted.

5,566 changes: 0 additions & 5,566 deletions public/basemap/ESRI_Streets_Night.json

This file was deleted.

5,459 changes: 0 additions & 5,459 deletions public/basemap/ESRI_Streets_Night_Background.json

This file was deleted.

1 change: 0 additions & 1 deletion public/basemap/ESRI_WorldTopoCanadianStyle.json

This file was deleted.

22 changes: 0 additions & 22 deletions public/xsl/esri_transform.xsl

This file was deleted.

12 changes: 6 additions & 6 deletions src/map/basemapSwitcherConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"url": "https://basemaps.arcgis.com/arcgis/rest/services/World_Basemap_v2/VectorTileServer",
"type": "ESRI_VECTOR_TILED",
"isOverlay": true,
"rootPath": "/basemap/ESRI_WorldTopoCanadianStyle.json",
"rootPath": "https://opengis.simcoe.ca/static/basemap/ESRI_WorldTopoCanadianStyle.json",
"excludePrint": true
},
{
Expand All @@ -43,7 +43,7 @@
"url": "https://tiles.arcgis.com/tiles/B6yKvIZqzuOr0jBR/arcgis/rest/services/Canada_Topographic/VectorTileServer",
"type": "ESRI_VECTOR_TILED",
"isOverlay": true,
"rootPath": "/basemap/ESRI_Canada_Topographic.json",
"rootPath": "https://opengis.simcoe.ca/static/basemap/ESRI_Canada_Topographic.json",
"maxZoom": 23,
"excludePrint": true
}
Expand All @@ -64,14 +64,14 @@
"url": "https://basemaps.arcgis.com/arcgis/rest/services/World_Basemap_v2/VectorTileServer",
"type": "ESRI_VECTOR_TILED",
"isOverlay": true,
"rootPath": "/basemap/ESRI_LightGreyBackground.json",
"rootPath": "https://opengis.simcoe.ca/static/basemap/ESRI_LightGreyBackground.json",
"excludePrint": true
},
{
"url": "https://tiles.arcgis.com/tiles/B6yKvIZqzuOr0jBR/arcgis/rest/services/Canada_Topographic/VectorTileServer",
"type": "ESRI_VECTOR_TILED",
"isOverlay": true,
"rootPath": "/basemap/ESRI_LightGrey.json",
"rootPath": "https://opengis.simcoe.ca/static/basemap/ESRI_LightGrey.json",
"excludePrint": true
}
]
Expand All @@ -91,14 +91,14 @@
"url": "https://basemaps.arcgis.com/arcgis/rest/services/World_Basemap_v2/VectorTileServer",
"type": "ESRI_VECTOR_TILED",
"isOverlay": true,
"rootPath": "/basemap/ESRI_Streets_Night_Background.json",
"rootPath": "https://opengis.simcoe.ca/static/basemap/ESRI_Streets_Night_Background.json",
"excludePrint": true
},
{
"url": "https://tiles.arcgis.com/tiles/B6yKvIZqzuOr0jBR/arcgis/rest/services/Canada_Topographic/VectorTileServer",
"type": "ESRI_VECTOR_TILED",
"isOverlay": true,
"rootPath": "/basemap/ESRI_Streets_Night.json",
"rootPath": "https://opengis.simcoe.ca/static/basemap/ESRI_Streets_Night.json",
"minZoom": 0,
"maxZoom": 23,
"excludePrint": true
Expand Down
6 changes: 3 additions & 3 deletions src/sidebar/components/tools/addlayer/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
],
"arcgis": {
"INFO_FORMAT": "text/plain",
"XSL_TEMPLATE": "/xsl/esri_transform.xsl"
"XSL_TEMPLATE": "https://opengis.simcoe.ca/static/xsl/esri_transform.xsl"
},
"dataTypes": [
{
Expand Down Expand Up @@ -271,7 +271,7 @@
"serviceUrl": "https://ws.lioservices.lrc.gov.on.ca/arcgis1071a/services",
"urlSuffix": "/MapServer/WMSServer",
"INFO_FORMAT": "text/plain",
"XSL_TEMPLATE": "/xsl/esri_transform.xsl"
"XSL_TEMPLATE": "https://opengis.simcoe.ca/static/xsl/esri_transform.xsl"
},

{
Expand All @@ -284,7 +284,7 @@
"serviceUrl": "https://maps.simcoe.ca/arcgis/services",
"urlSuffix": "/MapServer/WMSServer",
"INFO_FORMAT": "text/plain",
"XSL_TEMPLATE": "/xsl/esri_transform.xsl",
"XSL_TEMPLATE": "https://opengis.simcoe.ca/static/xsl/esri_transform.xsl",
"filterServices": ["Public/Operational_Layers_Dynamic"]
}
]
Expand Down

0 comments on commit 271435a

Please sign in to comment.