Hello everyone,
I'm trying to simply add x,y points with markers on a newly created webmap via a Python script.
I copied the exact code from the tutorial (https://developers.arcgis.com/python-2-3/guide/tutorials/add-a-point-line-and-polygon/) and I get this error: "'Map' object has no attribute 'draw'" on the map.draw command. (I've also tried a version with a login to my profile instead of the anonymous mode in the tutorial, same error)
I've been at it for a few days, I've searched the community board and the API documentation as well, to no avail.
Any help appreciated.
Thanks!
Solved! Go to Solution.
looks like this is from an older version and might be deprecated, this might be a more up to date tutorioal: https://developers.arcgis.com/python/latest/guide/tutorials/add-a-point-line-and-polygon/
looks like this is from an older version and might be deprecated, this might be a more up to date tutorioal: https://developers.arcgis.com/python/latest/guide/tutorials/add-a-point-line-and-polygon/
Thank you! It works indeed.