Function circular renamed to createCircularOnSphere

This commit is contained in:
Éric Lemoine
2014-09-17 07:37:11 +02:00
parent dfb2734368
commit ac8e7e16c2
2 changed files with 4 additions and 2 deletions

View File

@@ -357,7 +357,8 @@ ol.geom.Polygon.prototype.setFlatCoordinates =
* @return {ol.geom.Polygon} Circle geometry.
* @api stable
*/
ol.geom.Polygon.circular = function(sphere, center, radius, opt_n) {
ol.geom.Polygon.createCircularOnSphere =
function(sphere, center, radius, opt_n) {
var n = goog.isDef(opt_n) ? opt_n : 32;
/** @type {Array.<number>} */
var flatCoordinates = [];