calculating the radius, and updating marker symbol