Both clicking and hovering in Openlayers

0 views
Skip to first unread message

Knut Staring

unread,
Dec 3, 2008, 6:20:54 AM12/3/08
to openh...@googlegroups.com
Hi,

We've seen the need for getting information from a feature both on clicking and hovering, which seems to be scheduled for the 2.8 release of OL:
For the time being, we may just try one of the solutions proposed there.

Knut

Andreas Hocevar

unread,
Dec 3, 2008, 11:12:33 AM12/3/08
to openh...@googlegroups.com
Hi,

On Wed, Dec 3, 2008 at 12:20 PM, Knut Staring <knu...@gmail.com> wrote:
> We've seen the need for getting information from a feature both on clicking
> and hovering, which seems to be scheduled for the 2.8 release of OL:
> http://trac.openlayers.org/ticket/1596

I am not sure if the SelectFeature control apply here at all. Are you
really working with a vector layer, or do you need this to work with
WMS layers? If the latter, you can use a click and a hover handler. An
example for this can e.g. be seen here:
http://portal.fugroaustria.at/public/

> For the time being, we may just try one of the solutions proposed there.

This is good, because even if this will be implemented in 2.8 (which
is unlikely, unless there is some funding or a code contribution), the
proposed solution #1 would still work.

Regards,
Andreas.

--
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.

Reply all
Reply to author
Forward
0 new messages