Skip to content

Allow rendering of feature when download of icon failed #3128

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

Merged
merged 2 commits into from
Jan 21, 2015

Conversation

oterral
Copy link
Contributor

@oterral oterral commented Jan 14, 2015

Currently a feature is not rendered when the download of icon, defined in an image style, failed (bad link, offline mode).
That makes sense only for ol.geom.Point and ol.geom.MultiPoint . The others types of geometry don't use the image style, so this PR allows rendering of feature when the download of an icon failed.

Any opinions?

@elemoine
Copy link
Member

It looks good to me. See https://github.com/elemoine/ol3/commit/a4d51fbbb0e63070aa7d89ddddcc716ab75fa01e for unit tests. Please add this commit to your branch if you agree with it.

@oterral
Copy link
Contributor Author

oterral commented Jan 21, 2015

Thks you very much for the tests @elemoine, I add them

elemoine pushed a commit that referenced this pull request Jan 21, 2015
Allow rendering of feature when download of icon failed
@elemoine elemoine merged commit f625a29 into openlayers:master Jan 21, 2015
@oterral oterral deleted the kml_default_style branch January 21, 2015 14:21
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.

2 participants