Yes you can. You have to also do a mouseout event as well of course. I have done this in the following application thanks to someone else.
http://demo.cubewerx.com.au/koalas/koalaHab.html To see the markers just select a Electoral Boundary (Dickson) and mouseover the Koala Icons shown. The function 'paint_marker' does all the work. Hope this helps, Cheers, Brad Spencer -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Julien-Samuel Lacroix Sent: Tuesday, 16 October 2007 6:01 AM To: [email protected] Subject: [OpenLayers-Users] Text layer and mouseover Hi, Does anybody ever displayed the popups of markers on the mouseover function instead of the click in a text layer? Is there any contraindication to do that? That's what we call a MapTips. <long_description> I have a text layer displaying cities. Currently when I click on a marker, I get a popup that tells me the city name and give me a link to go to another page containing the city description. That works great! What I would like is to open the popup containing the city name as soon as the mouse go over the city marker and go to the URL when you click on the city marker. </long_description> Is it something you would like to see to be contributed? Julien -- Julien-Samuel Lacroix Mapgears http://www.mapgears.com/ _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
