After trying to run cell 3 I get this error message.
" property 'basemap' of 'Map' object has no setter "
I have logged out and logged back in and still get the message. I am wondering if on cell 2 I am not actually signed in?
This is run on my desktop and my version is 3.5
The course is outdated and is for ArcGIS API for Python 2.3 and older. Since 2.4 the WebMap class has been replaced with the Map class. The Map class has a property called basemap which is a BasemapManager object, which in turn has a basemap property to set the basemap for a Map.
So it would look like this...
map1.basemap.basemap = "streets"
Here is another screenshot for more context of the steps I am working through within 'Performing Analysis Using ArcGIS API for Python' course.
First screenshot is of my error message, second is the steps leading up to it.
Thank you!
I will take this into account.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.