Any sample code available for imageService.identify(params, requestOptions?)?
I could not figure out on how to pass ArcGIS REST image service URL to identify method of imageService, something similar to identify.identify(url, params, requestOptions?).
Hi there,
So our documentation is missing the url parameter on imageService.identify. We will get this fixed in the next release. If you are using JavaScript then you can pass the url as the first parameter (imageService.identify(url, params, options).
You can also add your imageService as a layer then setup a popupTemplate on the layer.
Thanks for bringing this issue to our attention.
Here's an example of calling the ImageryLayer.identify():https://codepen.io/john-grayson/pen/JjOdPGY
Thank you @UndralBatsukh. Sometime back I tried by passing url as first parameter and it worked.
When calling the 'identify()' method on the ImageService you don't need the URL parameter as the API will know that from the ImageSerivce itself.
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.