I found the solution: http://monique.damichel.perso.sfr.fr/tests/TwoMaps2.htm
On 26 fév, 20:17, JCD21 <jcd.n...@club-internet.fr> wrote: > Hello. > I've tested a single map with 2 groups of several hundreds of > markers:http://monique.damichel.perso.sfr.fr/tests/SingleMap.htm > and two maps using the div > tag:http://monique.damichel.perso.sfr.fr/tests/TwoMaps.htm > (use the scroll bars to display the buttons) > It seems the second solution is better but I was not able to display > the two maps at the same place:style.display="none" doesn't seem to > work with google maps? > and style.visibility="hidden" doesn't display the second map at the > right place. > What's the solution? > > On 22 fév, 16:56, Esa <esa.ilm...@gmail.com> wrote: > > > > > The first one is better. > > > The number of dom elements on page is kept smaller. When a single dom > > node is changed, browser performs a full reflow of the page. That is > > why the number of nodes in dom is critical for performance.- Masquer le > > texte des messages précédents - > > - Afficher le texte des messages précédents - -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.