summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--map.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/map.js b/map.js
index 0d59bce..22937f8 100644
--- a/map.js
+++ b/map.js
@@ -15,7 +15,7 @@ function typecolor(type) {
else { return ('black'); };
};
function returnFeatureMarker(feature, latlng) {
- var hasPopup = (feature.properties.location && feature.properties.type);
+ var hasPopup = (feature.properties.location && feature.properties.title);
return L.circleMarker(latlng, {
title: feature.properties.title,
zIndexOffset: 1000*feature.properties.priority || 0,