mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-12 19:38:49 +00:00
[openstreetmap] Update config file style/name
This commit is contained in:
parent
0b8e0fa8c9
commit
524937a830
4 changed files with 48 additions and 39 deletions
23
openstreetmap/config/openstreetmap.config.php
Normal file
23
openstreetmap/config/openstreetmap.config.php
Normal 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,
|
||||
],
|
||||
];
|
Loading…
Add table
Add a link
Reference in a new issue