GUI: Add custom layer
Would it be possible to add a custom layer option? I would like to draw shapes with a specific TMS background layer url.
You're talking about a background tiled layer, right? I've thought about adding support for custom base layers. Do you know if the TMS layer you want to use is compatible with the Mapbox GL api? If so, adding support should not be difficult.
Yes a TMS layer like this one (check over France)
https://data.geopf.fr/tms/1.0.0/ORTHOIMAGERY.ORTHOPHOTOS.ORTHO-EXPRESS.2025/{z}/{x}/{y}.jpeg
I don't know if it's compatible with the Mapbox GL api.
Looking at the URL, it probably will work. I'll put this near the top of my todo list, hope to get support added within a few days.
Meanwhile, this tool already supports custom tile layers and drawing. You might see if it meets your needs: https://play.placemark.io/
Here's a screenshot of the menu path to add custom layers
Thanks, it could work but it's not ideal, I want the console command like buffer and simplify, and I don't understand how to delete a single point from a polygon?
Hey @mbloch , is this still on your todo list?
Hi, I just updated Mapshaper with a first-pass version of custom layers. The xyz URL template you gave above seems to work.
It works perfectly thank you very much!