こんにちは!
ズームレベルに応じて異なる地域を表示できるかどうか調べています。たとえば、こちらの国勢調査局の地図では、ズームレベルに応じて州、郡、国勢調査区の情報が表示されます。 https://mtgis-portal.geo.census.gov/arcgis/apps/MapSeries/index.html?appid=2566121a73de463995ed2b2fd7ff6eb7
SDK for JS/Onlineを使って、これをどのように実現できますか?また、ズームレベルが変わって新しい地域が表示されるのに合わせて、凡例を更新することは可能ですか?
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!
ログインすると、投稿したり、更新をフォローしたりできます。初めてですか?無料アカウントを登録しましょう。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.