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 authored and stdavis committed Apr 11, 2024
1 parent 0ffc48a commit a39b193
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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
6 changes: 3 additions & 3 deletions lib/app/mapController.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ define([
'dojo/_base/lang',

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

'layer-selector/LayerSelector',
Expand All @@ -37,8 +37,8 @@ define([
lang,

Extent,
Point,
Graphic,
VectorTileLayer,
ArcGISDynamicMapServiceLayer,

LayerSelector,
Expand Down Expand Up @@ -85,7 +85,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 a39b193

Please sign in to comment.