Switching between basemaps providers produces static maps without basemaps
See original GitHub issueContext
When using the Image Export feature, we’ve seen that switching from a Google Maps basemap to another one from a different provider (Positron, for instance) produces images with just the geometries and no basemaps.
On a first analysis, it seems that is a problem with the map instantiation (it doesn’t occur when switching the basemaps).
Steps to Reproduce
Please break down here below all the needed steps to reproduce the issue
- Enable the
static-maps
feature flag. - Create a map with a Google Maps basemap.
- Export an image.
- Change the basemap (to Positron, for example)
- Export an image again.
Current Result
The first image is exported with the Google Maps basemap, but the second doesn’t have any.
Expected result
Both images should have basemaps.
Browser and version
Any browser and version.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Alternative basemaps for leaflet - GIS Stack Exchange
So when I started, I used a standard map from OpenStreetMaps, using the following code: var map = L.map('map').setView([50, 9] ...
Read more >Basemaps—ArcGIS Pro | Documentation
Basemaps are authoritative maps that are assembled and curated by Esri. Both vector and imagery-based basemap content are updated approximately every three ...
Read more >Free base-maps for static maps using Geopandas and ...
In this quick tutorial, I am going to show you how to use contextily along with Geopandas in Jupyter Notebook to produce some...
Read more >QuickMapServices: easy basemaps in QGIS - NextGIS
Desktop GIS have different tools for adding basemaps. QGIS, for example, has its own providers and 3rd-party plugins to access those services.
Read more >6 leaflet | Making Maps with R - Bookdown
First we create our basemap with leaflet() and add different provider tiles and a layers control so that users can switch between the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Taking a look right now.
Finally decided with @javisantana to fix it in an easy way due to it is a specific case (change from one provider to another only happens in Builder). We will spend time in https://github.com/CartoDB/cartodb/issues/8906 in the near future 🎱 .