Files
openlayers/examples
Tim Schaub 1110da37e1 Move ol.Sphere#circle to ol.geom.Polygon.circular
Previously, ol.geom.Polygon was a transitive dependency of ol.proj (since ol.proj requires ol.sphere.NORMAL, and all spheres were capable of generating circular polygons).  Instead, ol.proj should be lower-level.  Since it deals only with coordinate arrays, it shouldn't depend on all of the geometry code.

By adding a static `circular` function to `ol.geom.Polygon`, the dependency tree makes more sense.  If you want to create a polygon that approximates a circle on a sphere, you require `ol.geom.Polygon` and `ol.Sphere` (or one of the constants).

This makes room for geometries to have a `transform` method that takes projection-like arguments (meaning that `ol.geom.Geometry` will require `ol.proj`).
2014-05-02 11:25:44 -06:00
..
2014-02-26 17:58:43 +01:00
2014-02-26 17:58:43 +01:00
2014-02-26 17:58:43 +01:00
2014-03-06 10:54:39 +01:00
2014-04-02 11:43:20 -06:00
2014-04-02 11:43:20 -06:00
2014-02-26 17:58:43 +01:00
2014-04-04 10:07:02 -06:00
2014-02-26 17:58:43 +01:00
2014-02-26 17:58:43 +01:00
2014-04-02 11:43:20 -06:00
2014-02-26 17:58:43 +01:00
2014-04-02 11:43:20 -06:00
2014-02-26 17:58:43 +01:00
2014-04-02 11:43:20 -06:00
2014-02-26 17:58:43 +01:00
2014-02-26 17:58:43 +01:00
2014-02-26 17:58:43 +01:00
2014-02-26 17:58:43 +01:00
2014-04-04 10:07:02 -06:00
2012-10-19 21:56:59 +02:00
2014-02-26 17:58:43 +01:00
2014-02-26 17:58:43 +01:00
2014-02-26 17:58:43 +01:00
2014-02-26 17:58:43 +01:00
2014-02-26 17:58:43 +01:00
2014-04-02 11:43:20 -06:00
2014-02-26 17:58:43 +01:00
2014-02-26 17:58:43 +01:00
2014-04-04 16:13:20 +02:00
2014-02-26 17:58:43 +01:00
2014-02-26 17:58:43 +01:00
2014-02-26 17:58:43 +01:00
2014-02-26 17:58:43 +01:00
2014-02-26 17:58:43 +01:00
2014-02-26 17:58:43 +01:00
2014-04-02 11:43:20 -06:00
2014-02-26 17:58:43 +01:00
2014-02-26 17:58:43 +01:00
2014-02-26 17:58:43 +01:00
2014-02-26 17:58:43 +01:00
2014-04-04 10:07:02 -06:00
2014-02-26 17:58:43 +01:00
2014-04-04 10:07:02 -06:00
2014-02-26 17:58:43 +01:00
2014-04-15 14:35:27 +02:00
2014-02-26 17:58:43 +01:00
2014-04-02 11:43:20 -06:00
2014-02-26 17:58:43 +01:00
2014-02-26 17:58:43 +01:00
2014-04-02 11:43:20 -06:00
2014-02-26 17:58:43 +01:00
2014-02-26 17:58:43 +01:00
2014-04-02 11:43:20 -06:00
2014-02-26 17:58:43 +01:00
2014-02-26 17:58:43 +01:00
2014-04-02 11:43:20 -06:00
2014-04-14 14:27:18 +02:00
2014-04-14 14:27:18 +02:00
2014-02-26 17:58:43 +01:00