angular-ll-leaflet

1.0.0 • Public • Published

angular-ll-leaflet

This project aims at providing a very lightweight AngularJS-directive for the Leaflet maps API.

Directives

  • <div ll-map> – corresponds to L.Map, ll-{click, dblclick, …} bind to the map events
  • <ll-view> – corresponds to the current map view (lat, lng, zoom)
  • <ll-fit-bounds ll-bounds="…"> – for modifying the map view bounds
  • <ll-marker> – corresponds to a L.Marker
  • <ll-div-icon> – corresponds to a L.DivIcon, supports transclusion of the content
  • <ll-popup> – corresponds to a L.Popup, supports transclusion of the content

Demo?

Building

  • yarn
  • npm run dist

Alternatives?

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i angular-ll-leaflet

    Weekly Downloads

    3

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    62 kB

    Total Files

    17

    Last publish

    Collaborators

    • simon04