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

Marker improvement #1942

Merged
merged 1 commit into from Aug 6, 2013
Merged

Marker improvement #1942

merged 1 commit into from Aug 6, 2013

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.

None yet

2 participants