If we do several times:

selectContorl.select(feature)

feature is added to layer.selectedFeature array several times.

Should we first check  if the feature is allready selected (ill open a ticket)

if (OpenLayers.Util.indexOf(layer.selectedFeatures, feature) == -1) {
    this.select(feature);
}

Or we leave selectControl as it is, and leave this to user to solve it
on application level?

Regards

-- 
Ivan Grcic
_______________________________________________
Dev mailing list
Dev@openlayers.org
http://openlayers.org/mailman/listinfo/dev

Reply via email to