ui-leaflet-draw

0.0.5 • Public • Published

ui-leaflet-draw

Dependencies  Dependencies  Build Status

Purpose:

To extend ui-leaflet directives to add Leaflet.Draw.

Basic use:

In general the main goal of this direcitve to bind an attribute lf-draw within the leaflet directive to a field which represent Leaflet.Draw options.

Follows the same event driven architecture of leafletDirectiveDraw[someEvent] being fired from root scope. The events are here.

API

For basic use it is described in a enough extent in Basic use.

Unique Options

  • options.control - (note: this will probably go away infavor of leafletData)

    • promised(promise):
      • promise: type: Promise which resolves:
        • type object
          • control: drawControl leaflet object
          • map:: leaflet map instance

Full Example

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.5
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.5
    2
  • 0.0.4
    0
  • 0.0.3
    0
  • 0.0.2
    1

Package Sidebar

Install

npm i ui-leaflet-draw

Weekly Downloads

3

Version

0.0.5

License

MIT

Last publish

Collaborators

  • nmccready