Skip to content

laokey/ol2_swipe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

ol2_swipe

a swipe control for openalyers2 | 卷帘控件

Usage:

  var map = new new OpenLayers.Map(mapdiv);   
  var swipe = new OpenLayers.Control.Swipe({map: map}); //实例控件   
  map.addControls([swipe]);   //添加控件    
  swipe.activate(layer);     //激活控件,传layer指定上层被clip图层 
  swipe.deactivate();   //控件失效

Preview:

预览图

About

a swipe control for openalyers2

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published