how can i change the color of the selected feature of a shapefile when clicked or selected for example when I click the province of a country the color of that specific province changes
Regards Waha Ali
I think you are looking for the highlight feature function when clicking.Please refer the sample here: http://samples.thinkgeo.com/MvcEdition/HowDoISamples/InteractiveOverlays/HighlightAFeatureWhileHovering/1,AllSamples
You can download the source code from product center and easy to find the useful logic.
Hope this is helpful to you.