. */ // This is default configuration file. // Copy it to config.php and customize // default map drawing framework //$mapapi = "gmaps"; // google maps $mapapi = "openlayers"; // openlayers // openlayers additional map layers in XYZ format // name => url $ol_layers['OpenCycleMap'] = 'https://{a-c}.tile.thunderforest.com/cycle/{z}/{x}/{y}.png'; // ?apikey=[API_KEY] $ol_layers['OpenTopoMap'] = 'https://{a-c}.tile.opentopomap.org/{z}/{x}/{y}.png'; $ol_layers['ESRI'] = 'https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}'; $ol_layers['UMP'] = 'http://{1-3}.tiles.ump.waw.pl/ump_tiles/{z}/{x}/{y}.png'; $ol_layers['Osmapa.pl'] = 'http://{a-c}.tile.openstreetmap.pl/osmapa.pl/{z}/{x}/{y}.png'; // default coordinates for initial map $init_latitude = 52.23; $init_longitude = 21.01; // you may set your google maps api key $gkey = ""; // Database config $dbdsn = ""; // DSN eg. "mysql:host=localhost;port=3307;dbname=testdb;charset=utf8" $dbuser = ""; // database user $dbpass = ""; // database pass $dbprefix = ""; // optional table names prefix, eg. "ulogger_" // other // require login/password authentication // (0 = no, 1 = yes) $require_authentication = 1; // all users tracks are visible to authenticated user // (0 = no, 1 = yes) $public_tracks = 0; // admin user, who // - can add new users // - can edit all tracks, users // - has access to all users locations // none if empty $admin_user = ""; // miniumum required length of user password $pass_lenmin = 12; // required strength of user password // 0 = no requirements, // 1 = require mixed case letters (lower and upper), // 2 = require mixed case and numbers, // 3 = require mixed case, numbers and non-alphanumeric characters $pass_strength = 2; // Default interval in seconds for live auto reload $interval = 10; // Default language // (en, pl, de, hu, fr, it) $lang = "en"; //$lang = "pl"; //$lang = "de"; //$lang = "hu"; //$lang = "fr"; //$lang = "it"; // units // (metric, imperial, nautical) $units = "metric"; //$units = "imperial"; //$units = "nautical"; // track line stroke $strokeWeight = 2; $strokeColor = '#FF0000'; $strokeOpacity = 1.0; ?>