Python Plotly with OneMap Tiles

Hi all,

Would like to ask how to input as a custom maptile in plotly. Example:

I have tried:

“source”: [{z}/{x}/${y}.png”

It does not seem to work.Thanks for any help!

Hi @FreshMints,

You may have input a typo,

${ }

remove the


. We are not using MapBox Layers so it might not work in this way. Our Basemap Endpoints are in-house customised xyz tile format.

However you can try:

        "sourcetype": "raster",
        "source": [ "{z}/{x}/{y}.png"