Closed VaishaliRavindran closed 6 years ago
Please take a look at this, https://ngmap.github.io/#/!shape_with_ng_repeat.html. and if still not resolved create a plunker with "Run in plunker" button" to reproduce your error.
Inserting dummy values in 'path' array like path=[[0,0]], solved my problem. In my code, before inserting actual values in array, I am clearing it. So, these dummy values wont cause problem.
please close this if resolved
Current behavior I am having a map and set of users. If no user is selected I am displaying last recorded positions of all the users. If 1 user is selected, I am using shape tag to display his movements. It works while a user is selected. But, If user is removed from selection box, I am getting error .
InvalidValueError: not an Array
. But, the map is displayed correctly. I am using ng-if conditions in shape tag and marker tag. If I remove shape tag , I am not getting errors.Expected/desired behavior
No errors
Code Implementation