summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2016-02-21 17:30:31 +0100
committerJonas Smedegaard <dr@jones.dk>2016-02-21 17:50:10 +0100
commitc22203c3312941c78cdcc8e10186f1205d27127b (patch)
tree69551d2bb7dddcf9eaab885c23cd9d1275534855 /templates
parentbbda1368f666bacc1002f8902ca41fc48c153a6f (diff)
Improve copyright & licensing.
Diffstat (limited to 'templates')
-rw-r--r--templates/map.mdwn5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/map.mdwn b/templates/map.mdwn
index cb3f5935..5588da3b 100644
--- a/templates/map.mdwn
+++ b/templates/map.mdwn
@@ -3,7 +3,10 @@
<div id="map"></div>
<script src="/usr/share/javascript/leaflet/leaflet.js"></script>
<script>
-var attribOSM = '&copy; <a href="https://openstreetmap.org">OpenStreetMap</a>-bidragydere, <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>';
+var attribOSM = 'Kartografi &copy; <a href="https://www.openstreetmap.org/copyright#contributors">OpenStreetMap-bidragydere</a>'
+ +' under en <a href="https://creativecommons.org/licenses/by-sa/2.0/">Creative Commons Kreditering-DelPåSammeVilkår</a> licens.';
+ +' Data &copy; <a href="http://osmfoundation.org/">OpenStreetMap Foundation</a>'
+ +' under <a href="http://opendatacommons.org/licenses/odbl/">ODbL</a> licens';
var OSMLayer = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { attribution: attribOSM } );
var Box = L.latLngBounds( [[<TMPL_VAR bounds-nw>],[<TMPL_VAR bounds-se>]] );
var map = L.map('content', { layers: [OSMLayer] }).fitBounds(Box);