Skip to content

Commit

Permalink
fix: migrate to SITLA vector tiles
Browse files Browse the repository at this point in the history
  • Loading branch information
steveoh committed Apr 9, 2024
1 parent 837b3b7 commit 5f05612
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions lib/app/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ define([
urls: {
mapService: baseUrl + 'MapService/MapServer',
gpService: baseUrl + 'GenerateReport/GPServer/Generate Report/execute',
landOwnership: 'https://gis.trustlands.utah.gov/server' +
'/rest/services/Ownership/UT_SITLA_Ownership_LandOwnership_WM/MapServer'
landOwnership: 'https://gis.trustlands.utah.gov/hosting/rest/services/Hosted/' +
'Land_Ownership_WM_VectorTile/VectorTileServer'
},
zoomLocationsIndex: 11,
zoomLocationsField: 'Name',
Expand Down
8 changes: 3 additions & 5 deletions lib/app/mapController.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ define([
'dojo/_base/lang',

'esri/geometry/Extent',
'esri/geometry/Point',
'esri/graphic',
'esri/layers/ArcGISDynamicMapServiceLayer',
'esri/layers/VectorTileLayer',

'layer-selector/LayerSelector',

Expand All @@ -37,9 +36,8 @@ define([
lang,

Extent,
Point,
Graphic,
ArcGISDynamicMapServiceLayer,
VectorTileLayer,

LayerSelector,

Expand Down Expand Up @@ -85,7 +83,7 @@ define([
quadWord: config.quadWord,
baseLayers: ['Terrain', 'Hybrid', 'Lite', 'Topo'],
overlays: ['Address Points', {
Factory: ArcGISDynamicMapServiceLayer,
Factory: VectorTileLayer,
url: config.urls.landOwnership,
id: 'Land Ownership',
opacity: 0.5
Expand Down

0 comments on commit 5f05612

Please sign in to comment.