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
The docs say this is the constructor format: L.layerConfig(object or url to json file, map);
L.layerConfig(object or url to json file, map);
However it looks like the first parameter gets set to the internal 'map' variable, and the second parameter is discarded.
The working syntax is used in the example, where only the map is passed to the constructor, and the object/url is sent to .parse() afterwards.
This is confusing and it seems unintended.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The docs say this is the constructor format:
L.layerConfig(object or url to json file, map);
However it looks like the first parameter gets set to the internal 'map' variable, and the second parameter is discarded.
The working syntax is used in the example, where only the map is passed to the constructor, and the object/url is sent to .parse() afterwards.
This is confusing and it seems unintended.
The text was updated successfully, but these errors were encountered: