googlearchive / js-info-bubble

A library for customizable CSS3 InfoWindows in the Google Maps JavaScript API v3
Apache License 2.0
226 stars 183 forks source link

maxWidth is not working #38

Open mallikarjuna023 opened 6 years ago

mallikarjuna023 commented 6 years ago

Dear, I am using your infobubble.js file to create customize Info window, but I am facing one issue. maxWidth is not working.

var infoBubble = new InfoBubble({ maxWidth: 100, content: infocontent, padding:2, borderRadius: 4, arrowSize: 10, borderWidth: 1, borderColor: '#2c2c2c', disableAutoPan: true, hideCloseButton: false, });
infoBubble.open(mymap, marker);

I have changed many times the maxWidth value but there is not changes. other parameters are working except maxwidth.

image

please give me update on this

Jon-Millent commented 6 years ago

You can add this line of code in the source code TIM截图20180628152957.png