Skip to content

Commit

Permalink
Adds using description for note tooltip
Browse files Browse the repository at this point in the history
Adds initializing note's tooltips from description retrieved from JSON file.
  • Loading branch information
nenad-vujicic committed Jan 24, 2025
1 parent 564420e commit 14a78ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/index/layers/notes.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ OSM.initializeNotesLayer = function (map) {
} else {
marker = L.marker(feature.geometry.coordinates.reverse(), {
icon: noteIcons[feature.properties.status],
title: feature.properties.comments[0].text,
title: feature.properties.description,
opacity: 0.8,
interactive: true
});
Expand Down

0 comments on commit 14a78ae

Please sign in to comment.