Olá!
Estou pesquisando para saber se seria possível visualizar diferentes regiões em diferentes níveis de zoom. Um exemplo seria este mapa do censo, que mostra informações no nível estadual, municipal e, depois, de setor censitário em diferentes níveis de zoom. https://mtgis-portal.geo.census.gov/arcgis/apps/MapSeries/index.html?appid=2566121a73de463995ed2b2fd7ff6eb7
Como isso pode ser feito usando o SDK for JS/Online? Também é possível atualizar a legenda conforme o nível de zoom muda para uma nova região?
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!
Os membros conectados podem publicar, acompanhar atualizações e muito mais. É novo por aqui? Cadastre-se gratuitamente.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.