You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

84 lines
2.8 KiB

<?php
// Directory from which to read the categories.
$config['categoriesDir'] = 'node_modules/openstreetbrowser-categories-main';
// Set to true to reload categories on every page visit.
$config['categoriesAlwaysReload'] = true;
// URL of the Overpass API
$config['overpassUrl'] = array(
'//overpass-api.de/api/interpreter',
'//api.openstreetmap.fr/oapi/interpreter',
);
// Location of the initial view if no IP-location can be resolved. 'zoom' is optional.
$config['defaultView'] = array('lat' => 51.505, 'lon' => -0.09, 'zoom' => 18);
// Shall the initial map view be retrieved via IP location? (default: true)
$config['checkIpLocation'] = true;
// maxZoom (tiles will be scaled if higher than native zoom level). Default: 19.
$config['maxZoom'] = 19;
// Available base maps; first is default
$config['baseMaps'] = array(
array(
'id' => 'osm-mapnik',
'name' => 'OSM Default',
'attribution' => '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors',
'url' => '//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
'maxZoom' => 19,
),
array(
'id' => 'osm-cyle',
'name' => 'OSM CycleMap',
'attribution' => '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors, Tiles: <a href="http://www.thunderforest.com/">Andy Allan</a>',
'url' => '//{s}.tile.thunderforest.com/cycle/{z}/{x}/{y}.png?apikey=',
'maxZoom' => 18,
),
array(
'id' => 'opentopomap',
'name' => 'OpenTopoMap',
'attribution' => '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors, Tiles: <a href="http://opentopomap.org/">OpenTopoMap</a>',
'url' => '//{s}.tile.opentopomap.org/{z}/{x}/{y}.png',
'maxZoom' => 17,
),
array(
'id' => 'transportmap',
'name' => 'Transport Map',
'attribution' => '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors, Tiles: <a href="http://www.thunderforest.com/">Andy Allan</a>',
'url' => '//{s}.tile.thunderforest.com/transport/{z}/{x}/{y}.png?apikey=',
'maxZoom' => 20,
),
array(
'id' => 'hot',
'name' => 'Humanitarian',
'attribution' => '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors, Tiles: <a href="http://hot.openstreetmap.org/">Humanitarian OpenStreetMap Team</a>',
'url' => '//tile-{s}.openstreetmap.fr/hot/{z}/{x}/{y}.png',
'maxZoom' => 20,
),
);
// List of available user interface languages
$languages = array(
"ast", // Asturian
"ca", // Catalan
"cs", // Czech
"da", // Danish
"de", // German
"el", // Greek
"en", // English
"es", // Spanish
"et", // Estonian
"fr", // French
"hu", // Hungarian
"it", // Italian
"ja", // Japanese
"nl", // Dutch
"pl", // Polish
"pt-br", // Portugese (Brazil)
"ro", // Romanian
"ru", // Russian
"sr", // Serbian
"uk", // Ukrainian
);