Rather than setting it to a location off the map, I would simply
toggle the visibility with setVisible().

Another option would be to call setIcon on the actual marker. You can
simply change the icon image rather than overlay a new marker.

Chad Killingsworth

On Jan 27, 5:39 pm, Esa <[email protected]> wrote:
> Actually on the example page, the icon is not changed but a bigger
> highlighting marker is positioned on top of the original marker.
>
> 1] Create a highlighting marker at e.g. South Pole.
> 2] Call setPosition() by sidebar 'mouseover' to the original marker
> point
> 2] Call setPosition() by sidebar 'mouseout' to South Pole

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