-
Notifications
You must be signed in to change notification settings - Fork 29
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
Added control/layers #34
base: master
Are you sure you want to change the base?
Conversation
|
||
impl LayersControl { | ||
#[must_use] | ||
pub fn new(options: &Object) -> Self { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how about this?
pub fn new(options: &Object) -> Self { | |
pub fn new(options: &std::collections::HashMap<String, Layer>) -> Self { |
#[must_use] | ||
pub fn new(options: &Object) -> Self { | ||
constructor_layers(options) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
todo
} | |
} | |
pub fn new_with_options(&Object, options: &LayersControlOptions) -> Self { | |
... | |
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably this file is not necessary
usage