Currently, I am in the process of developing a map using Google Maps API3 along with the InfoBox extension available at this link
I have successfully implemented an overall padding to the Infobox using the following code snippet:
var infoOptions = {
disableAutoPan: true,
closeBoxURL: "",
pixelOffset: new google.maps.Size(20, 0),
boxStyle: { background: "#ffffff", padding:"4px" }
};
However, upon attempting to change it to only left padding, it seems to disrupt the display of the map:
var infoOptions = {
disableAutoPan: true,
closeBoxURL: "",
pixelOffset: new google.maps.Size(20, 0),
boxStyle: { background: "#ffffff", padding-left:"4px" }
};
The issue arises when adding '-left' to the padding style. Any suggestions or assistance on resolving this matter would be highly appreciated. Thank you.