no override of query

This commit is contained in:
Tykayn 2022-06-20 14:18:08 +02:00 committed by tykayn
parent 6399637df7
commit e563f08021

View File

@ -870,7 +870,7 @@ const geoDataJsonMock = {
}], }],
}; };
const overrideQuery = false; const overrideQuery = true;
const initialZoom = 14; const initialZoom = 14;
const osmMention = '&copy; <a href="https://openstreetmap.org/copyright">OpenStreetMap</a> contributors' const osmMention = '&copy; <a href="https://openstreetmap.org/copyright">OpenStreetMap</a> contributors'
@ -884,9 +884,9 @@ L.tileLayer(tileServer, {
attribution: osmMention, attribution: osmMention,
}).addTo(map); }).addTo(map);
if (overrideQuery) { // if (overrideQuery) {
$('#overpass-api-controls').hide(); // $('#overpass-api-controls').hide();
} // }
function buildOverpassApiUrl(map, overpassQuery) { function buildOverpassApiUrl(map, overpassQuery) {