Hallo!
Ik onderzoek of het mogelijk is om op verschillende zoomniveaus verschillende regio’s weer te geven. Een voorbeeld is deze kaart van het Census Bureau, waarop informatie op staatsniveau, provincieniveau en vervolgens tractniveau wordt weergegeven op verschillende zoomniveaus. https://mtgis-portal.geo.census.gov/arcgis/apps/MapSeries/index.html?appid=2566121a73de463995ed2b2fd7ff6eb7
Hoe kan dit worden gedaan met SDK for JS/Online? Is het ook mogelijk om de legenda bij te werken wanneer het zoomniveau verandert en er een nieuwe regio wordt weergegeven?
If your JavaScript app is consuming a web map, just adjust the scale dependent visibility of each layer (or group them and adjust the visibility of the group) in the web map. The legend will automatically adjust to show the layers that are visible.
If your app is not consuming a web map, you can adjust the minScale and maxScale properties of an individual layer object.
Hope that helps.
Thanks!
Ingelogde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Maak gratis een account aan.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.