function drawCircle(center, radius, nodes, liColor, liWidth, liOpa, fillColor, fillOpa)
{
        var bounds2 = new GLatLngBounds();
	//calculating km/degree
	var latConv = center.distanceFrom(new GLatLng(center.lat()+0.1, center.lng()))/100;
	var lngConv = center.distanceFrom(new GLatLng(center.lat(), center.lng()+0.1))/100;
	var points2 = [];
	var step = parseInt(360/nodes)||10;
	for(var i=0; i<=360; i+=step) {
	var pint = new GLatLng(center.lat() + (radius/latConv * Math.cos(i * Math.PI/180)), center.lng() + 
	(radius/lngConv * Math.sin(i * Math.PI/180)));
	points2.push(pint);
	bounds2.extend(pint); //this is for fit function
	}
	fillColor = fillColor||liColor||"#ff0000";
        liColor = liColor||"#ff0000";
	liWidth = liWidth||0;
        fillOpa = fillOpa||0.5;
	circle = new GPolygon(points2,liColor,liWidth,liOpa,fillColor,fillOpa);
        return circle;
}