Leaflet for Angular

March 1, 2014 · View on GitHub

Use Leaflet with Angular on Meteor.

How to install

  1. npm install -g meteorite (if not already installed)
  2. mrt add angular-leaflet
  3. add the leaflet tag to your HTML:
  4. this example references a separate controller you have to implement in your Javascript: Package.ngMeteor.ngMeteor.controller("MapCtrl", ['scope,function(scope', function(scope) { scope.defaults=;scope.defaults = {}; scope.center = { lat: 51.505, lng: -0.09, zoom: 8 }; }]);

More info at https://github.com/tombatossals/angular-leaflet-directive and http://leafletjs.com/

License

This package is licensed with the MIT license.

Contributors