Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to react-map-gl 7 to use maplibre to allow usage without mapb… #266

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

jonenst
Copy link
Contributor

@jonenst jonenst commented Sep 27, 2023

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Does this PR already have an issue describing the problem?

NO

What kind of change does this PR introduce?

feature

What is the current behavior?

network-map-viewer requires mapboxtoken

What is the new behavior (if this is a feature change)?
no more mapbox token: maplibre 3, react-map-gl 7, deckgl 8.9.18+

Does this PR introduce a breaking change or deprecate an API?
Breaks navigation control, didn't have time to fix it

CBiasuzzi and others added 4 commits May 9, 2023 21:31
… gridstudy-app)

Signed-off-by: Christian Biasuzzi <christian.biasuzzi@soft.it>
Signed-off-by: Christian Biasuzzi <christian.biasuzzi@soft.it>
Signed-off-by: Florent MILLOT <millotflo@gmail.com>
Signed-off-by: Florent MILLOT <millotflo@gmail.com>
…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."

Signed-off-by: HARPER Jon <jon.harper87@gmail.com>
@sonarcloud
Copy link

sonarcloud bot commented Sep 27, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

warning The version of Java (11.0.20) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.
Read more here

@@ -28,6 +28,42 @@ module.exports = {
]
},
resolve: {
//XXX why is this needed ?
// ERROR in ./node_modules/react-map-gl/dist/esm/exports-mapbox.js 16:15-34

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove it ?

Base automatically changed from network_map_viewer to main December 5, 2023 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants