GitHub - angular-ui/ui-leaflet-draw: angular directive for ui-leaflet to utilize Leaflet.Draw (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
This repository was archived by the owner on Apr 7, 2020. It is now read-only.
Repository files navigation
ui-leaflet-draw
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 arehere.
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
- promised(promise):