[OpenLayers-Users] problem in selectfeature in text layers

Christopher Schmidt crschmidt at metacarta.com
Tue Sep 18 12:42:31 EDT 2007


On Tue, Sep 18, 2007 at 03:47:52PM +0000, Xavier Rayo wrote:
> 
> HI!
> i'm loking for the way to select a marker from a text layer with hover selectfeature control but don't find the way to do it, can anybody help?

The SelectFeature control is for vector features. You want to register
events on the marker: marker.events.register('onmouseover', marker,
function(){}), etc. or use vector features with externalGraphics
instead. 

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list