¡Hola!
Estoy investigando si sería posible ver distintas regiones en diferentes niveles de zoom. Un ejemplo sería este mapa de la Oficina del Censo, que muestra información a nivel estatal, de condado y de zona censal en diferentes niveles de zoom. https://mtgis-portal.geo.census.gov/arcgis/apps/MapSeries/index.html?appid=2566121a73de463995ed2b2fd7ff6eb7
¿Cómo se puede hacer esto con SDK for JS/Online? ¿También es posible actualizar la leyenda a medida que se cambia el nivel de zoom para mostrar una nueva región?
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!
Los miembros que hayan iniciado sesión pueden publicar, seguir las novedades y mucho más. ¿Eres nuevo? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.