Skip to content

Dom Repeat's Filter and google-map-marker #319

@ziszo

Description

@ziszo

I use dom-repeat's filter to display markers depending on the paper-checkboxes.
The filter seem to work fine in hiding/showing markers, but the items got interchanged for each marker whenever I check/uncheck the paper-checkboxes.

google-map v1.1.11

            <google-map latitude="{{center_lat(result)}}" longitude="{{center_lon(result)}}" zoom="13">
                <template id="resultsMap" is="dom-repeat" items="{{result}}" filter="_filter_makers">
                    <google-map-marker icon="{{get_marker(item.area)}}" latitude="{{get_value(item.lat)}}" longitude="{{get_value(item.lon)}}">
                        <p>{{item.name}}</p>
                    </google-map-marker>
                </template>
            </google-map>

Hoping for Polymer (@ebidel, @robdodson, @tjsavage) team's reply soon.
Thanks.

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