OK I've done the modification and It seems that it's a little bit
better.

But the Map is still very slow (i'm not talking about the loading !) ,
particularly when you use the zoom.

Any other idea ?

Thanks by advance.
Pierre

On 30 août, 23:11, Rossko <[EMAIL PROTECTED]> wrote:
> There are 800 GMarkers being created, might expect it to take a
> while..
>
> It is much slower for me in IE6 than FF2 for sure, not suprisingly
> though.
>
> Your code doesn't seem sure whether to keep the infowindow content
> attached as a property of the marker, or in a seperate array; it does
> both -
> In createMarker() -
>      marker.myhtml = commentaire ;
>      gmarkers[i] = marker;
>      htmls[i] = commentaire;
> Your myclick() function uses the htmls(i) version, but the map click
> listener uses the identical .myhtml version
>
> I'd be inclined to give the marker a simple index property instead in
> createMarker()
>      marker.idx = i;
> and amend the map click listener to check for that property and use
> htmls[i] for the infowindow.
> I don't suppose it'll make big difference, but with that many markers
> slimming each object down a little may hhelp.
>
> cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to