This repository has been archived by the owner on Nov 30, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(marker): markers now update on model changes
motivation: markers update relies on a comparison between a cached (cloned) version of the model and the reference model. Prior to this commit, the cached model is built using a shallow copy of the reference model (using `_.extends`). Thus, both cached and reference model properties are always identical and model properties changes, e.g. coordinates, are not reflected on the map. In this commit, the cached model is built using a *deep-copy* using `_.clone(model,true)`. solves issue #1350
- Loading branch information