ui-leaflet-draw icon indicating copy to clipboard operation
ui-leaflet-draw copied to clipboard

Documentation update

Open glebmlk opened this issue 8 years ago • 1 comments

Please update documentation or code examples about using angular events with map #id. So that, if you have provided YOUR_MAP_ID with leaflet

<leaflet id="YOUR_MAP_ID" lf-draw="drawOprions"></leaflet>

you need to add YOUR_MAP_ID to events subscribtion e.g.

$scope.$on('leafletDirectiveDraw.' + YOUR_MAP_ID + '.' + eventName, function handler(e, args));

glebmlk avatar Apr 11 '17 14:04 glebmlk

Please make a PR and make the appropriate changes to the Readme.md .

nmccready avatar Apr 11 '17 15:04 nmccready