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

Feature request: SelectAreaFeature plugin #180

Open
emilmahler opened this issue Jan 15, 2020 · 1 comment
Open

Feature request: SelectAreaFeature plugin #180

emilmahler opened this issue Jan 15, 2020 · 1 comment

Comments

@emilmahler
Copy link

emilmahler commented Jan 15, 2020

Hi Bhaskar and gang,
It would be extremely useful to have the SelectAreaFeature plugin working with Leaflet for R. I created a Stackoverflow question before I knew leaflet.extras existed. I'd be happy to give an even bigger SO bounty if required.

This feature would be useful for any user looking to select multiple markers or polygons at once by intuitively drawing the region from which you'd like to select. SelectAreaFeature JS demo here .

@tim-salabim
Copy link

In case you need this to return selected features back into your R session and don't need to do anything on the JS side with them, you can use mapedit::selectFeatures(<sf_object>, mode = "draw"). See this post for a demo and some more backgrund.

Also note that this repo (leaflet.extras) is currently not well maintained, hence there may not be many more responses to this thread.

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

No branches or pull requests

3 participants