Open zned45 opened 1 year ago
If you were using a rendered mode, there is a reprojection that happens here ( https://github.com/maptiler/tileserver-gl/blob/master/src/serve_rendered.js#L772 ).
But if you are just loading data from the mbtiles file like you are I don't think tileserver-gl reprojects, but I do think Maplibre-GL still needs EPSG:3857, so maybe because it's not what it expects it gets distorted?
I am currently working on a project related to a game. We have a non-earth square vector map created in QGIS which we are trying to serve using tileserver-gl
After copy the
.mbtiles
into the folder, I get the following spec with EPSG:3857 projection despite tiles being exported with no CRS.The effect of this is that the map get stretched vertically (seen with the server MapLibre visualizer. There is any way to serve the tiles with a custom projection or no projection at all? Is Tileserver GL even the right tool to achieve this?
Thank you.