Skip to content

Conversation

@davidcalhoun
Copy link
Contributor

I'm writing a map component which needs to look at this.map directly, so it needs to know when this.map is defined, before it starts using it.

Right now I'm doing this with Object.observe, but this doesn't have great support in all browsers.

I'm writing a map component which needs to look at this.map directly, so it needs to know when this.map is defined, before it starts using it.

Right now I'm doing this with Object.observe, but this doesn't have great support in all browsers.
nhnb added a commit that referenced this pull request Sep 29, 2015
Fire map-ready event when this.map is defined
@nhnb nhnb merged commit 02c2740 into leaflet-extras:master Sep 29, 2015
@davidcalhoun
Copy link
Contributor Author

Cool, thanks!

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