Add support for MapTiler SDK
Description
As a user of MapTiler SDK & MapTiler maps I'd like an easy way how to compare also MapTiler maps. With this PR I can add MapTiler API key to the config (similar to MapBox). I can also use MapTiler SDK as a renderer (it's almost the same like MapLibre).
I removed the duplicate code in Map.svelte
QA steps
Probably some basic regression of MapLibre & MapBox but should not be affected
Author checklist
Create the PR
- [x] Fill out PR template
- [x] Make sure you've added a CHANGELOG entry under "Unreleased"
- [x] Request a review
- [ ] Make any requested changes and get approval
After approval
- [ ] Merge any changes from
maininto your branch, resolve any conflicts - [ ] Squash & merge changes into
main - [ ] Delete branch
@petr-hajek Thanks for this! We'll be taking a look at this soon.
It's my first PR into this project and for full transparency, MapTiler is my client so I am open to any feedback. Thanks a lot. Anyway, this is a great tool!
Sorry for not responding. I was loaded with other things, but I'll try get back to this soon, thanks for the feedback.
Sorry it took me so long.
I moved the url normalization to a separate file and apply it in the GlMap component as well. It now works with Maplibre and Mapbox renderer as well.