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

core: replace google maps with leaflet/OSM #1046

Merged
merged 2 commits into from
Aug 26, 2023
Merged

core: replace google maps with leaflet/OSM #1046

merged 2 commits into from
Aug 26, 2023

Conversation

bjia56
Copy link
Collaborator

@bjia56 bjia56 commented Aug 26, 2023

Google Maps requires an API key and allow-listing of referrer urls, which causes the PositionSensor map display to not work for most domains/IPs. This change replaces it with Leaflet, using OpenStreetMap underneath.

image

Also adds a couple of babel dev dependencies since they were removed from the core babel plugin, which prevents a clean rebuild of the UI from working.

@bjia56
Copy link
Collaborator Author

bjia56 commented Aug 26, 2023

There's a huge diff in package-lock.json, probably because I deleted and recreated it. Let me see if I can reduce the diff by restoring the old one.

@bjia56
Copy link
Collaborator Author

bjia56 commented Aug 26, 2023

As discussed in Discord, the package-lock.json is ok to delete and recreate.

@koush koush merged commit 8b3a66b into koush:main Aug 26, 2023
@bjia56 bjia56 deleted the leaflet branch September 13, 2024 19:23
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.

2 participants