@dblanco wrote:
I have a google map using google maps api, with a marker. In the web version it is correct, closes or opens the information window by clicking.
But the android app, only show. Clik does not respond to the window to see information. This missing something?
<ui-gmap-google-map center='mapa.center' options="mapa.opciones" zoom='mapa.zoom'> <ui-gmap-marker coords="marker_club.coords" options="marker_club.options" idkey="marker_club.id" click="markerClick" > <ui-gmap-window show="marker_club.show" closeClick="markerClose(marker)"> <div>{{club}}<br />Sede {{sede}}</div> </ui-gmap-windows> </ui-gmap-marker> </ui-gmap-google-map>
Marker:
$scope.marker_club = { id: 1,
coords: { latitude: latitud, longitude: longitud},
options:{
draggable: false,
icon: new google.maps.MarkerImage(icon),
},
};$scope.markerClick = function(marker, eventName, model) { $scope.marker_club.show = !$scope.marker_club.show; }; $scope.markerClose = function(marker) { $scope.marker_club.show = false; };
Thanks
Posts: 1
Participants: 1