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

Some expression maths not working in IE11 #7318

Closed
ashleyclough opened this issue Sep 21, 2018 · 1 comment
Closed

Some expression maths not working in IE11 #7318

ashleyclough opened this issue Sep 21, 2018 · 1 comment
Assignees
Labels

Comments

@ashleyclough
Copy link

ashleyclough commented Sep 21, 2018

Version: 0.49.0
Internet Explorer 11

Some (complex) maths in expressions used to calculate circle-radius are failing in IE11 - circles appear small and fixed with no variation. Same code renders correctly in other browsers.

Both these fail:

"circle-radius": [
      "+",["*",["log2",["get", "point_count"]],12],10
]

Console reports: Object doesn't support property or method 'log2'

"circle-radius": [
       "+",["*",["sqrt",["get", "point_count"]],6],20
]

Have reverted to unsophisticated 'property' and 'stops' sizing from pre-expression days.

mourner added a commit that referenced this issue Sep 21, 2018
@mourner mourner self-assigned this Sep 21, 2018
@mourner
Copy link
Member

mourner commented Sep 21, 2018

Good catch — submitted a fix in #7320.

mourner added a commit that referenced this issue Sep 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants