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 has been archived by the owner on Nov 30, 2018. It is now read-only.
When pushing markers to array, even with doRebuildAll=false specified, markers seem to be rebuilt (assuming since they flash). When adding 1000's of markers, this gets cumbersome.
This was working with 2.0.12, but seems to no longer work with 2.2.0. I created a Plunker to compare. You can simply comment out the 2.2.0 scripts and uncomment the 2.0.12 scripts in the HTML to see the difference. I added Animation to markers so it's easier to see. Click "Add Marker" to randomly add a marker and see them re-build.
Change model-key to use lodash to compare objects
- When objects (outside of coords) are compared via ===, the comparison always returns falls, even if objects are same. Thus, with a false comparison, all markers get marked as needing update, negating doRebuildAll=false. This fixes false negative on comparison.
- Add simple examples page with examples controller for issue angular-ui#1485.
- Update model-key spec to include a non-coord comparison on markers
Closesangular-ui#1485
Not sure if this is related to #1447
When pushing markers to array, even with doRebuildAll=false specified, markers seem to be rebuilt (assuming since they flash). When adding 1000's of markers, this gets cumbersome.
This was working with 2.0.12, but seems to no longer work with 2.2.0. I created a Plunker to compare. You can simply comment out the 2.2.0 scripts and uncomment the 2.0.12 scripts in the HTML to see the difference. I added Animation to markers so it's easier to see. Click "Add Marker" to randomly add a marker and see them re-build.
Plunker example
Love this library, thanks in advance for the help. Happy to add to the example if needed.
The text was updated successfully, but these errors were encountered: