From cea9cedbd3faea68814464030e8bc022a5bd6529 Mon Sep 17 00:00:00 2001 From: steveoh Date: Thu, 4 Apr 2024 17:33:59 -0700 Subject: [PATCH] fix: use SITLA Vector Tile service refs https://github.com/agrc/planning-queue/issues/259 --- src/components/pageElements/Map.jsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/pageElements/Map.jsx b/src/components/pageElements/Map.jsx index ab495bc..ff73a78 100644 --- a/src/components/pageElements/Map.jsx +++ b/src/components/pageElements/Map.jsx @@ -36,8 +36,7 @@ esriConfig.assetsPath = '/assets'; const urls = { landownership: - 'https://gis.trustlands.utah.gov/server/' + - '/rest/services/Ownership/UT_SITLA_Ownership_LandOwnership_WM/FeatureServer/0', + 'https://gis.trustlands.utah.gov/hosting/rest/services/Hosted/Land_Ownership_WM_VectorTile/VectorTileServer', parcels: 'https://services1.arcgis.com/99lidPhWCzftIe9K/arcgis/rest/services/UtahStatewideParcels/FeatureServer', plss: 'https://tiles.arcgis.com/tiles/99lidPhWCzftIe9K/arcgis/rest/services/UtahPLSS/VectorTileServer', @@ -112,7 +111,7 @@ export default function PlssMap({ color, dispatch, drawerOpen, state }) { overlays: [ 'Address Points', { - Factory: FeatureLayer, + Factory: VectorTileLayer, url: urls.landownership, id: 'Land Ownership', opacity: 0.3,