From Maps for MediaWiki
Revision as of 13:47, 7 May 2020 by Jeroen De Dauw (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Maps works out of the box without any configuration work being required.

You can configure Maps via the LocalSettings.php file in your wikis root directory. If you are not familiar with this file, please have a look at MediaWikis "LocalSettings.php" manual.

Configuration Example[edit | edit source]

wfLoadExtension( 'Maps' );
$egMapsDefaultService = 'leaflet';
$egMapsMapWidth = 500;

Supported Configuration[edit | edit source]

You can find a list of all configuration settings supported by the latest version of Maps in the "DefaultSettings.php" file.

If you are using an older version of Maps, you can view the configuration settings supported in that version by looking at the "DefaultSettings.php" file of your wiki. You can find it in at extensions/Maps/DefaultSettings.php. If this file does not exist, look for Maps_Settings.php instead.