openlayer-v3-bounce-animation
Bounce animation for features pointer in openlayer v3.19.1
How to use
- 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.
Example
//where layer is instanceof: ol.layer.Layer
feature.playBouncing(map, layer);