ArcGIS Onlineで作成したマップやアプリについて質問があります。レイヤーはマップ上に表示されているときにのみ、凡例に表示されるようです。
マップの縮尺がレイヤーの表示開始縮尺に達していない場合(縮尺依存の設定がある場合)、そのレイヤーはマップ上に表示されません。しかし、ユーザーが拡大するとレイヤーが表示され、凡例にも表示されます。
これは凡例のデフォルトの動作でしょうか?そうであれば、縮尺依存の設定がある場合でも、レイヤーを常に凡例に表示する方法はありますか?
Hi Patrick,
I don't think you can change this behavior in the web map, but you can definitely change it in web apps. Go to the Widgets tab and edit the Legend widget (this could likely be within the Header Controller widget at the top). Uncheck the box to respect the current map scale. That way, as long as the layer is turned on in the TOC, it will appear in the legend.
Hope that helps!
Thanks for the tip. Your example appears to be Web App Builder. Does your answer also apply to StoryMaps and configurable apps?
Not that I know of, but then again I haven't used many of the templates. I also go to Web AppBuilder by default since it allows for much more customization of the widgets.
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.