darshakshah1988 / gmaps4jsf

Automatically exported from code.google.com/p/gmaps4jsf
0 stars 1 forks source link

opening page with map with 300 markers slowdown after upgrade from 1.1.1 to 1.1.2 or 1.1.3 #81

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create an a4j:repeat with 300 (for example) markers +
m:htmlInformationWindow 
2. Change the library from 1.1.1 to 1.1.2 or 1.1.3

What is the expected output? What do you see instead?
 With 1.1.1 the map is shown in less than a second, with 1.1.2 it may take
between 30 and 240 sec to produce the same map with 300 markers.

What version of the product are you using? On what operating system?
 Same behaviour under linux and windows

Please provide any additional information below.

Example:

<code>
<ui:repeat var="markers" value="#{markersGenerator.markers}">

                                        <m:marker latitude="#{markers.lat}"
longitude="#
{markers.lon}">

<m:htmlInformationWindow htmlText="#{markers.description}"  />
                                                        <m:icon
imageURL="#{markers.icon}" />

                                        </m:marker>
</ui:repeat>

</code> 

Original issue reported on code.google.com by magiccre...@gmail.com on 2 Nov 2009 at 4:56

GoogleCodeExporter commented 8 years ago
Issue 76 has been merged into this issue.

Original comment by Hazem.sa...@gmail.com on 24 Nov 2009 at 10:30

GoogleCodeExporter commented 8 years ago

Original comment by jose.noh...@gmail.com on 9 Jan 2010 at 12:27

GoogleCodeExporter commented 8 years ago

Original comment by jose.noh...@gmail.com on 12 May 2010 at 7:39

GoogleCodeExporter commented 8 years ago
I've added a test page with 500 markers (with info windows) to the 1.1.4 branch 
and it 
displays in less than a second. The new JS approach seems to work fine.

Original comment by jose.noh...@gmail.com on 15 May 2010 at 10:38

GoogleCodeExporter commented 8 years ago
That's great!

Original comment by Hazem.sa...@gmail.com on 15 May 2010 at 11:44