• teddyyun

    (@teddyyun)


    Hello. I’m using Maptiler. Is there a way to use the MapTiler globe projection as the default tile for Leaflet?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author hupe13

    (@hupe13)

    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>']
    Thread Starter teddyyun

    (@teddyyun)

    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?

    Plugin Author hupe13

    (@hupe13)

    I don’t know Maptiler. I checked the entry in leaflet-providers.js and adapted it.

    Plugin Author hupe13

    (@hupe13)

    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

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Globe Tile’ is closed to new replies.