diff --git a/config/examples/example.html b/config/examples/example.html index 5b9ae887c9..c229c9c9cb 100644 --- a/config/examples/example.html +++ b/config/examples/example.html @@ -73,6 +73,8 @@ <head> <title>{{ title }}</title> <link rel="stylesheet" href="http://openlayers.org/en/v{{ olVersion }}/css/ol.css" type="text/css"> + <!-- The line below is only needed for old environments like Internet Explorer and Android 4.x --> + <script src="http://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList"></script> <script src="http://openlayers.org/en/v{{ olVersion }}/build/ol.js"></script>{{#if extraHead.remote}} {{ indent extraHead.remote spaces=4 }}{{/if}}{{#if css.source}} <style>