-
Notifications
You must be signed in to change notification settings - Fork 2
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
How can style parameters be changed dynamically? #11
Comments
Another thought is that, as |
Alternatively, might this be accomplished in |
Update: @banesullivan had some good suggestions on this topic. Once I implement them, I'll update everyone here and close the issue! |
@cardinalgeo, definitely update this after our discussion on this topic. Some takeaways though:
|
Thanks for the comments @banesullivan — will take them into account when posting my solution :) |
Hi all,
With
django-large-image
, styling can be changed dynamically using the request url (e.g.,http://localhost:8000/api/image-file/${imageId}/data/thumbnail.png?band=3&palette=viridis&min=50&max=250
, given in the example here). Is there a similar way to update styling withtrame-leaflet
(e.g., with a dropdown)? I've tried adding parameters to the url (e.g.,"/tile/{z}/{x}/{y}.png?palette=twilight_shifted"
) but without success.Also, am I comparing apples to oranges? Should this question instead be posted in
large-image
?Thanks!
The text was updated successfully, but these errors were encountered: