If you need to display the marker lat/lon the easiest way is to include the lat and lon fields in the query outfields array. If you haven't these fields in the attribute table of your layer you can calculate them in arcmap.
ログインすると、投稿したり、更新をフォローしたりできます。初めてですか?無料アカウントを登録しましょう。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.