Hi,
I am trying to find a particular lat long is within a zoomed-in extent.
Sample code is highly appreciated!!!
Thanks
Chitra
Here is a sample I put together: https://codepen.io/benesri/pen/dyWmRvv?editors=1001
It uses the Extent's contain method and prints true (extent contains point) or false in the console. It rechecks every time after zooming/panning.
Thank you very much. I will try it out.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.