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 27, 2025
1 parent d603cca commit 4fa79a7
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 @@ -42,7 +42,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 4fa79a7

Please sign in to comment.