以前、このためのHTMLコードを見つけたことがあるのですが、ウェブマップのポップアップで、属性リストの前または上に写真を表示したいと思っています。具体的には、建物の輪郭をクリックしたときに、まず写真が表示されるようにしたいです。この方法がわかるカスタムポップアップへのリンク、またはカスタム設定に入力するHTMLコードを教えていただける方がいれば、ぜひお願いします。
I got mine to work by just using an img tag in the HTML Source section of the custom popup configuration window. Here's the code that I used:
<img alt="picture" src="{Images}" style="width:231px;height:158px;" />
Where {Images} is the field that contains the URL of the photo.
Hope that helps!
Thank you so much! That is exactly what I was needing!
Great, glad I could help! It would probably be good if you could mark this question as "answered" for the forum.
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.