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

Commit f46fd49

Browse files
committed
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
2 parents 32086ad + 1e26170 commit f46fd49

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)