When searching for a feature by its attribute, the issue arises where the feature is not highlighted.
A popup appears, but the selected feature remains unhighlighted. Below is the code being used:
this.showparcel = function(getpin){
for(var f=0;f<layer_agao.features.length;f++) {
if(layer_agao.features[f].attributes.newpin === getpin) {
featsel = layer_agao.features[f];
selectControl.select(featsel);
break;
}
else{
selectControl.unselect(featsel);
}
}
}