keplergl / kepler.gl

Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
http://kepler.gl
MIT License
10.29k stars 1.73k forks source link

[Bug]Default Basemap Not Displaying #2484

Closed andrew20012656 closed 9 months ago

andrew20012656 commented 9 months ago

After clone the repo and install it locally, I managed to upload some custom datasets and correctly display the layers. However, now I'm having trouble displaying the default basemaps (E.g. Dark, Light, etc.). Can anyone please suggest where I should look into/ where might be causing the problem? Thanks.

Expected behavior Displaying the basemap as background to the layers.

Screenshots

Screenshot 2023-12-19 at 2 59 22 AM
ibgreen commented 9 months ago

If you are building kepler.gl on your own, you likely need to create and supply your own mapbox token, or use non-mapbox basemaps such as the CARTO basemaps. As it is external to the project, you'll need to search for info on how to do that, but there is some info in the deck.gl docs and also in the react-map-gl docs that might get you started.

andrew20012656 commented 9 months ago

If you are building kepler.gl on your own, you likely need to create and supply your own mapbox token, or use non-mapbox basemaps such as the CARTO basemaps. As it is external to the project, you'll need to search for info on how to do that, but there is some info in the deck.gl docs and also in the react-map-gl docs that might get you started.

When you say "supply your own mapbox token", do you mean just the token is needed? I'm wondering if the default basemaps are included in the repository. Thanks!