]> git.openstreetmap.org Git - rails.git/commitdiff
Start layers pane
authorJohn Firebaugh <john.firebaugh@gmail.com>
Mon, 10 Jun 2013 19:08:52 +0000 (12:08 -0700)
committerJohn Firebaugh <john.firebaugh@gmail.com>
Thu, 18 Jul 2013 17:31:20 +0000 (10:31 -0700)
app/assets/javascripts/templates/map/layers.jst.ejs
config/locales/en.yml

index c94a7779db6f0e93352587385351d33493bc6c44..4945b9743c8b2f143662a785e3170e9c971859b7 100644 (file)
@@ -1 +1,9 @@
-<h2>Layers</h2>
+<h2><%= I18n.t('javascripts.map.layers.header') %></h2>
+<div class='overlay-layers'>
+    <p><%= I18n.t('javascripts.map.layers.overlays') %></p>
+    <label><input type='checkbox' id='notes-layer-checkbox'><%= I18n.t('javascripts.map.layers.notes') %></label>
+    <label><input type='checkbox' id='data-layer-checkbox'><%= I18n.t('javascripts.map.layers.data') %></label>
+</div>
+<div class='base-layers'>
+    <p><%= I18n.t('javascripts.map.layers.base') %></p>
+</div>
index d616872c299e1161a6cd1395350abfbc103319b5..c621b40feede296fa3c8ce4dde64d055b5b047c4 100644 (file)
@@ -2048,8 +2048,12 @@ en:
         cycle_map: Cycle Map
         transport_map: Transport Map
         mapquest: MapQuest Open
-      overlays:
-        maplint: Maplint
+      layers:
+        header: Map Layers
+        notes: Map Notes
+        data: Map Data
+        overlays: Enable overlays for troubleshooting the map
+        base: OSM provides the underlying data for all these maps
     site:
       edit_tooltip: Edit the map
       edit_disabled_tooltip: Zoom in to edit the map