summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/Maps/DefaultSettings.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/extensions/Maps/DefaultSettings.php')
-rw-r--r--www/wiki/extensions/Maps/DefaultSettings.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/www/wiki/extensions/Maps/DefaultSettings.php b/www/wiki/extensions/Maps/DefaultSettings.php
index a3834788..146a1730 100644
--- a/www/wiki/extensions/Maps/DefaultSettings.php
+++ b/www/wiki/extensions/Maps/DefaultSettings.php
@@ -1,8 +1,9 @@
<?php
+// DO NOT INCLUDE THIS FILE IN LocalSettings.php! Instead include Maps_Settings.php.
+
// This file lists all settings you can use to configure the Maps extension and their default values.
// Do not modify this file to change settings. See https://www.semantic-mediawiki.org/wiki/Maps/Configuration
-// Do not include this file in LocalSettings. Instead include Maps_Settings.php.
return [
// Mapping services that will be available in the wiki.
@@ -156,6 +157,10 @@ return [
'egMapsLeafletLayer' => 'OpenStreetMap',
'egMapsLeafletLayers' => [ 'OpenStreetMap' ],
+ // Array of strings. The default layers for Leaflet to be used in dark theme mode.
+ // This will override any user parameter set for "layers" or "layer".
+ 'egMapsLeafletLayersDark' => [ 'CartoDB.DarkMatter' ],
+
'egMapsLeafletOverlayLayers' => [],
// The definitions for the layers that should be available for the user.
@@ -362,4 +367,4 @@ return [
'egMapsDebugJS' => false,
'egMapsGlobalJSVars' => [],
-]; \ No newline at end of file
+];