Skip to content
This repository has been archived by the owner on Apr 7, 2020. It is now read-only.

Documentation update #15

Open
glebmlk opened this issue Apr 11, 2017 · 1 comment
Open

Documentation update #15

glebmlk opened this issue Apr 11, 2017 · 1 comment

Comments

@glebmlk
Copy link

glebmlk commented Apr 11, 2017

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));

@nmccready
Copy link
Contributor

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants