Hello bratliff & Martin,

Thank you for your answers.
@bratliff: The whole point is that the singleton listener can't know
which marker received the click since the only parameter the listener
function gets is a MouseEvent, which does not expose that information.
So, in your example, "this.george" is either not available to the
listener or would always point to the last marker.

@Martin: Thank you, this looks nice - I'm going to try it right away.
Pamela once talked about a lightweight marker her team implemented,
but the catch was that it didn't allow for events... does your
SimpleMarker support events?

Best,
G.

On Feb 5, 9:38 pm, Martin Matysiak <[email protected]> wrote:
> Also if you shouldn't already do it, with such a high marker count
> lightweight markers will probably improve the performance of your website,
> if you don't need all the features of a common google.maps.Marker (sample
> implementation 
> here<http://blog.martin-matysiak.de/2011/01/a-lightweight-marker-for-googl...>
> ).

-- 
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