Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 364 Bytes

README.md

File metadata and controls

10 lines (6 loc) · 364 Bytes

leaflet-wax-wrapper

simple js class to consolidate interaction/layer toggling using wax + leaflet

tested with leaflet 0.3.1, wax 6.3.0, underscore 1.3.3, and the latest jQuery.

create a new instance passing it a tilejson object (http://mapbox.com/wax/interaction-leaf.html), a map, and callbacks.

see example/index.html for additional code