Skip to content

Commit 85da58f

Browse files
committed
fixed Humanitarian osm
1 parent 48d8c10 commit 85da58f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

themes/mapmint/layouts/_default/home.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ <h1 class="msg">fast <span class="colored">&</span> easy <span class="colored">w
4040
<div class="qst"></div>
4141
<div class="map0"><a href="#" class="zero" onclick="map.setBaseLayer(osm);"></a></div>
4242
<div class="map1"><a href="#" class="one" onclick="map.setBaseLayer(cyclOSMLayer);"></a></div>
43-
<div class="map2"><a href="#" class="two" onclick="map.setBaseLayer(hotOSMLayer);"></a></div>
44-
<div class="map3"><a href="#" class="three" onclick="map.setBaseLayer(cartoPositronLayer);"></a></div>
43+
<div class="map2"><a href="#" class="two" onclick="map.setBaseLayer(humanOSMLayer);"></a></div>
44+
<div class="map3"><a href="#" class="three" onclick="map.setBaseLayer(transportOSMLayer);"></a></div>
4545
<div class="map4"><a href="#" class="four" onclick="map.setBaseLayer(topoLayer);"></a></div>
4646
<div class="map5"><a href="#" class="five" onclick="map.setBaseLayer(stamenWatercolorLayer);"></a></div>
4747
</div>

themes/mapmint/static/js/home2.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function init() {
6666
);
6767

6868
humanOSMLayer = new OpenLayers.Layer.OSM(
69-
"HOT OSM",
69+
"HumanOSM",
7070
[
7171
"http://tile-a.openstreetmap.fr/hot/${z}/${x}/${y}.png",
7272
"http://tile-b.openstreetmap.fr/hot/${z}/${x}/${y}.png",
@@ -79,6 +79,7 @@ function init() {
7979
);
8080

8181

82+
8283
osm = new OpenLayers.Layer.OSM({
8384
attribution: "Data by <a href='http://www.openstreetmap.org/' target='_blank'>Open Street Map</a>,<a href='http://www.openstreetmap.org/' target='_blank'>OpenStreetMap</a> contributors, <a href='http://creativecommons.org/licenses/by-sa/2.0/' target='_blank'>CC-BY-SA</a>"
8485
} );

0 commit comments

Comments
 (0)