Bounce animation for features pointer in openlayer v3.19.1
- import bounce.js in your page:
<!-- Downlonad bounce.js e import your local copy -->
<script src="https://raw.githubusercontent.com/jefferson/openlayer-v3-bounce-animation/master/bounce.js"></script>
- Just call feature.playBouncing with instance of map and layer of feature.
//where layer is instanceof: ol.layer.Layer
feature.playBouncing(map, layer);