[openstreetmap] Update config file style/name

This commit is contained in:
Hypolite Petovan 2018-11-25 02:14:54 -05:00
parent 0b8e0fa8c9
commit 524937a830
4 changed files with 48 additions and 39 deletions

View file

@ -0,0 +1,23 @@
<?php
// Warning: Don't change this file! It only holds the default config values for this addon.
// Instead overwrite these config values in config/addon.config.php in your Friendica directory
return [
'openstreetmap' => [
// tmsserver (String)
// This points to the tile server you want to use. Use the full URL, with protocol (http/s) and trailing slash.
'tmsserver' => 'https://www.openstreetmap.org',
// nomserver (String)
'nomserver' => 'https://nominatim.openstreetmap.org/search.php',
// zoom (Integer)
// The default zoom level on the map.
// 1 will show the whole world and 18 is the highest zoom level available.
'zoom' => 16,
// marker (Integer)
'marker' => 0,
],
];

View file

@ -1,23 +0,0 @@
<?php return <<<INI
; Warning: Don't change this file! It only holds the default config values for this addon.
; Instead overwrite these config values in config/addon.ini.php in your Friendica directory
[openstreetmap]
; tmsserver (String)
; This points to the tile server you want to use. Use the full URL, with protocol (http/s) and trailing slash.
tmsserver = https://www.openstreetmap.org
; nomserver (String)
nomserver = https://nominatim.openstreetmap.org/search.php
; zoom (Integer)
; The default zoom level on the map.
; 1 will show the whole world and 18 is the highest zoom level available.
zoom = 16
; marker (Integer)
marker = 0
INI;
//Keep this line