https://github.com/simon04/angular-ll-leaflet
Lightweight directives to use Leaflet with AngularJS
https://github.com/simon04/angular-ll-leaflet
angularjs angularjs-directives leaflet leaflet-map
Last synced: 5 months ago
JSON representation
Lightweight directives to use Leaflet with AngularJS
- Host: GitHub
- URL: https://github.com/simon04/angular-ll-leaflet
- Owner: simon04
- Archived: true
- Created: 2016-04-04T15:13:22.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-08-21T11:47:12.000Z (over 7 years ago)
- Last Synced: 2024-11-16T03:43:38.277Z (over 1 year ago)
- Topics: angularjs, angularjs-directives, leaflet, leaflet-map
- Language: JavaScript
- Homepage: https://cdn.rawgit.com/simon04/angular-ll-leaflet/master/demo/
- Size: 27.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# angular-ll-leaflet
This project aims at providing a very lightweight [AngularJS](https://github.com/jbdemonte/angular-google-maps-native)-directive for the [Leaflet](http://leafletjs.com/) maps API.
## Directives
* `
` – corresponds to `L.Map`, `ll-{click, dblclick, …}` bind to the map events
* `` – corresponds to the current map view (lat, lng, zoom)
* `` – for modifying the [map view bounds](http://leafletjs.com/reference-1.0.3.html#map-fitbounds)
* `` – corresponds to a `L.Marker`
* `` – corresponds to a `L.DivIcon`, supports transclusion of the content
* `` – corresponds to a `L.Popup`, supports transclusion of the content
## Demo?
* https://cdn.rawgit.com/simon04/angular-ll-leaflet/master/demo/
## Building
* `yarn`
* `npm run dist`
## Alternatives?
* [ui-leaflet](https://github.com/angular-ui/ui-leaflet) – Feature rich, but as of version 1.0.0, it amounts to 80kB of glue code for a library of 120kB
* [angular-google-maps-native](https://github.com/jbdemonte/angular-google-maps-native) – Nice, but for the Google Maps API