javascript - Google Maps Infobox - Click on android -


i have small app use google maps , infobox set on series of markers. once click on infobox image go link. works on pc , ipad link not "active" when tap image in android (a samsung phone) . here pieces of code:

 var myoptions = {                   content: boxtext                   ,disableautopan: true                   ,maxwidth: infobox_width                   ,boxclass:"mybox"                   ,zindex: null                            ,closeboxmargin: "-13px 0px 0px 0px"                   ,closeboxurl: "http://www.google.com/intl/en_us/mapfiles/close.gif"                   ,infoboxclearance: new google.maps.size(1, 1)                   ,ishidden: false                   ,pane: "floatpane"                   ,enableeventpropagation: true           };                infobox = new infobox(myoptions);        (var = 0; < locations.length; i++) {  var beach = locations[i];  var mylatlng = new google.maps.latlng(beach[1], beach[2]);  var marker = new google.maps.marker({      position: mylatlng,      map: map,      shadow: shadow,      icon: custompin(beach[8]),      shape: shape,      title: beach[0],      zindex: beach[3],      image:beach[4],      price:beach[5],      type:beach[6],      type2:beach[7],      link:beach[9],      infowindowindex :  });    gmarkers.push(marker);         google.maps.event.addlistener(marker, 'click', function() {         infobox.setcontent('<div class="info_details" id="strut"><a href="'+this.link+'">'+this.image+'</a> <h2><a href="'+this.link+'">'+this.title+'</a></h2> <div class="prop_details"><span class="info_inside">'+this.type+' '+this.type2+' - '+this.price+'</span></div>' );      infobox.open(map, this);          map.setcenter(this.position);         if(infobox_width==700){             map.panby(380,-190);      }else{              map.panby(0,-190);             }    }); 

i tried listing the domready event infobox no luck :

             google.maps.event.addlistener(infobox,'domready',function(){                    jquery('#strut').click(function(){ alert('clicked!') });             });  


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -