Skip to content
This repository has been archived by the owner on Dec 15, 2018. It is now read-only.

maxWidth is not working #38

Open
mallikarjuna023 opened this issue Nov 27, 2017 · 1 comment
Open

maxWidth is not working #38

mallikarjuna023 opened this issue Nov 27, 2017 · 1 comment

Comments

@mallikarjuna023
Copy link

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
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants