This is a proof-of-concept custom Batman.View
that ties batman.js structures to leaflet.js. I've always liked leaflet and I wanted to give it a try!
The whole application is in this gist as application.coffee
, with the templates preloaded in the compiled application.js
(implemented in Gulpfile.js
).
You can also see the leaflet view file.
This custom view is an example of:
- Beefy batman.js view for using another JS library
- exposing options with
@option
in the view definition - using gulp.js to build batman.js apps
- Using a
Batman.SetObserver
in application code