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

Markers positions are not updated when models coords change.  #1350

Closed
@quentinlampin

Description

@quentinlampin

Hello there,
I'm trying to dynamically add and update markers positions according to a data model. Adding new 'markers' to the model works well, i.e. new markers are shown up on the map, but changing their coordinates does not work, markers stay at their original coordinates.

Here is a plunker of the issue : http://plnkr.co/edit/94GZ6QaCYrlonNzkMhe9?p=preview

I'm novice (2 weeks on JS, node, grunt, etc....... x/ ) so I'm certainly wrong but could it be that 'coords' are not $watched? Or is it by design, i.e. involving some sort of perf. trade-off? In that case, how would I implement this, and what kind of performance hit should I expect for, say, 50ish markers ?

I'm sorry if that question has already been answered or if the docs cover that point, I did my best solving this by myself but coffee and good will didn't suffice this time ;)

Regards,

Quentin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions