Skip to content

Commit 435afa5

Browse files
committed
Add HOT layer
1 parent 9520a31 commit 435afa5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

www/js/map.js

+8
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,14 @@ osm.initLayers = function(){
157157
true
158158
);
159159

160+
osm.registerLayer(
161+
'layerHOT',
162+
new L.TileLayer('http://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', {maxZoom: 20, attribution: "Map data &copy; <a href='http://osm.org'>OpenStreetMap</a> contributors, tiles &copy; <a href='http://hot.openstreetmap.org/' target='_blank'>Humanitarian OpenStreetMap Team</a>", subdomains: 'abc'}),
163+
'Humanitarian',
164+
'H',
165+
true
166+
);
167+
160168
osm.registerLayer(
161169
'layerMS',
162170
new L.TileLayer('http://129.206.74.245:8001/tms_r.ashx?x={x}&y={y}&z={z}', {

0 commit comments

Comments
 (0)