aboutsummaryrefslogtreecommitdiff
path: root/src/js/app/places.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/app/places.js')
-rw-r--r--src/js/app/places.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/js/app/places.js b/src/js/app/places.js
index 9325d66..f27eacd 100644
--- a/src/js/app/places.js
+++ b/src/js/app/places.js
@@ -11,18 +11,16 @@ define([
fillColor: 'rgba(110, 204, 57, 0.6)',
fillOpacity: '1',
});
-/*
// bindTooltip was introduced in LeafletJS 1.0.
try {
marker.bindTooltip(
- feature.properties.name,
- {permanent: true });
+ feature.properties.name
+ );
} catch (e) {
if (console) {
console.warn('tooltip skipped (using an old Leaflet?)');
}
};
-*/
return marker;
};