I am trying to implement a "light weight" marker package.
http://www.polylib.us/polycluster/place
CANVAS performance is satisfactory but CANVAS does not support mouse
events. SVG performance is not satisfactory but SVG does support
mouse events.
Too see the difference in performance, click "clickable" "true" or
"clickable "false". The former uses SVG. The later uses CANVAS.
A lot could be done to improve performance if smooth panning was made
optional..
Please star issues 2845 & 2846
http://code.google.com/p/gmaps-api-issues/issues/detail?id=2845
http://code.google.com/p/gmaps-api-issues/issues/detail?id=2846
if "light weight" markers are something you might use.
I am curious about how Google implements mouse events on KML Layers.
It appears to be done locally in the browser without sending requests
to the server.
Perhaps a few low level bits of the color and/or alpha properties
could be used to identify which poly receives a click. Any other
ideas will be welcome.
--
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.