Awesome
Leaflet for Angular
Use Leaflet with Angular on Meteor.
How to install
npm install -g meteorite
(if not already installed)mrt add angular-leaflet
- add the leaflet tag to your HTML: <div ng-controller="MapCtrl"> <leaflet default="defaults" center="center" width="100%" height="400px"></leaflet> </div>
- this example references a separate controller you have to implement in your Javascript: Package.ngMeteor.ngMeteor.controller("MapCtrl", ['$scope', function($scope) { $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.