ArcGIS Blog

Mapping

ArcGIS Online

Update Basemap in Your Web Maps

By Deane Kensok

With the new year approaching, many of us are hoping to get off to a fresh start with a few New Year’s resolutions. In addition to any diet or exercise goals you might have for yourself (I’m pretty sure I ate more cookies than Santa this holiday season), may I suggest one? Review and update your Online content to ensure that you are still sharing your best work!

In particular, I would encourage you to review your web maps to confirm they are using the latest basemaps and other layers. With the December 2021 release of ArcGIS Online, there are some new tools to help you do that more easily.

Layer Status

As mentioned in the latest “What’s new in ArcGIS Online” blog article, you can now see layer status information in your web map item details. This includes any layers that have been marked as deprecated. These deprecated layers are still available but no longer recommended for use by the publisher, and you should update your web map to remove or replace them to avoid future issues.

As we’ve announced previously, several of Esri’s raster basemaps moved to mature support in July 2021. If your web map is referencing one of these raster basemaps, you should notice that it is marked as deprecated in the item details (such as below).

Basemap with Deprecated Layer

Update Web Map

If you find a web map that has a basemap layer marked as deprecated, you will want to update the web map to use another basemap. The easiest way to do that is via the Map Viewer basemap gallery, assuming you are using Esri vector basemaps in your gallery. Check out this blog article to confirm if you are, and learn how to update the basemap gallery if you are not.

Once you have confirmed that you are using the Esri vector basemaps in your basemap gallery, then it is a simple process to update your web map.

  1. Open in Map Viewer: on web map item details page, click button to Open in Map Viewer (or Map Viewer Classic).
  2. Open Basemap Gallery: in Map Viewer, click Basemap tool to display basemap gallery of options.
  3. Select a Basemap: after considering your options, choose the basemap style that will best support your web map.
  4. Save Web Map: once you’ve made a selection, click Save tool to update your web map, and test the behavior of the map.
  5. Check Item Details: just to be sure, reload the web map item details page to verify the basemap layer is no longer deprecated.

Voila! Your web map has a fresh basemap and you should be set for 2022 and beyond. If this web map is referenced by one or more web apps, the app(s) will use the new basemap the next time they are opened.

Getting Started

If you are like me and you have created more than a few web maps over the years that might need an update, below are some suggested steps to get started.

  1. View My Content: on the Content page, click My Content tab and then select All My Content in folders list.
  2. Filter Web Maps: scroll down to the Item type filter, and select Maps and Web Maps.
  3. Sort Web Maps: sort your web maps to find the maps you’d want to review first, such as the oldest (e.g. Date Modified, sort by least recent). You might first review maps that are shared with the public or specific groups before others that are likely less viewed.

While you are reviewing your web maps, you might find other layers from your organization or other organizations that are deprecated or not working properly that you can fix at the same time. You might also want to unshare or even delete some web maps that are no longer needed.

Pro Tip: before you delete a web map or other item, mark it as Deprecated and move it to a separate folder (e.g. ‘Retired’). You can update the item description with info on when it will be retired. After some time (e.g. a month or more), unshare the item before it is deleted. You can add a comment on the item so you remember when it was unshared. After some more time, if no issues have been observed or reported, you may want to delete the item.

I hope this helps refresh your web maps so they serve you well for the coming year(s).

Happy new year … and happy mapping!

Share this article

Subscribe
Notify of
3 Comments
Oldest
Newest
Inline Feedbacks
View all comments
Joe Guzi(@josephguzi-2-2)
December 30, 2021 12:59 pm

Greetings, Thank you for the heads up about updating our web maps. This article was very helpful. The process you outlined seems very manual. I’m exploring a scripting option with the python api and using the embedded jupyter notebook in AGO, but I am having difficulty finding the deprecated status in the json of the basemap. Do you have any suggestions for automating this procedure? Largely, I would like to automate the process to identify which maps need updated and generate a list. I don’t want to have to sift through my web maps, and look at web maps that… Read more »

Joe Guzi(@josephguzi-2-2)
May 19, 2022 11:16 am

To anyone looking for a way to automate this process, I put this little Jupyter Notebook together: ArcGIS Online Basemap Replacement Notebook. Please let me know if you have any questions or if you run into any problems. Thank you for everything and have a delightful day.
Sincerely,
Joe Guzi

P.S. The ArcGIS Blog site is not allowing me to hyperlink to the Notebook. If you look for it at codesharing.arcgis.com, you can find it.

Last edited 3 years ago by Joe Guzi