こんにちは、
ArcGISサーバーでホストされている動的マップレイヤーのカスタムポップアップを扱っています。添付ファイルを有効にする方法を調べています。フィーチャーレイヤーの添付ファイルに関する例は一つだけ見つけましたが、動的マップレイヤーについては何も見つかりませんでした。これはそもそも可能なのでしょうか?
ありがとうございます!
we don't have any attachment samples because Esri Leaflet doesn't provide any wrappers to simplify working with them. its absolutely possible, but its up to you to write the business logic to do the querying and display the results.
L.esri.Task and L.esri.request are both low level utility classes to simplify making requests to ArcGIS Online and ArcGIS Server services that would be worth taking a look at. if you want to give it a shot and can take a stab at writing some code, i'd be happy to help further.
Thanks!
https://github.com/jgravois/esri-leaflet-related/blob/master/src/EsriLeafletRelated.js
Thank you! I am completely new to web development. Can you point to any examples of these classes being used in a similar way?
Sorry, the attachments are already enabled in the geodatabase before the map is shared as a service on the server. On our rest services menu, Has Attachments = true. I guess what I'm asking is how do I see the attachments in the custom popup in the dynamic map layer? I can't find any examples of this on the ESRI Leaflet page.
Hi Lloyd,
Since you are working with an ArcGIS Server service, you will need to enable attachments at the feature class level.
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.