Hoverboard in an Angular.JS app working with and Leaflet without Require.JS
Hi!
I'm working on an app in angular where map components are based on Leaflet 0.7.7 (specifically angular-leaflet-directive). I'm trying to use Your mapzen vector tiles to smoothly present administration boundaries to the user, so I tried hoverboard to join those elements.
Unfortunately, I have kinda problem with it (probably based on Require.JS or other method of dependency injection). I have installed framework with bower, prepared code like in the example (for now) but I get "Uncaught ReferenceError: require is not defined" which is followed by "module is null". Not sure how to workaround it. That method is present also in 'topojson' framework on which hoverboard depends. Next I get "L.tileLayer.hoverboard is not a function", but I think it's a result of the previous mentioned issue.
Including Require.JS in npm throws much more failures. Can I get any hint to solve it or how to use vector-tiles (geo/topojson) with leaflet? Couldn't find anything valuable on the net.