Monday, February 1, 2010

Re: Google maps - show marker window from result list

> But if anyone has a solution for a "... sidebar built divorced from
> the map ..." it would be very interesting.

There's always a solution. In this case, IF the code that builds your
sidebar (server side?) can guess what the javascript variable name of
the associated marker is going to be, it could simply trigger a
'click' event on the marker when the sidebar element is mouseovered.
As the code that generates your markers also appears to be built
server side and assigns javascript variable names, that seems to be
perfectly possible.

If you get it working, I think you may find the actual effect pretty
horrible - lots of big windows popping up and disappearing as you move
the mouse around. You could use similar techniques to do something
like plaing a big highlight marker as you mouseover.

--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

No comments:

Post a Comment