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

GraphicFill loading state when writing style #434

Open
KaiVolland opened this issue Oct 4, 2021 · 1 comment
Open

GraphicFill loading state when writing style #434

KaiVolland opened this issue Oct 4, 2021 · 1 comment
Labels
question Further information is requested

Comments

@KaiVolland
Copy link
Contributor

As stated by @nevaldas the loading state of images can be a problem when writing GraphicFill styleFunctions with external graphics: #388 (comment)

Possible solutions could be:

  • Wait for the images to be loaded before returning the style. This could be difficult when using placeholders in the image url.
  • optionaly passing the olmap and add an onload listener to rerender it

Please discuss and add more ideas. :)

@KaiVolland KaiVolland added the question Further information is requested label Oct 4, 2021
@jansule
Copy link
Contributor

jansule commented Oct 4, 2021

Also we could provide some kind of event, so the actual application can decide when to trigger the rerender. However, all applications would have to implement this then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants