snazzy-info-window icon indicating copy to clipboard operation
snazzy-info-window copied to clipboard

Centering info window with a dynamic info box size

Open NeedHate opened this issue 6 years ago • 0 comments

Hey! Faced with an issue: For example, I want info window to be opened always, but with a specific styling classes. Like, "open" and when clicked on it comes to "active" with no need for info.close(). The "open" has width/height 50px, and when its "active" - 200/200px. So here comes the trouble. Dynamic change of size not actually works fine. And I'm experienced overlapping off the screen. So have to set edgeOffset to "200", just to be sure it's not overlapping on the top. But the marker pushes down to those 200px when the info window doesnt have "active" class. Any ideas, how to handle it?

NeedHate avatar Apr 05 '18 12:04 NeedHate