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

Replacement of fast-stable-stringify causes IE11 error #5590

Closed
sroettering opened this issue Nov 3, 2017 · 1 comment
Closed

Replacement of fast-stable-stringify causes IE11 error #5590

sroettering opened this issue Nov 3, 2017 · 1 comment

Comments

@sroettering
Copy link

Internet Explorer throws an error when I add layers to a map. The error comes from a call to Object.keys() which is implemented slightly different in IE. According to this Stackoverflow thread the IE version of Object.keys() throws a type error if a non-object is passed as an argument.

mapbox-gl-js version: 0.40.0

Steps to Trigger Behavior

  1. Open IE11
  2. Call the new stringify function in /src/style-spec/group_by_layout.js

Expected Behavior

No error thrown

Actual Behavior

Error thrown: Object.keys: argument is not an Object

@jfirebaugh
Copy link
Contributor

Duplicate of #5312. This was fixed in 0.40.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants