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.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.