]> git.mxchange.org Git - friendica-addons.git/blobdiff - openstreetmap/README.md
Merge pull request 'Bluesky/Tumblr: Set "received" to "created" if fetched after...
[friendica-addons.git] / openstreetmap / README.md
index d8709a181ba76d6ae830e8007de45fc8c0c498e1..782389f5b57e8e8ad252c8d47a2e7a11ec19e588 100644 (file)
@@ -34,26 +34,29 @@ zoom level available.
 
 ## Alternative Configuration
 
-Open the `config/local.config.php` file and add "openstreetmap" to the list of activated addons.
-
-     'system' => [
-         ...
-         'addon' => '...,openstreetmap'
-         ...
-     ]
-
-You can set configuration variables for the addon in the `config/addon.config.php` file:
-
-       'openstreetmap' => [
-               'tmsserver' => 'https://www.openstreetmap.org',
-               'nomserver' => 'https://nominatim.openstreetmap.org/search.php',
-               'zoom' => 16,
-               'marker' => 0,
-       ],
+Open the `config/node.config.php` file and add "openstreetmap" to the list of activated addons.
+
+       'addons' => [
+               ...
+               'openstreetmap' => [
+                       admin => true,                  
+               ],
+       ]
+
+You can set configuration variables for the addon in the `config/openstreetmap.config.php` file:
+
+       return [
+               'openstreetmap' => [
+                       'tmsserver' => 'https://www.openstreetmap.org',
+                       'nomserver' => 'https://nominatim.openstreetmap.org/search.php',
+                       'zoom' => 16,
+                       'marker' => 0,
+               ],
+       ];
 
 The *tmsserver* points to the tile server you want to use. Use the full URL,
 with protocol (http/s) and trailing slash. You can configure the default zoom
 level on the map with *zoom*. 1 will show the whole world and 18 is the highest
 zoom level available.
 
-Please see provided `config/openstreetmap.php` file for explanation on the additional configuration keys.
\ No newline at end of file
+Please see provided `config/openstreetmap.php` file for explanation on the additional configuration keys.