Add sunny unlabeld, fix label export

This commit is contained in:
Pieter Vander Vennet 2024-03-30 13:07:26 +01:00
parent 5984d0c19e
commit 5cd7f0976e
8 changed files with 2983 additions and 25 deletions

View file

@ -67,7 +67,7 @@ export class PngMapCreator {
const newZoom = settings.zoom.data + Math.log2(pixelRatio) - 1
const mapElem = new MlMap({
container: div.id,
style: AvailableRasterLayers.defaultBackgroundLayer.properties.url,
style: settings.rasterLayer.data?.properties?.url ?? AvailableRasterLayers.defaultBackgroundLayer.properties.url,
center: [l.lon, l.lat],
zoom: newZoom,
pixelRatio,