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

Use non-minified protomaps-leaflet@latest #190

Merged

Conversation

bmcandr
Copy link
Contributor

@bmcandr bmcandr commented Sep 16, 2024

What I am changing

Swapped https://unpkg.com/protomaps-leaflet@latest/dist/protomaps-leaflet.min.js -> https://unpkg.com/protomaps-leaflet@latest/dist/protomaps-leaflet.js in map.html template.

How I did it

Their docs does not link to a minified version so I tried that.

How you can test it

Test the viewer on main vs this branch.

Related Issues

Closes #189

@bmcandr bmcandr changed the title Use [email protected] Use non-minified protomaps-leaflet@latest Sep 16, 2024
@bmcandr bmcandr force-pushed the fix/protomaps-leaflet-source branch from 124e8af to 046fc9a Compare September 16, 2024 15:37
@vincentsarago vincentsarago merged commit aeed49b into developmentseed:main Sep 16, 2024
8 checks passed
@vincentsarago
Copy link
Member

I've merged this but I will edit to pin a specific version which feels more secure

thanks @bmcandr for the PR 🙏

@bmcandr
Copy link
Contributor Author

bmcandr commented Sep 16, 2024

Makes sense. I originally went with the link pinned to 4.0.1, but swapped it out after I realized the minified link was the issue. Apologies for the last second switcheroo

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.

Tiles do not render on viewer because minified protomaps-leaflet@latest does not exist
2 participants