You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CSS should be included like so: import 'mapbox-gl/dist/mapbox-gl.css'; This would also allow you to easily opt-out of the standard CSS or overwrite it.
However what happens is that the CSS is included without having to do this... looking at the developer tools it's being imported from https://api.tiles.mapbox.com/mapbox-gl-js/v2.4.1/mapbox-gl.css.
Why is this happening, if the Documentation states it must be manually imported? And how can I stop this if I wanted to stop it from being imported (e.g. loading a custom localized one).
The text was updated successfully, but these errors were encountered:
Description
According to the Documentation here: http://visgl.github.io/react-map-gl/docs/get-started/get-started#styling
The CSS should be included like so:
import 'mapbox-gl/dist/mapbox-gl.css';
This would also allow you to easily opt-out of the standard CSS or overwrite it.However what happens is that the CSS is included without having to do this... looking at the developer tools it's being imported from
https://api.tiles.mapbox.com/mapbox-gl-js/v2.4.1/mapbox-gl.css
.Why is this happening, if the Documentation states it must be manually imported? And how can I stop this if I wanted to stop it from being imported (e.g. loading a custom localized one).
The text was updated successfully, but these errors were encountered: