Hello,
I am using the notebook provided by the documentation but when running the code i keep getting this error. It seems some of the code has been deprecated. The documentation in this exercise may need to be updated.
Hi @OscarGaleas,
What version of the API are you using?
import arcgis print(arcgis.__version__)
The Map class came in as of 2.4.0 replacing the WebMap class. So make sure you are on 2.4.0+.
Although, when setting the basemap it would look more like below, accessing the BasemapManager and then the basemap property.
m.basemap.basemap = b
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.