diff options
author | Jonas Smedegaard <dr@jones.dk> | 2015-09-09 03:47:02 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2015-09-09 03:47:02 +0200 |
commit | feaec4c31fce93ba4af9b63246ad6ab18f166b2b (patch) | |
tree | 09cffda764ef5f33d79dcddfdbd5a7966f7dc461 | |
parent | 82986488864cbd7b2122d036f4001790b57b2fec (diff) |
Fix popup with null type.
-rw-r--r-- | map.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |