[OpenLayers-Users] How do I unselect a feature?
Jeff Dege
jdege at korterra.com
Tue Nov 13 14:04:18 EST 2007
Why did I never try that?
Thanks.
> -----Original Message-----
> From: Eric Lemoine [mailto:eric.c2c at gmail.com]
> Sent: Tuesday, November 13, 2007 12:39 PM
> To: Jeff Dege
> Cc: users at openlayers.org
> Subject: Re: [OpenLayers-Users] How do I unselect a feature?
>
> On Nov 13, 2007 6:19 PM, Jeff Dege <jdege at korterra.com> wrote:
> > I have a vector layer displayed, with a number of features visible.
> >
> > I have a select control active, so when I click on a
> feature, it becomes
> > selected.
> >
> > If I click on another feature, the new feature becomes
> selected, and the
> > feature that was selected becomes unselected.
> >
> > How do I unselect a feature without selecting a new
> feature, and without
> > inactivating the select control?
>
> Try clicking again on the selected feature.
>
> --
> Eric
>
More information about the Users
mailing list