-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add MultiMaps extension to primary wiki
Closes #241
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
cookbooks/wiki/templates/default/mw-ext-MultiMaps.inc.php.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
# DO NOT EDIT - This file is being maintained by Chef | ||
|
||
require_once "$IP/extensions/MultiMaps/MultiMaps.php"; | ||
|
||
# Array of String. Array containing all the mapping services that will be made available to the user. | ||
# First value - default service, which will be used if the service is not in the parameters | ||
# Values may be a valid name of class based on class BaseMapService or some string and an array if they | ||
# denote different tiles within a BaseMapService | ||
$egMultiMaps_MapServices = [ | ||
'Leaflet', | ||
'transport' => [ | ||
'service' => 'Leaflet', | ||
'attribution' => '© <a href="https://osm.org/copyright">OpenStreetMap contributors</a>. Tiles courtesy of <a href="https://www.thunderforest.com/" target="_blank">Andy Allan</a>', | ||
'source' => 'https://tile.thunderforest.com/transport/{z}/{x}/{y}.png?apikey=<%= @thunderforest_key %>', | ||
], | ||
]; |