私はCounty ArcServer REST mapserviceを持っており、ポリゴンにラベルを付けたいです。 <\/P>
<\/P>
Esriはフィーチャサービスの素晴らしい例を示していますが、ダイナミックサービスの例はありません。<\/P>
誰か例を知っていますか?<\/P>
the easiest thing to do would be to either turn on labels for the layer in the existing service or publish another service with labels.
Send me an e-mail, I’ll send some commented code …
BTW, I like Carlisle, my parents were there when I went to Ship.
Bill Chappell
ITS Group - GIS Developer
800 North Pearl Street- Room 222
Menards, NY 12204
518-408-0185
William.Chappell@Its.ny.gov<mailto:William.Chappell@Its.ny.gov>
Bill, how have you created dynamic legends from feature services? I saw something on GitHub, but couldn't figure it out.
I like your answer, I've played with leaflet enough that I just now handle a dynamic service as a feature service to enable the better drawing, using color symbology, popups, and dynamic legends. Also putting the labels in a separate service allows you to put them in a layer switcher and the user can turn the layer on/off himself.
Bill,
We've dealt with this issue a few different ways. I'll list them to give you an idea of what you could do.
Sometimes the simplest answer is the best, I'm not sure why I was trying to do this the hard way.
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.