Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layer name aggregator function #253

Open
jywarren opened this issue Sep 4, 2019 · 2 comments
Open

Layer name aggregator function #253

jywarren opened this issue Sep 4, 2019 · 2 comments
Milestone

Comments

@jywarren
Copy link
Member

jywarren commented Sep 4, 2019

I'm thinking of how we can easily create short-codes for #167 from within an existing map, which capture all the layers currently being shown.

This will help us achieve #252 too -- an embed button!

@jywarren jywarren added this to the v1.0 milestone Sep 4, 2019
@jywarren
Copy link
Member Author

jywarren commented Sep 4, 2019

I'm thinking this should be something like L.EnvironmentalLayers.getLayerNames() as follow-up to #175

@crisner
Copy link
Contributor

crisner commented Feb 28, 2020

Is this feature something like the one below but to get all the layer names?

L.Control.Layers.include({
getActiveOverlayNames: function() {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants