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" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -