forked from MapComplete/MapComplete
Fix dasharrays, add custom size PNG export
This commit is contained in:
parent
faff07d231
commit
a79675c879
7 changed files with 52 additions and 7 deletions
|
|
@ -67,7 +67,6 @@ export class PngMapCreator {
|
|||
const newZoom = settings.zoom.data + Math.log2(pixelRatio) - 1
|
||||
const rasterLayerProperties = settings.rasterLayer.data?.properties ?? AvailableRasterLayers.defaultBackgroundLayer.properties
|
||||
const style = rasterLayerProperties?.style ?? rasterLayerProperties?.url
|
||||
console.log("Png-map-creator: initing MlMap with style", style, rasterLayerProperties)
|
||||
const mapElem = new MlMap({
|
||||
container: div.id,
|
||||
style,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue