Heya-

You should be able to just do:

GEvent.addListener(marker, "click", function() {
  map.openInfoWindow(marker.getPoint(), "hi there");
});

And then in your sidebar do:
GEvent.trigger(marker, "click");

Does that not work for you? (I didn't read every message in the thread).

- pamela

On Fri, Oct 17, 2008 at 10:50 AM, Ralph Ames <[EMAIL PROTECTED]> wrote:
>
>> That presents a problem.  How do I go about making the listener in the
>> markerlight2 script listen for the click and on click open up the info
>> windown and then close the info window?
>
>  >>You seem to be trying to use Marker Light to get all the functionality
>  >>of GMarker, but I think it was intended to be a no-frills alternative.
>
>  >>If I'm reading it right, ....
>
> Maybe but, even then the sidebar click needs to work as well?
>
> So where do you stop?
>
> I think Pamela intend this to be a visual demo, maybe?
>
> Ralph
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to