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!
waiting online
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).