Skip to content

Issue with Cluster and Markers update #10

Closed
@smartpierre

Description

@smartpierre

Hi !

So I have a map with markers on it. I can paginate through the markers and they are added/removed from the map.
It works perfectly until I tried to add the cluster...

It looks like there's something wrong on the update of the markers, the Google Maps SDK is throwing this error :

screenshot from 2016-01-21 14 21 51

Here is the interesting part of the code of my vue file :

https://gist.github.com/smartpierre/b69426dcd9098c803ab3

In setMarkers, I compare the old markers with the new ones, I remove the old markers that are not in the new list and add the new that are missing (so it does not make all the markers DROP each time I refresh the map)

If you have any idea, I'll take it. Maybe I'm doing something wrong ? In the meantime I'll do without the cluster :D

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions