Skip to content

Map won't load in IE11 #15

@mikaelkarlsson-se

Description

@mikaelkarlsson-se

Hi,
The map isn't loading in IE11, I think since the latest release, because IE can't handle the function() shorthand in JavaScript.

JS error message:

SCRIPT1003: ':' expected
terratype.renderer.js (391,25)

This is in turn this line:
getPosition(tag) {

It's solved by rewriting it to:
getPosition: function (tag) {

I can maybe find time to make a pull request out of this but it feels a bit overkill? :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions