javascript point in polygon .can not understand esri API about "contains",i think this had an issue, if someone knows, please give me code to have a look. Thankyou!
Hi Liu, can you please explain what you don't understand about the contains function? (Polygon | API Reference | ArcGIS API for JavaScript 3.17 )
The point parameter you pass to the function must be a valid point object with a spatial reference defined (https://developers.arcgis.com/javascript/3/jsapi/point-amd.html#point1).
waiting online
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.