[OpenLayers-Users] How do I unselect a feature?

Eric Lemoine eric.c2c at gmail.com
Tue Nov 13 13:38:42 EST 2007


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