Does anyone know if there is code that can be used to check / uncheck the legend option "Only show features visible in the map extent"?
I seem to spend hours sorting through my layouts turning this on.
Does this work for you?
showVisibleFeatures : A Boolean that controls whether the legend item displays all values or only those values that appear in the visible extent.
Please check the sample code in LegendItem
Perfect - thank you!
Hi,
I try the property showVisibleFeatures and dont work. I try other property's and work fine, but showVisibleFeatures fail. Anyone with same problem? A bug ???
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.