code: public boolean deselectFeature(Feature feature) {
  		if (selectedFeatures.containsKey(feature.getId())) {
  			Feature org = selectedFeatures.remove(feature.getId());
  			handlerManager.fireEvent(new FeatureDeselectedEvent(org));
  			return true;
  		} else {
  			return false;
  		}
  	}
docs: Deselect a feature: set the feature's selected state and remove it from the layer's selection.
  
  @param feature
  The feature that is to be selected.
  @return true when the feature was selected