In the upper left corner of the map, the white lower tip of the marker appears, which quickly moves along both markers left-right-left.
See here in action http://jsfiddle.net/WGy4g/3/
var map = null; initialize(); function initialize() { var mapOptions = {center: new google.maps.LatLng(-34.397, 150.644),zoom: 8}; map = new google.maps.Map(document.getElementById("map-canvas"), mapOptions); addMarker(-34.397, 150.644); addMarker(-34.377, 150.534); } function addMarker(lat,lng) { var marker = new google.maps.Marker({position: new google.maps.LatLng(lat,lng), title: "marker"}); marker.setMap(map); google.maps.event.addListener(marker, 'mouseover', function() { if (!this.infowindow) { this.infowindow = new google.maps.InfoWindow({content: 'abc'}); } this.infowindow.open(map, this); }); google.maps.event.addListener(marker, 'mouseout', function() { this.infowindow.close(); }); }
Sent error report: https://code.google.com/p/gmaps-api-issues/issues/detail?id=6746&thanks=6746&ts=1401343988
javascript google-maps google-maps-api-3
user3683588
source share