Enabling ability to change basemap in Carto?

I have a carto web map that I would like to be able to toggle between the Carto basemap and satellite imagery. Similar to how this is easily done in ArcGIS Online with "Basemap Gallery" widget.

Geographic Information Systems Asked by mdn on January 1, 2021

1 Answers

One Answer

That's not possible with a BUILDER embed map, you need to develop a custom CARTO application using CARTO.js or CARTO VL and it's actually independant of any CARTO especific technology since you would be using pure leaflet or mapbox gl code. You can find an example for mapbox here and for leaflet there's another here.

Answered by Jorge Sanz on January 1, 2021

Add your own answers!

Related Questions

How to convert CityGML (LoD2) to Digital Surface Model?

0  Asked on January 15, 2021 by dungu_byte


Making leaflet control open by default

1  Asked on January 15, 2021 by ethereal


Workflow automation QGIS – populating attribute table

1  Asked on January 15, 2021 by curious-girl


Transfer feature details from WMS to raster file

1  Asked on January 15, 2021 by fran


ogr2ogr MIF to KML fails on writing kml in linux

2  Asked on January 15, 2021 by hugo-koopmans


Ask a Question

Get help from others!

© 2022 All rights reserved.