When I am try to animate the map on the basis pf markers fetching. Till sometime map line animation is working properly but after sometime the line animation stops and when I see the browser's console I see : Cannot get the property 'za' of undefined. How to get rid of this. Any help will be appreciated. Thanks in advance.
If you use ol-debug.js
this will give you a more informative error, and allow you to step through the library using a browser's developer tools.
When bug fixing, or developing, I usually have a commented out bit of html to pull in an ol-debug.js
cdn as needed, and switch with ol.js
:
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/ol3/3.14.0/ol-debug.js"></script>-->
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.