Class: Sphere

ol.Sphere

Class to create objects that can be used with ol.geom.Polygon.circular.

For example to create a sphere whose radius is equal to the semi-major axis of the WGS84 ellipsoid:

var wgs84Sphere= new ol.Sphere(6378137);