Skip to content

Commit

Permalink
proper attribution to OpenTopoMap.org
Browse files Browse the repository at this point in the history
  • Loading branch information
jjimenezshaw committed Aug 17, 2017
1 parent 72e648b commit 53a5430
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions examples/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
{attribution: '© OpenStreetMap contributors'}
);

var topomap = L.tileLayer(
var otopomap = L.tileLayer(
'//{s}.tile.opentopomap.org/{z}/{x}/{y}.png',
{attribution: '© OpenStreetMap contributors. topomap.org'}
{attribution: '© OpenStreetMap contributors. OpenTopoMap.org'}
);

var thunderAttr = {attribution: '© OpenStreetMap contributors. Tiles courtesy of Andy Allan'}
Expand All @@ -54,7 +54,7 @@
children: [
{label: 'OSM', layer: osm, name: 'OpenStreeMap'},
{label: 'B&W', layer: osmBw, name: 'OpenStreeMap <b>B&W</b>'},
{label: 'TopoMap', layer: topomap, name: 'Topographic - OSM'},
{label: 'OpenTopoMap', layer: otopomap, name: 'Topographic - OSM'},
]
},
{
Expand Down
6 changes: 3 additions & 3 deletions examples/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
{attribution: '© OpenStreetMap contributors'}
);

var topomap = L.tileLayer(
var otopomap = L.tileLayer(
'//{s}.tile.opentopomap.org/{z}/{x}/{y}.png',
{attribution: '© OpenStreetMap contributors. topomap.org'}
{attribution: '© OpenStreetMap contributors. OpenTopoMap.org'}
);

var thunderAttr = {attribution: '© OpenStreetMap contributors. Tiles courtesy of Andy Allan'}
Expand All @@ -58,7 +58,7 @@
layer: osm,
children: [
{label: 'B&W', layer: osmBw, name: 'OpenStreeMap <b>B&W</b>'},
{label: 'TopoMap', layer: topomap, name: 'Topographic - OSM'},
{label: 'OpenTopoMap', layer: otopomap, name: 'Topographic - OSM'},
]
},
{
Expand Down

0 comments on commit 53a5430

Please sign in to comment.