Conversation
supportHello. I’m using Maptiler. Is there a way to use the MapTiler globe projection as the default tile for Leaflet?
Try this: [leaflet-map tileurl=https://api.maptiler.com/maps/streets/{z}/{x}/{y}{r}.png?key=yourkey attribution='<a href="https://www.maptiler.com/copyright/" target="_blank">© MapTiler</a> <a href="https://www.openstreetmap.org/copyright" target="_blank">© OpenStreetMap contributors</a>']
Thank you. I applied the Globe Project tileurl that I created in Maptiler, but it doesn’t work in Leaflet. I published it in Maptiler a while ago, so will it take more time for it to be applied?
I don’t know Maptiler. I checked the entry in leaflet-providers.js and adapted it.
MapTiler globe projection as the default tile Does it work as second tile? See https://your-domain.tld/wp-admin/admin.php?page=extensions-leaflet-map&tab=tilesproviders
Try this: [leaflet-map tileurl=https://api.maptiler.com/maps/streets/{z}/{x}/{y}{r}.png?key=yourkey attribution='<a href="https://www.maptiler.com/copyright/" target="_blank">© MapTiler</a> <a href="https://www.openstreetmap.org/copyright" target="_blank">© OpenStreetMap contributors</a>']
Thank you. I applied the Globe Project tileurl that I created in Maptiler, but it doesn’t work in Leaflet. I published it in Maptiler a while ago, so will it take more time for it to be applied?
I don’t know Maptiler. I checked the entry in leaflet-providers.js and adapted it.
MapTiler globe projection as the default tile Does it work as second tile? See https://your-domain.tld/wp-admin/admin.php?page=extensions-leaflet-map&tab=tilesproviders