[OpenLayers-Users] Re: Regular Polygon
Vikash Talanki
vikashtalanki at gmail.com
Wed Mar 9 23:45:56 EST 2011
Even this is not working, its not even loading the map
var origin=new Point(78.5046,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));
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Regular-Polygon-tp6155680p6156556.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list