Skip to content
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

Support tile query default parameters for the image viewer widget #611

Merged
merged 1 commit into from
May 27, 2021

Conversation

manthey
Copy link
Member

@manthey manthey commented May 27, 2021

This allows a custom client to override parameters without subclassing the tile url generator. For instance, in a wrapped ItemView initialize function, you could add this.once('h:viewerWidgetCreated', viewerWidget => viewerWidget.tileQueryDefaults = {encoding: 'PNG'});.

This allows a custom client to override parameters without subclassing
the tile url generator.  For instance, in a wrapped `ItemView`
`initialize` function, you could add `this.once('h:viewerWidgetCreated',
viewerWidget => viewerWidget.tileQueryDefaults = {encoding: 'PNG'});`.
@manthey manthey merged commit 9fed57d into master May 27, 2021
@manthey manthey deleted the tile-query-defaults branch May 27, 2021 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant