[OpenLayers-Users] associating events to geometries
Eric Lemoine
Eric.Lemoine at camptocamp.com
Mon Mar 19 11:05:06 EDT 2007
On 3/19/07, Christopher Schmidt <crschmidt at metacarta.com> wrote:
> On Mon, Mar 19, 2007 at 11:40:22AM +0100, Eric Lemoine wrote:
> > Hello
> >
> > I'd like to associate events to geometries. With the old vector branch
> > I did that using
> >
> > feature.geometry.registerEventCallback('mouseover', null, callback);
> >
> > but the registerEventCallback() no longer exists in the new vector tree.
>
> Have a look at http://openlayers.org/dev/examples/openmnnd.html , and
> the SelectFeature control. (In this case, the 'move' callback).
Good. Now I also need to handle 'mouseout' events, and I cannot find
an appropriate callback for mouseout...
Thanks, Christopher.
--
Eric Lemoine
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com
More information about the Users
mailing list