GoogleWebComponents / google-map

Google Maps web components

Home Page:https://elements.polymer-project.org/elements/google-map

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dom Repeat's Filter and google-map-marker

ziszo opened this issue · comments

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.