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

[Enhancement] support mapbox url protocol #2693

Merged
merged 3 commits into from
Dec 13, 2024

Conversation

sahitono
Copy link
Contributor

  • Add maplibregl-mapbox-request-transformer"
  • Modify transformRequeset at src/util

Signed-off-by: Sahit Tuntas Sadono sahitsadono@gmail.com

This will allow mapbox protocol and close #2560
But i am not sure where is the map initialized, so i set it at add-map-modal. If there is any other maplibre initializer then i can modify it

* Add maplibregl-mapbox-request-transformer"
* Modify transformRequeset at src/util

Signed-off-by: Sahit Tuntas Sadono <sahitsadono@gmail.com>
Copy link

netlify bot commented Oct 14, 2024

Deploy Preview for keplergl2 ready!

Name Link
🔨 Latest commit 54e67d1
🔍 Latest deploy log https://app.netlify.com/sites/keplergl2/deploys/670d3942fdba2300084807be
😎 Deploy Preview https://deploy-preview-2693--keplergl2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@akre54
Copy link
Collaborator

akre54 commented Oct 14, 2024

Thanks for adding this! You'll probably also want to add it in map-container.tsx

Signed-off-by: Sahit Tuntas Sadono <sahitsadono@gmail.com>
@sahitono
Copy link
Contributor Author

Got it @akre54 , just add it to map-container.tsx

@kevin-daniel-hunt
Copy link

Awesome work! Just pulled this and verified locally I was able to get custom base maps using the mapbox:// syntax loaded!

Copy link
Collaborator

@ibgreen ibgreen left a comment

Choose a reason for hiding this comment

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

Nice work!

@ibgreen ibgreen merged commit b09d7eb into keplergl:master Dec 13, 2024
9 checks passed
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.

[Bug] Custom Map Style loading failure
4 participants