こんにちは、
AGOLのWebマップで、Arcade式を使って変数の値に応じてラベルの背景色を設定できますか?たとえば、「Year」という変数が2020、2021、2022などのフィーチャがあります。「Year」の値に応じてラベルの背景色を設定したいです。(「Year」=2020なら背景色=#006fde、それ以外は…)
Arcadeをいろいろ試してみましたが、うまくいきません。これ以上時間をかける前に、可能かどうか知りたいです。
ありがとうございます。
Chris
Unfortunately, no. Arcade can't be used to access the other properties of a label class.
The best you can do is create separate label classes for each year and manually configure the color of each. Tedious, but gets the end result you want.
Thanks Josh!
サインインすると、投稿したり、更新をフォローしたりできます。初めての方ですか?無料アカウントを登録しましょう。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.