I have two different layers in a leaflet map. I have one layer in which I would like the popup to return some text from the layer's attributes. They other layer I would like the popup to return an image which I have embedded the link to in the layers attributes. I have successfully implemented both of the layer.bindpopup functions successfully individually but I'm having no luck implementing them together.
function onPlot(feature, layer) {if (feature.properties) { layer.bindPopup('
function onPlot(feature, layer) {if (feature.properties) { layer.bindPopup('