Notes: show first comment as marker tooltip

This commit is contained in:
Simon Legner 2015-04-14 23:32:58 +02:00
parent ee9ac1930d
commit 5f495b43d1

View file

@ -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
});