Maciej 2021-11-28 10:18:02 +01:00
commit 170efd69b6
1 zmienionych plików z 10 dodań i 13 usunięć

Wyświetl plik

@ -15,19 +15,16 @@ var map = new maplibregl.Map({
'https://c.tile.openstreetmap.org/{z}/{x}/{y}.png'
],
'tileSize': 256,
'attribution':
'map © <a target="_top" rel="noopener" href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors.',
'attribution': 'map © <a target="_top" rel="noopener" href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors.',
},
},
'layers': [
{
'id': 'background',
'type': 'raster',
'source': 'raster-tiles',
'minzoom': 0,
'maxzoom': 22,
},
]
'layers': [{
'id': 'background',
'type': 'raster',
'source': 'raster-tiles',
'minzoom': 0,
'maxzoom': 22,
}, ]
},
});
@ -46,7 +43,7 @@ map.on('load', () => {
'source': 'aed-locations',
'layout': {
'icon-image': ['image', 'aed-icon'],
'icon-size': 0.2,
'icon-size': 0.1,
},
'filter': ['!', ['has', 'point_count']],
});
@ -78,4 +75,4 @@ map.on('load', () => {
'filter': ['has', 'point_count'],
});
});
});
});