Sundsvallskommun / OpenEMap-WebUserInterface

Open eMap user interface for the main map client
GNU Affero General Public License v3.0
4 stars 5 forks source link

Popup - error when selecting feature using showPopupFeature() #126

Closed anderserla closed 9 years ago

anderserla commented 9 years ago

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.