How can I upload my own sprites?

I can upload my style json, which will then be hosted on maptiler, but where do I upload my own sprite png (@1 and @2 sizes) so that my style can refer to my own symbol pngs?

1 reply

At the moment, if the style JSON specifies URL for sprites, the MapTiler Cloud will download the sprites and store internally (as long as the URL is publicly accessible at that time).

So I suggest you put the sprites temporarily on some accessible URL (e.g. gh-pages) and reference this URL in the style. (in accordance with the style specification -- without the extension (.png/.json) and scale)

We have plans for better sprite management in the future (even direct upload of individual original .svg icons), probably Q1 2019.