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

Add an onload callback when layer is loaded. #20

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add an onload callback when layer is loaded. #20

wants to merge 2 commits into from

Conversation

dzwarg
Copy link

@dzwarg dzwarg commented Aug 29, 2012

  • Changed 'gvector.js' in build to 'lvector.js'
  • Added 'onload' option to invoke a callback when the jsonp is finished.
  • Added '_layerLoaded' class method to store onload option.

David Zwarg added 2 commits August 29, 2012 09:13
* Changed 'gvector.js' in build to 'lvector.js'
* Added 'onload' option to invoke a callback when the jsonp is finished.
* Added '_layerLoaded' class method to store onload option.
@JasonSanford
Copy link
Owner

Thanks! I'll be making an effort soon to make Leaflet Vector Layers compatible with Leafle 0.4.x so I'll likely merge this code in when I start that.

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