Skip to content
This repository has been archived by the owner on Nov 30, 2018. It is now read-only.

Commit

Permalink
fix(marker): markers now update on model changes
Browse files Browse the repository at this point in the history
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
quentinlampin committed Jun 12, 2015
2 parents 32086ad + 1e26170 commit f46fd49
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit f46fd49

Please sign in to comment.