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

.fillable() predicate on vector paths #1504

Closed
wants to merge 1 commit into from
Closed

.fillable() predicate on vector paths #1504

wants to merge 1 commit into from

Conversation

pshc
Copy link

@pshc pshc commented Mar 6, 2013

This deals with a minor hack in the Leaflet source by providing a trivial {path,circle,rect,etc}.fillable() predicate.

Moreover, it will also make it possible to clean up a certain hack in Leaflet.draw: https://github.com/Leaflet/Leaflet.draw/blob/master/src/edit/handler/EditToolbar.Edit.js#L188

Which in turn means that plugins that introduce new editing modes (I'm working on one) won't have to copy-paste and propagate that hack around. Would be much appreciated!

@ghost ghost assigned mourner Jun 6, 2013
@mourner
Copy link
Member

mourner commented Jun 6, 2013

Sorry for a late response, was going to look at this after finishing the vector layers refactoring work (probably going to happen in 0.7).

@mourner
Copy link
Member

mourner commented Dec 18, 2013

No longer necessary as of #2290.

@mourner mourner closed this Dec 18, 2013
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

Successfully merging this pull request may close these issues.

2 participants