feat: show tribal layer on open-source map

This commit is contained in:
Chris Alfano 2024-12-10 11:35:54 -05:00 committed by Carlos Felix
commit bc9a58f342
12 changed files with 111 additions and 361 deletions

View file

@ -1,6 +1,10 @@
path = require('path');
// https://github.com/maplibre/maplibre-gl-js/issues/83#issuecomment-877012839
// This is require to use react-map-gl 6.x with maplibre
// See: https://github.com/visgl/react-map-gl/blob/v6.1.21/docs/get-started/get-started.md#using-with-a-mapbox-gl-fork
//
// In react-map-gl 7.x this is no longer needed: https://visgl.github.io/react-map-gl/docs/get-started
//
exports.onCreateWebpackConfig = ({stage, loaders, actions}) => {
actions.setWebpackConfig({
devtool: 'eval-source-map',