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

CDN version is broken in IE11 #1198

Closed
destus90 opened this issue May 18, 2020 · 2 comments · Fixed by #1201
Closed

CDN version is broken in IE11 #1198

destus90 opened this issue May 18, 2020 · 2 comments · Fixed by #1201

Comments

@destus90
Copy link
Contributor

destus90 commented May 18, 2020

Describe the bug

The hosted CDN version is not compatible with ES5 browsers. There are some ES2015 statements shipped from @terraformer/arcgis. This may have happened after merging #1194.

Expected behavior

Should work in IE11.

To Reproduce

https://plnkr.co/edit/I7rNXwkWmITFwupi?open=lib%2Fscript.js

Observe the errors in the console.

@gavinr
Copy link
Contributor

gavinr commented May 18, 2020

@destus90 thank you for the report and the PR. I do see that the latest version does not work in IE11. We will work on testing/verifying your PR. In the mean time you can use a previous version as a workaround: https://unpkg.com/[email protected]/dist/esri-leaflet.js

Example: https://plnkr.co/edit/8EGLnIKZ5UmPK3xE?open=lib%2Fscript.js

@gavinr
Copy link
Contributor

gavinr commented May 19, 2020

This was addressed in https://github.com/Esri/esri-leaflet/releases/tag/v2.4.1. Thanks!

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