Skip to content

jefferson/openlayer-v3-bounce-animation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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