Getting OpenLayers3 Popup to forget selection between clicks

المشرف العام

Administrator
طاقم الإدارة
As you can see from the JSFiddle below, when you click on one point and then onto the next it still keeps the name of the previous selection. I'm guessing the 'Destroy' function also needs to be employed between clicks as well as when there is a click elsewhere but i'm not sure how to write that?

JSFiddle



أكثر...
 
أعلى