|
@@ -64,6 +64,18 @@ $( document ).ready(function() {
|
|
feature.properties.popupContent += '</ul>';
|
|
feature.properties.popupContent += '</ul>';
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ if (feature.properties.email || feature.properties.phone) {
|
|
|
|
+ feature.properties.popupContent += '<ul>';
|
|
|
|
+ if (feature.properties.email) {
|
|
|
|
+ feature.properties.popupContent += '<li> Email : '+feature.properties.email + '</li>';
|
|
|
|
+ }
|
|
|
|
+ if (feature.properties.phone) {
|
|
|
|
+ feature.properties.popupContent += '<li> Phone : '+feature.properties.phone + '</li>';
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
if (feature.properties.comment) {
|
|
if (feature.properties.comment) {
|
|
feature.properties.popupContent += '<p>'+feature.properties.comment+'</p>';
|
|
feature.properties.popupContent += '<p>'+feature.properties.comment+'</p>';
|
|
}
|
|
}
|