How to use react-map-gl with maplibre-gl #1482
-
I am currently taking my first steps in using maplibre together with react-map-gl. I have read the documentation about how to use a fork of mapbox. I have adapted
With the following code I see the map from Maptiler a few seconds, which is loaded via maplibre.
Then it disappears and I see this error message in the console of my browser.
If I use the line
But I don't want to need a mapbox token any more. I asked this question here as well. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Not familiar with your setup, but your config override does not work. One would never rewrite |
Beta Was this translation helpful? Give feedback.
Not familiar with your setup, but your config override does not work. One would never rewrite
module.exports
in a function. You should print your manipulated config object to console to make sure that your manipulation code is actually called.