You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 20, 2019. It is now read-only.
First of all I saw this example here: http://angular-ui.github.io/ui-leaflet/examples/0000-viewer.html#/mixed/overlays-markers-nested-no-watch-example
I am using this directive and one of my software features require that sometimes after initial load of markers I update all markers with new ones.
What happens is that data between markers is somehow mixed and not same as model that I provided - updating the markers doesn't work.
I resolved this issue with this:
But issue is completely resolved when I changed my array ('[]') of objects with objects ('key: {data: data}',key: {data: data}',key: {data: data}'...).
This makes another issue and that is some angular features like $filter are not possible anymore (at least not in the angular way).
So, my question is:
Is it necessary to have object ('{}') for markers or it is possible to use this workaround with standard array ('[]')? I need confirmation for this, please, it is very important to know this.