Add attribution to cycle and transport layers
This commit is contained in:
parent
9c10e6703e
commit
8af92f463b
1 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ function createMap(divName, options) {
|
|||
map.addLayer(osmarender);
|
||||
|
||||
var cyclemap = new OpenLayers.Layer.OSM.CycleMap(i18n("javascripts.map.base.cycle_map"), {
|
||||
attribution: "",
|
||||
attribution: "Tiles courtesy of <a href='http://www.opencyclemap.org/' target='_blank'>Andy Allan</a>",
|
||||
keyid: "cyclemap",
|
||||
displayOutsideMaxExtent: true,
|
||||
wrapDateLine: true,
|
||||
|
@ -51,7 +51,7 @@ function createMap(divName, options) {
|
|||
map.addLayer(cyclemap);
|
||||
|
||||
var transportmap = new OpenLayers.Layer.OSM.TransportMap(i18n("javascripts.map.base.transport_map"), {
|
||||
attribution: "",
|
||||
attribution: "Tiles courtesy of <a href='http://www.opencyclemap.org/' target='_blank'>Andy Allan</a>",
|
||||
keyid: "transportmap",
|
||||
displayOutsideMaxExtent: true,
|
||||
wrapDateLine: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue