Skip to content

Conversation

tohaocean
Copy link
Contributor

Marker now fires 'add' event on itself in onAdd handler, like geometry Path class instances have been doing already. Any object utilizing ILayer is preferred do the same for future plugins complexity.

@mourner
Copy link
Member

mourner commented Aug 6, 2013

Agreed. In future, I'll refactor all layer classes to have a base class with common functionality like this.

mourner added a commit that referenced this pull request Aug 6, 2013
@mourner mourner merged commit fd4855b into Leaflet:master Aug 6, 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