LonLat lonLat = LonLat.narrowToLonLat(destinationVincenty(center.lon(), center.lat(), angle, radius));
lonLat.transform("EPSG:4326", map.getProjection());
points[i] = new Point(lonLat.lon(), lonLat.lat());
}
LinearRing ring = new LinearRing(points);
Polygon polygon = new Polygon(new LinearRing[] { ring });
vectorLayer.addFeature(new VectorFeature(polygon));
modifyControl.activate();
}