forked from MapComplete/MapComplete
Add sunny unlabeld, fix label export
This commit is contained in:
parent
5984d0c19e
commit
5cd7f0976e
8 changed files with 2983 additions and 25 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue