icon: noteIcons[feature.properties.status],
opacity: 0.9
});
+ marker.id = feature.properties.id;
marker.addTo(noteLayer).bindPopup(
createPopupContent(marker, feature.properties),
popupOptions()
return marker;
}
+ noteLayer.getLayerId = function(marker) {
+ return marker.id;
+ };
+
var noteLoader;
function loadNotes() {