simple js class to consolidate interaction/layer toggling using wax + leaflet
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
README.md
layer-interaction.js

README.md

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