From 5f495b43d18bfa7a9bcaf918aa4db15261bea46a Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Tue, 14 Apr 2015 23:32:58 +0200 Subject: [PATCH] Notes: show first comment as marker tooltip --- app/assets/javascripts/index/notes.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/index/notes.js b/app/assets/javascripts/index/notes.js index d5ffbead1..fd5cd3ae9 100644 --- a/app/assets/javascripts/index/notes.js +++ b/app/assets/javascripts/index/notes.js @@ -45,6 +45,7 @@ OSM.initializeNotes = function (map) { } else { marker = L.marker(feature.geometry.coordinates.reverse(), { icon: noteIcons[feature.properties.status], + title: feature.properties.comments[0].text, opacity: 0.8, clickable: true }); -- 2.39.5