]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/notes.js.erb
Add an entry to the edit menu for turning on the notes layer
[rails.git] / app / assets / javascripts / notes.js.erb
index 36eabeaee115c3ab83fbe3f99c0274c5ed18be9b..6c598120a109f9d5e8f3fae6e099a893e816bb0c 100644 (file)
@@ -68,6 +68,7 @@ function addNoteLayer(map, notesUrl, newNoteControls, minZoom) {
 
     map.noteLayer = new OpenLayers.Layer.Vector("Notes", {
         visibility: false,
+        displayInLayerSwitcher: false,
         projection: new OpenLayers.Projection("EPSG:4326"),
         styleMap: new OpenLayers.StyleMap(new OpenLayers.Style({
             graphicWidth: 22,