Skip to content

Commit

Permalink
Upgrade to react-map-gl 7 to use maplibre to allow usage without mapb…
Browse files Browse the repository at this point in the history
…ox token and other tile sources

deckgl needs 8.9.18+ according to react-map-gl docs
https://visgl.github.io/react-map-gl/docs/upgrade-guide#upgrading-to-v71
"If you use the Map component as a child of the DeckGL component from deck.gl, upgrade deck.gl to >=8.9.18."
  • Loading branch information
jonenst committed Sep 27, 2023
1 parent e4ccfe8 commit ff9fa9d
Show file tree
Hide file tree
Showing 6 changed files with 850 additions and 338 deletions.
7 changes: 4 additions & 3 deletions network-map-viewer/demo/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion network-map-viewer/demo/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ function App() {
selectedRow: {
background: '#545C5B',
},
mapboxStyle: 'mapbox://styles/mapbox/dark-v9',
//TODO if we implement light/dark themes in this demo, we can use the following variant urls
//mapBaseUrl: 'https://server.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer',
mapBaseUrl: 'https://server.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Dark_Gray_Base/MapServer',
aggrid: 'ag-theme-alpine-dark',
});

Expand Down
Loading

0 comments on commit ff9fa9d

Please sign in to comment.