removed unecessary attribution + code formatting

pull/67/head
Maciej 2022-03-06 22:08:35 +01:00
rodzic e10f90fe51
commit 23ae4625aa
2 zmienionych plików z 4 dodań i 5 usunięć

Wyświetl plik

@ -5,7 +5,6 @@ let aedNumberElements = [
document.getElementById('aed-number-mobile'),
];
let aedNumberComment = document.getElementById('aed-number-comment');
let fetchMetadata = fetch(aedMetadata);
const map = new maplibregl.Map({
@ -73,6 +72,7 @@ let geocoder_api = {
}
};
// Map controls
map.addControl(control, controlsLocation);
map.addControl(geolocate, controlsLocation);
@ -83,8 +83,8 @@ map.addControl(
}),
'top-right' );
console.log('Loading icon...');
// Map interaction
map.on('mouseenter', 'clustered-circle', () => {
map.getCanvas().style.cursor = 'pointer';
});

Wyświetl plik

@ -13,8 +13,7 @@ let layers = {
],
"tileSize": 256,
"maxzoom": 19,
"paint": {"raster-fade-duration": 100},
"attribution": "data © <a target=\"_top\" rel=\"noopener\" href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors."
"paint": {"raster-fade-duration": 100}
},
"aed-locations": {
"type": "geojson",
@ -39,7 +38,7 @@ let layers = {
"type": "symbol",
"source": "aed-locations",
"filter": ["!", ["has", "point_count"]],
"layout": {"icon-image": "aed-default", "icon-size": 0.75}
"layout": {"icon-image": "aed-default", "icon-size": 0.8}
},
{
"id": "clustered-circle",