-
Notifications
You must be signed in to change notification settings - Fork 640
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AngularJS - Leaflet] Invalid data passed to the polyline path #323
Comments
Hi, please, could you implement the case in a working demo? You could use this jsfiddle as a start: Thanks for reporting |
Path helpers fix (solves issue #323)
This issue was moved to angular-ui/ui-leaflet#9 |
I'm going to rework&redesign angular-leaflet-directive to be compatible with Leaflet v1.0. It will mantain almost all its functionality, and will be compatible with the current features of the directive, but I must start from a fresh point, so I'm going to close this issue. If you think it must be worked with the new version, please reopen it. |
I'm trying to draw a path when a user clicks a certain element. In my view I have the directive:
Then in my controller I fetch the data points and add them to
$scope.paths
The
defaultPath
shows up fine when the page loads, but when I click an element I get an error:How can I draw a path when a user clicks an element?
The text was updated successfully, but these errors were encountered: