angular-google-maps
angular-google-maps copied to clipboard
Marker click open window with data and position of another marker
Hello,
When I click in a marker, the window is displayed in the position of another marker.
Why?
<ui-gmap-window show="map.window.show" coords="map.window.marker.coords" closeClick="map.window.closeClick()">
<div>{{map.window.marker.id}}</div>
</ui-gmap-window>
<ui-gmap-markers models="map.markers" idkey="map.markers.id" ng-repeat="marker in map.markers" ng-if="isVisible(marker)" coords="marker.coords" events="marker.events">
</ui-gmap-markers>