@ -1,3 +1,6 @@
<?php
// Directory from which to read the categories.
$config['categoriesDir'] = 'node_modules/openstreetbrowser-categories-main';
// URL of the Overpass API
$config['overpassUrl'] = '//overpass-api.de/api/interpreter';
@ -44,7 +44,7 @@ window.onload = function() {
showPopup: false
}).addTo(map);
overpassFrontend = new OverpassFrontend('//overpass-api.de/api/interpreter', {
overpassFrontend = new OverpassFrontend(config.overpassUrl, {
timeGap: 10,
effortPerRequest: 100
})