0

I want to know when i have imported a web map to arcgis javascript api from arcgis online then how to check whether a given xy coordinate lies inside that web map. I know there is a method in polygons as point in polygon. But I do not know how to convert imported web map to a polygon. need a help.

  • Do you mean the extent or the bounding box of that map? – lynxlynxlynx Apr 1 '18 at 8:35
  • i want to know when i visualize a my own web map to arcgis api then given coordinates are lie on the map area or lie outside the map area – Gaveen Kith Apr 1 '18 at 9:06
  • same as polygon.conatains(point) method. but how it apply like webmap.contains(point) – Gaveen Kith Apr 1 '18 at 9:07
  • Are you asking about if a point is within the initial extent of the web map? – GavinR Apr 1 '18 at 15:33
  • if a point is in the area of the web map or not? means a point is covered by map or not? – Gaveen Kith Apr 2 '18 at 0:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.