Open crisner opened 4 years ago
Can I work on this?
Sure @sanjana091001! Please go ahead.
I'm new here, can I get some more information about this issue?
If you are new you could take a look at issues that are labelled first-timers-only
here: https://code.publiclab.org/#r=all. You may have to dig a little into the code for this one.
I would really like to work on this issue, can I give it a shot?
Sure! Go ahead and give it a try. 😃 Also, it looks like the popup content is generated here: https://github.com/publiclab/leaflet-environmental-layers/blob/6f6c8a350717458390ca1012d758dd492f0c7125/src/layercode.js#L37-L65
But then the content is not bound to the popup. The content needs to show when we click the markers in this layer. Thanks!
Moved to #391
The marker for the opensense layer does not have popup content. It needs to be added to the popup from the data for each marker. https://github.com/publiclab/leaflet-environmental-layers/blob/6f6c8a350717458390ca1012d758dd492f0c7125/src/layercode.js#L267-L274
https://github.com/publiclab/leaflet-environmental-layers/blob/6f6c8a350717458390ca1012d758dd492f0c7125/src/layercode.js#L294