timkeane / nyc-lib

Apache License 2.0
12 stars 8 forks source link

FinderApp examples do not load in IE #36

Open cmenedes opened 3 years ago

cmenedes commented 3 years ago

Current Behavior

Attempting to load FInderApp examples in IE on ol version 6.5.0 results in error in console: ol is undefined

Expected Behavior

User should be able to access FinderApp examples in IE

Failure Information (for bugs)

Steps to Reproduce

  1. Build nyc-lib as described in readme, navigate to dist/examples/ol/finderapp.html
  2. Observe if page loads properly. Check console for any errors.
cmenedes commented 3 years ago

There is an issue with legacy builds on ol v6.5.0. See these threads for more info: https://github.com/openlayers/openlayers/issues/11866 https://github.com/openlayers/openlayers/issues/11870

Placing <script src="https://openlayers.org/en/main/build/ol.js"></script> in all our example files until the next ol version is published is a workable solution for now. It seems like the issue was fixed, just not published yet. https://github.com/openlayers/openlayers/issues/11870#issuecomment-757691016