On Jan 21, 11:07 am, "N.Aleksandrenko" <[email protected]>
wrote:
> you don't need infowindows IN markers. You need to create infowindows only
> when needed. This mean you don't create any at start and create one on
> marker click, and on infowindow close button click - remove the infowindows
> (not just hide it). And yes, use light markers.
>
> I thing there is even a way to make markers only divs with no event
> listeners. Attach just 1 event listener to the map dom element and on click
> see what dom element is under the mouse point. If it is a marker - go do
> your stuff. That way you will have only 1 listener instead of many and light
> markers as they can get.
> I will try to make this in the future :) i don't have the time now. If
> anyone likes the idea ... send me a copy ;)

I am developing a "light weight" marker facility with CANVAS.

    http://www.polylib.us/polycluster/airports

It still has many rough edges.

A pair of event listeners ("click" & "mousemove") can support ten
thousand markers.  Unfortunately, Internet Explorer is out of luck.
VML places a heavy burden on the DOM.  Every marker requires an "oval"
element.  Every "oval" element requires "fill" & "stroke" sub-elements
in order to control opacity.  I may be able to use "shape" elements
with a lot of hops but I have not tried.  I believe DIVs will run out
of gas at several hundred.  I have not tested the limits.

If anyone knows another way to do it using VML, please let me know.

-- 
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 [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-js-api-v3?hl=en.

Reply via email to