publiclab / leaflet-environmental-layers

Collection of different environmental map layers in an easy to use Leaflet library, similar to https://github.com/leaflet-extras/leaflet-providers#leaflet-providers
https://publiclab.github.io/leaflet-environmental-layers/example/
GNU General Public License v3.0
99 stars 77 forks source link

Display optional legends for each layer #103

Open kevinzluo opened 5 years ago

kevinzluo commented 5 years ago

In these 2 links, @sagarpreet-chadha has some nice legends for some of the layers. https://publiclab.org/notes/sagarpreet/06-06-2018/leaflet-environmental-layer-library https://publiclab.org/notes/sagarpreet/07-16-2018/leaflet-environmental-layer-library-part-2

We could try to use leaflet controls to include these alongside the maps.

legendfeature

sagarpreet-chadha commented 5 years ago

Really cool idea !!! Do you want to work on it ? I am adding this as a gci task (will be published soon ) .

kevinzluo commented 5 years ago

Sure!

kevinzluo commented 5 years ago

Really cool idea !!! Do you want to work on it ? I am adding this as a gci task (will be published soon ) .

@SidharthBansal Could you add this to the GCI dashboard?

grvsachdeva commented 5 years ago

Hi @kevinzluo would you like to work on this after your exams get over? Thanks!

jywarren commented 5 years ago

Re-opening because this is a great idea. It'd be great to manage this within each layer.