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
Static images should be repeated when wrapping around globe #7288
Comments
did you try |
I tried it just now, to no effect. And http://openlayers.org/en/latest/apidoc/ol.source.ImageStatic.html |
good catch, I suppose we'd accept a PR to add that |
So the PR should add a |
looks like we only have wrapX for tile based sources |
@ahocevar any insight into why this might be? Just not implemented, or another reason? |
Like you said @bartvde - wrapX is just not implemented for image sources. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Any news on property |
I use a static image as fallback background layer, so I would really like to see this feature implemented. |
any update? |
I'm also looking for this feature. There are some use cases where using a dynamically-reloaded source like While still not ideal, loading an image with static resolution and extent can sometimes provide better UX, but the fact that If anyone can jumpstart me with pointers on how this could be implemented, let me know. Otherwise, would defining a custom tiling scheme be a viable workaround? |
Okay, so I was able to get a custom tile scheme working for my use case. I'm loading the entire world (in EPSG:3857) as a single large tile (1536 x 1536px). Wrapping is working, although I am getting a gap around the dateline, but that might be a server projection issue. The following was adapted from this example:
|
I am hoping this issue can be reopened. Any chance someone can work on it? |
Reopened. It would be sufficient to add |
I did open a StackOverflow question related to this topic, since I will (likely) need a solution before this ticket is resolved. If anyone has any advice, I would appreciate it. |
I have a static JPG that I've added to a map, following this example: https://openlayers.org/en/latest/examples/static-image.html
Since the image is global in extent, I'd expect to see it repeated as I pan to the left around the globe. However, the image is only shown a single time, as seen below:
The text was updated successfully, but these errors were encountered: