only want to allow single select feature in the map.
Thanks.
There is no select built into the map. Any selection is done with your own code, so you can in that code clear selection before selecting a new feature.