We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently L.WMS is only assigned when using Leaflet as a global, so you can't do this:
define(['leaflet', 'leaflet.wms'], function(L) { var source = L.WMS.source(...); });
Instead you have to do this:
define(['leaflet', 'leaflet.wms'], function(L, wms) { var source = wms.source(...); });
It might be less confusing (and more consistent with other plugins) to support both options when running in AMD.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently L.WMS is only assigned when using Leaflet as a global, so you can't do this:
Instead you have to do this:
It might be less confusing (and more consistent with other plugins) to support both options when running in AMD.
The text was updated successfully, but these errors were encountered: