[OpenLayers-Users] vector graphics: displaying mouseovers withattributes

bradleyspencer brad at cubewerx.com.au
Wed Mar 14 19:57:05 EDT 2007


Christopher,

I really like your WFS demo
(http://dev.openlayers.org/sandbox/vector-2.4/examples/openmnnd.html ) and
would like to do the same in a test on Ozzy data here.
Will this functionality be available in OL 2.4 version or is there some way
I can get the software and load it locally to test here before 2.4 is
released?

Cheers,

Brad Spencer
General Manager
CubeWerx Australia Pty Ltd
ABN: 37 115 163 285
Mob: +61 (0)404 841 131
Tel/Fax: +61 (0)2 9481 7024
mailto:brad at cubewerx.com.au
http://www.cubewerx.com.au

-----Original Message-----
From: Christopher Schmidt [mailto:crschmidt at metacarta.com]
Sent: Thursday, 15 March 2007 1:25 AM
To: Bart van den Eijnden (OSGIS)
Cc: users at openlayers.org
Subject: Re: [OpenLayers-Users] vector graphics: displaying mouseovers
withattributes

On Wed, Mar 14, 2007 at 09:41:18AM +0100, Bart van den Eijnden (OSGIS)
wrote:
> Hi list,
>
> a quick question about the vector branch, is it currently possible to
> implement mouseovers on the features which will display the attribute
values
> coming from the GML?
>
> Any pointers greatly appreciated.

Bart:

If you look at the OpenMNND demo, at
http://dev.openlayers.org/sandbox/vector-2.4/examples/openmnnd.html ,
you can see how we've used the SelectFeature control to do something of
this nature. I've just added support for displaying the features on
hover via the 'mousemove' callback on the Select Handler in r2757. This
will let see how to do an attribute display on hover.

Regards,
--
Christopher Schmidt
MetaCarta
_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users




More information about the Users mailing list