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

IE Edge Performance Issue when creating InfoBubble #32

Open kunalgithub opened 8 years ago

kunalgithub commented 8 years ago

I am creating multiple markers with InfoBubble on the page using a for loop.

I saw in Chrome that InfoBubble takes around a millisecond to create on an avaergae.

But on IE10 , IE Edge - it takes on an average 60 ms .

Here is the sample : var infoBubble = new InfoBubble( { content : someHTMLString minWidth : 310, backgroundColor : 'rgb(1,89,68), borderRadius : 0 , borderWidth : 0 , backgroundClassName : 'branch_bubble_data', disableAutoPan: false, maxHeight : 200 })

alesleinweber commented 8 years ago

I can confirm a real performance issue, I am getting 15 - 50 times longer scripting time on IE compared to Chrome. It seems to be the clientHeight call on the browser in the positionCloseButton function, see http://i.imgur.com/4vswcLY.jpg