]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index.js
Add HOT layer to the main page
[rails.git] / app / assets / javascripts / index.js
index 7f4887469c6c8f13ef8702430792446ced01d954..d84b8ae24794562296d1b3d1a13565539497129b 100644 (file)
@@ -48,6 +48,12 @@ $(document).ready(function () {
       code: "Q",
       keyid: "mapquest",
       name: I18n.t("javascripts.map.base.mapquest")
+    }),
+    new L.OSM.HOT({
+      attribution: copyright + ". Tiles courtesy of <a href='http://hot.openstreetmap.org/' target='_blank'>Humanitarian OpenStreetMap Team</a>",
+      code: "H",
+      keyid: "hot",
+      name: I18n.t("javascripts.map.base.hot")
     })
   ];