latitude= 17.3157
longitude=78.5046
radius=40,number of sides=50
to draw a circle using createRegularPolygon() I am giving
var origin={};
origin.x=78.5046;
origin.y=17.3157;
var circle = OpenLayers.Geometry.Polygon.createRegularPolygon(origin, 40,
50,90);
var vlayer = new OpenLayers.Layer.Vector("Editable Vectors");
map.addLayer(vlayer);
vlayer.addFeatures(new OpenLayers.Feature.Vector(circle,null,null));
why I am not able to see the circle??????
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Regular-Polygon-tp6155680p6155680.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users