css - Google map infowindow is offset by 2px -


i using standard infowindow dialog. there 2px offset speech bubble , arrow meet:

google map offset

any reason might happening?

this sample of code i'm using:

var infowindow = new google.maps.infowindow({});  google.maps.event.addlistener(marker, 'click', function() {     var contentstring = '<p>content here</p>';     infowindow.setcontent(contentstring);     infowindow.open(map, marker); }); 


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

ruby - Nesting modules inside of a Rails eninge gem -

Eclipse formatter for java ending braces -