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

Can not open certain maps with OpenLayers / IE11 #2685

Closed
1 of 4 tasks
offtherailz opened this issue Mar 2, 2018 · 0 comments · Fixed by #2714
Closed
1 of 4 tasks

Can not open certain maps with OpenLayers / IE11 #2685

offtherailz opened this issue Mar 2, 2018 · 0 comments · Fixed by #2714

Comments

@offtherailz
Copy link
Member

offtherailz commented Mar 2, 2018

Description

Maps with tileXYZ layers that contain subdomains can not be opened in IE11

In case of Bug (otherwise remove this paragraph)

Browser Affected
(use this site: https://www.whatsmybrowser.org/ for non expert users)

  • Internet Explorer
  • Chrome
  • Firefox
  • Safari

Browser Version Affected

  • 10 and 11

Steps to reproduce

  • Use Internet Explorer 11 to open this map

Expected Result

  • The map can open

Current Result

  • The map remain in loading

Other useful information (optional):

It seems to be due to usage of of (2 times)


not supported in IE 11

something like

if (opt.subdomains) {
        opt.subdomains.map( c => urls.push(template(url.replace("{s}", c), opt)));
    } else {
        ['a', 'b', 'c'].map( c => urls.push(template(url.replace("{s}", c), opt)));
    }

make the application work in IE11.

Check my temp work at:
https://github.com/offtherailz/MapStore2/tree/fix_%232685

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

Successfully merging a pull request may close this issue.

3 participants