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

fix(map): add an additional setStyle() call to prevent map loading issues... #87

Merged
merged 1 commit into from
Dec 25, 2018

Conversation

sroettering
Copy link
Contributor

@sroettering sroettering commented Dec 17, 2018

…on IE11 (see mapbox/mapbox-gl-js#4821 (comment)).
Main issue is here: mapbox/mapbox-gl-js#4623
Fixes #66

@sroettering
Copy link
Contributor Author

Sadly mapbox logs an error, if we do a setStyle() directly after creating the map.
Is there any way around this?

@Wykks
Copy link
Owner

Wykks commented Dec 20, 2018

I thought a bit about this. It could be okay if we do this only when running on IE11... Did you close it because it's not needed anymore?

@sroettering
Copy link
Contributor Author

No I closed it because I was not able to fix the e2e test. The e2e tests check the log output and mapbox throws an (IMO unnecessary) error that I can not prevent :-/ Maybe you have an idea for the e2e tests?

@Wykks
Copy link
Owner

Wykks commented Dec 20, 2018

e2e tests only run on chrome, so it's fine if we add a check for IE11

@sroettering
Copy link
Contributor Author

ah I see. I will include an IE check then!

@sroettering sroettering reopened this Dec 20, 2018
@Wykks Wykks merged commit 4aa72dc into Wykks:master Dec 25, 2018
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