jeudi 8 mai 2014

Cliquez sur le gestionnaire d'événements sur le marqueur ne tirant dans la version de Google Maps iPhone JavaScript 3 - Stack Overflow


I want to open an InfoWindow on click of the marker using Google Maps API version 3.


I am using:


google.maps.event.addListener(marker, 'click', function() {      
infowindow.open(map,marker);
});

This code is working fine on BlackBerry and Android, but not working on iPhone.


When I use the Google documentation example for opening an InfoWindow, the example is working in Android and BlackBerry, but not when the useragent is an iPhone. For reference of the example:


https://google-developers.appspot.com/maps/documentation/javascript/examples/infowindow-simple-max


The URL above works fine on the Android and BlackBerry useragents, but not when the useragent is an iPhone.



I want to open an InfoWindow on click of the marker using Google Maps API version 3.


I am using:


google.maps.event.addListener(marker, 'click', function() {      
infowindow.open(map,marker);
});

This code is working fine on BlackBerry and Android, but not working on iPhone.


When I use the Google documentation example for opening an InfoWindow, the example is working in Android and BlackBerry, but not when the useragent is an iPhone. For reference of the example:


https://google-developers.appspot.com/maps/documentation/javascript/examples/infowindow-simple-max


The URL above works fine on the Android and BlackBerry useragents, but not when the useragent is an iPhone.


0 commentaires:

Enregistrer un commentaire