-
Notifications
You must be signed in to change notification settings - Fork 362
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
Changes to enable float zoom levels #608
Conversation
…moved boarder colour trait
…moved boarder colour trait
LGTM! I can squash and merge. |
The CI failure seems unrelated, but I am not sure |
Yes it's unrelated. It might be a new flake8 rule. Let's fix it in another PR. |
|
It is :) It will be auto-magically handled by ipyleaflet, being an option ( |
Did you check that it works fine? I tried on a vector tile layer and it doesn't seem to work. |
Yes, it is working for me.
[image: image.png]
…On Mon, Jun 1, 2020 at 12:57 PM David Brochart ***@***.***> wrote:
Did you check that it works fine? I tried on a vector tile layer and it
doesn't seem to work.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#608 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHJU6TAAECARSCSRI6OEM7TRUNJ7NANCNFSM4NPGPIAA>
.
|
Actually you're right. Handling options changes is not implemented on the We should have something like: model_events() {
let key;
let options = this.model.get('options');
for (var i = 0; i < o.length; i++) {
key = options[i];
this.listenTo(this.model, 'change:' + key, () => {
L.setOptions(this.obj, this.get_options());
}, this);
}
} In all base classes, we only have it in ControlView, not even in LayerView, which surprises me. |
@omanges it looks like it works for everything but a vector tile layer. |
My bad, I didn't pass the options on the |
Great, It works for you as well!!!
…On Mon, Jun 1, 2020 at 1:22 PM David Brochart ***@***.***> wrote:
My bad, I didn't pass the options on the Map but on the layer!
Everything's good, sorry!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#608 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHJU6THYH5ABJOWCTMJN633RUNM2BANCNFSM4NPGPIAA>
.
|
These changes fix the issue raised in #591