I created a map where some polygons are downloaded from a Fusion Table and drawn on the map.
http://jsfiddle.net/2wej9smf/135/
http://codepen.io/massic80/pen/WvgKym
google.maps.event.addListener(country, 'mouseover', function(e) {
this.setOptions({
fillOpacity: this.fillOpacity + 0.2
});
});
google.maps.event.addListener(country, 'mouseout', function() {
this.setOptions({
fillOpacity: this.fillOpacity - 0.2
});
});
The expected behavior is having any yellow country more opaque when hovering on it.
Everything is OK on Chrome, but on Firefox there is a gap in the hovering: it looks dependent on the left (white) and top (green) gap between the map and container's size.
For example, if you hover on the middle of Peru, Chile or Argentina are "highlighted".
Lowering green bar height and left margin or scrolling down within the box, in order to lower the distance between the map and the borders, seems reducing the gap.
In particular, when clicking a country it's highlighted correctly (it receives click event).