<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I was not happy with this behavior so I updated the control so that a
mousedown deselects the current feature (if any) and a mouseup attempts
to select a feature under the mouse, if any.&nbsp; This seemed to be a more
natural approach.<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:users-request@openlayers.org">users-request@openlayers.org</a> wrote:
<blockquote cite="mid:mailman.5070.1195053433.9484.users@openlayers.org"
 type="cite">
  <pre wrap="">
Date: Tue, 13 Nov 2007 19:38:42 +0100
From: "Eric Lemoine" <a class="moz-txt-link-rfc2396E" href="mailto:eric.c2c@gmail.com">&lt;eric.c2c@gmail.com&gt;</a>
Subject: Re: [OpenLayers-Users] How do I unselect a feature?
On Nov 13, 2007 6:19 PM, Jeff Dege <a class="moz-txt-link-rfc2396E" href="mailto:jdege@korterra.com">&lt;jdege@korterra.com&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">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?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Try clicking again on the selected feature.

  </pre>
  <pre wrap="">
  </pre>
</blockquote>
</body>
</html>