Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 640 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 640 Bytes

openlayer-v3-bounce-animation

Bounce animation for features pointer in openlayer v3.19.1

How to use

  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>
  1. Just call feature.playBouncing with instance of map and layer of feature.

Example

//where layer is instanceof: ol.layer.Layer 
 feature.playBouncing(map, layer);
 

Example 1