When clicking a featurein the map the previous selected feature is unselected and the new one gets selected and the right events are triggered.
"Feature in layer Popup layer example with id 1 was unselected."
"Feature in layer Popup layer example with id 4 was selected."
When selecting a feature using mapClient.showPopupFeature(popupLayer, 2); the unselect event triggers with wrong information:
"Feature in layer Popup layer example with id 2 was unselected."
"Feature in layer Popup layer example with id 2 was selected."
feature with id 4 (that is selected) never gets unselected.
When clicking a featurein the map the previous selected feature is unselected and the new one gets selected and the right events are triggered. "Feature in layer Popup layer example with id 1 was unselected." "Feature in layer Popup layer example with id 4 was selected."
When selecting a feature using mapClient.showPopupFeature(popupLayer, 2); the unselect event triggers with wrong information: "Feature in layer Popup layer example with id 2 was unselected." "Feature in layer Popup layer example with id 2 was selected." feature with id 4 (that is selected) never gets unselected.