Skip to content

Call transformRequest for sprite image URLs - #618

Merged
ahocevar merged 2 commits into
openlayers:mainfrom
walkermatt:transform-request-spriteimage
Jul 18, 2022
Merged

ahocevar merged 2 commits into
openlayers:mainfrom
walkermatt:transform-request-spriteimage

Conversation

@walkermatt

Copy link
Copy Markdown
Contributor

Resolves #617 by calling transformRequest for the spriteImageUrl when transformRequest is passed as an option to applyStyle.

Tests verify that transformRequest is being called for each of the expected ResourceType values.

When the transformRequest option is passed to applyStyle and the style
is for a vector tile layer also call transformRequest for the
spriteImageUrl

@ahocevar ahocevar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @walkermatt!

@ahocevar
ahocevar merged commit ac53c72 into openlayers:main Jul 18, 2022
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.

applyStyle doesn't apply transformRequest to spriteImageUrl

2 participants