Viewing 1 replies (of 1 total)
  • Plugin Author WPGMaps

    (@wpgmaps)

    Hi Marion
    In wpGoogleMaps.php please find the following lines

    <?php if ($wpgmza_open_infowindow_by == '2') { ?>
    google.maps.event.addListener(marker, 'mouseover', function() {
        infoWindow.close();
        infoWindow.setContent(html);
        infoWindow.open(MYMAP.map, marker);
    
    });
    <?php } else { ?>
    google.maps.event.addListener(marker, 'click', function() {
        infoWindow.close();
        infoWindow.setContent(html);
        infoWindow.open(MYMAP.map, marker);
    
    });
    <?php } ?>

    Simply delete those lines and the markers will no longer be clickable.

Viewing 1 replies (of 1 total)
  • The topic ‘unclickable Marker’ is closed to new replies.