Hello,
I think the event is not called "hover" but "mouseover".
I register my events in the following way:
var marker = new OpenLayers.Marker( ... );
marker.events.register('mouseover', marker, function (evt) {
# Do something here
}
Tobi
---
> On Thu, 2010-01-21 at 15:57 -0500, Rob
On Thu, 2010-01-21 at 15:57 -0500, Robert Hicks wrote:
> Is there anything in the OpenLayers API that allow a marker to have a
> mouse hover event? I want to change the cursor of the mouse and
> possibly some other JavaScript actions when a user hovers the mouse
> over a marker.
>
> Thanks!
>
I'
Is there anything in the OpenLayers API that allow a marker to have a
mouse hover event? I want to change the cursor of the mouse and
possibly some other JavaScript actions when a user hovers the mouse
over a marker.
Thanks!
--
web http://www.hyxspace.com
aim hyx1138