A project to track tasks associated with transitioning web apps to web mercator base maps and away from the old WSUT services.
agrc-layer-selector
layer-selector
layer-selector
to the require packagesuserConfig.packages
to get templates inlinedlayer-selector/resources/LayerSelector.css
xhr(require.baseUrl + 'secrets.json', {
handleAs: 'json',
sync: true
}).then(function (secrets) {
window.AGRC.quadWord = secrets.quadWord;
}, function () {
throw 'Error getting secrets!';
});
agrc/widgets/map/BaseMapSelector
layer-selector
new BaseMapSelector({
map: this.map,
quadWord: config.quadWord,
baseLayers: ['Hybrid', 'Lite', 'Terrain', 'Topo', 'Color IR']
});
map.on('load')
may be firing earlier than before you switched to using layer-selectoragrc/widgets/map/BaseMap
new BaseMap(mapDiv, {
useDefaultBaseMap: false,
extent: new Extent({
xmax: -11762120.612131765,
xmin: -13074391.513731329,
ymax: 5225035.106177688,
ymin: 4373832.359194187,
spatialReference: {
wkid: 3857
}
})
});
agrc.widgets
to version >= 4.0.0
agrc/widgets/locate/FindAddress
zoomLevel
to 17
to handle new tile schemaagrc/widgets/locate/MagicZoom
apiKey
ctor propertywkid
ctor propertysearchLayer
if not pointing at gnis layersearchField
to query the searchLayer
fieldmapServiceURL
searchLayerIndex
agrc/widgets/locate/FindGeneric
with MagicZoom