Skip to content

Commit

Permalink
Add HOT layer
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Sep 26, 2013
1 parent 9520a31 commit 435afa5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions www/js/map.js
Expand Up @@ -157,6 +157,14 @@ osm.initLayers = function(){
true
);

osm.registerLayer(
'layerHOT',
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'}),
'Humanitarian',
'H',
true
);

osm.registerLayer(
'layerMS',
new L.TileLayer('http://129.206.74.245:8001/tms_r.ashx?x={x}&y={y}&z={z}', {
Expand Down

0 comments on commit 435afa5

Please sign in to comment.