[OpenLayers-Users] mouseover marker delay

Roald de Wit list at rdewit.net
Thu Jan 12 19:18:09 EST 2012


Hi,

This example may help you:
http://openlayers.org/dev/examples/hover-handler.html

BTW, it's recommended not to use Markers but to use a Vector layer with 
your features styled with an externalGraphic. Example here: 
http://openlayers.org/dev/examples/marker-shadow.html

Cheers, Roald

On 10/01/12 07:42, Valeria Muñoz wrote:
> HI!
>
>    I show a popup when mouse over a marker but i need add a delay to 
> that... almost 1 second
>
> my code:
>
> marker.events.register('mouseover', marker, function(evt) 
> {addPopUp(json.LATITUD,json.LONGITUD,"&nbsp&nbsp<b>"+json.NOMBRE+"</b>"); 
> OpenLayers.Event.stop(evt); });
>
> RG
> Valeria
>
>
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120113/67d42c00/attachment.html


More information about the Users mailing list