Commit Graph

669 Commits

Author SHA1 Message Date
Andreas Hocevar ebe3b48e0a Rename ol.Observable#dispatchChangeEvent() to #changed()
Since dispatchChangeEvent does not only dispatch a change event, but
also increases the revision counter, the method name should reflect
this.
2014-09-04 19:30:48 -06:00
Frédéric Junod 5de537001f Merge pull request #2534 from fredj/polygon-api
Document ol.geom.Polygon#getLinearRing function
2014-09-04 17:57:12 +02:00
Frederic Junod 42312c6c73 Improve ol.geom.*.clone() return type annotation 2014-08-27 13:30:06 +02:00
Frederic Junod 6e3354ab7b Indicates that ol.geom.Geometry#clone never return null 2014-08-25 16:44:52 +02:00
Frederic Junod 5602ae6521 Document ol.geom.Polygon#getLinearRing function 2014-08-25 09:21:09 +02:00
Frederic Junod 9feac717c8 Add ol.geom.Polygon#getLinearRingCount function 2014-08-25 09:21:09 +02:00
Éric Lemoine 7383a1df06 Merge pull request #2565 from elemoine/apistable5
Add @api stable annotations for ol.Feature and the ol.geom namespace
2014-08-22 07:37:28 +02:00
Frederic Junod fb1d7e0c50 Replace 'throw new Error' by 'goog.asserts.fail' 2014-08-21 15:22:01 +02:00
Éric Lemoine 4764cbc908 Remove the ol.geom.RawMultiPolygon type 2014-08-21 10:56:50 +02:00
Éric Lemoine 95d7598227 Remove the ol.geom.RawMultiLineString type 2014-08-21 10:56:50 +02:00
Éric Lemoine d17993794d Remove the ol.geom.RawMultiPoint type 2014-08-21 10:56:50 +02:00
Éric Lemoine 47c1f1908e Remove the ol.geom.RawPolygon type 2014-08-21 10:56:50 +02:00
Éric Lemoine 838415218f Remove the ol.geom.RawLinearRing type 2014-08-21 10:56:50 +02:00
Éric Lemoine fb1c764a38 Remove the ol.geom.RawLineString type 2014-08-21 10:56:50 +02:00
Éric Lemoine 72bcb2db80 Remove the ol.geom.RawPoint type 2014-08-21 10:56:49 +02:00
Éric Lemoine feba61af25 Add @api stable annotations for ol.geom.SimpleGeometry 2014-08-21 10:56:49 +02:00
Éric Lemoine e9eb22bc47 Add @api stable annotations for ol.geom.Polygon 2014-08-21 10:56:49 +02:00
Éric Lemoine b865958efb Add @api stable annotations for ol.geom.Point 2014-08-21 10:56:49 +02:00
Éric Lemoine 2c5464aa76 Add @api stable annotations for ol.geom.MultiPolygon 2014-08-21 10:56:49 +02:00
Éric Lemoine 6ecd31fe62 Add @api stable annotations for ol.geom.MultiPoint 2014-08-21 10:56:49 +02:00
Éric Lemoine ce7fda71af Add @api stable annotations for ol.geom.MultiLineString 2014-08-21 10:56:49 +02:00
Éric Lemoine 180c6aa7a9 Add @api stable annotations for ol.geom.LineString 2014-08-21 10:56:49 +02:00
Éric Lemoine 516be9041e Add @api stable annotations for ol.geom.LinearRing 2014-08-21 10:56:49 +02:00
Éric Lemoine 5ccb0fae07 Add @api stable annotations for ol.geom.GeometryCollection 2014-08-21 10:56:49 +02:00
Éric Lemoine 9b0ce7b80c Add @api stable annotations for ol.geom.Geometry 2014-08-21 10:56:49 +02:00
Peter Robins d3683fcab9 Correct wrong docs for LinearRing 2014-08-05 11:08:44 +00:00
Peter Robins 652fcede22 Document LinearRing as abstract class 2014-08-04 10:05:01 +00:00
Peter Robins c86569684e Document that geom.getArea/Length on projected plane 2014-08-04 08:02:01 +00:00
Éric Lemoine 9c70a49fb0 Add ol.geom.flat.geodesic
Inspired by #1884 by @twpayne.
2014-07-24 17:59:56 +02:00
Erik Timmers fe8a72dce5 Allow for empty Point & GeometryCollection 2014-07-15 13:20:58 +02:00
Éric Lemoine 31fa59c996 Merge pull request #2329 from tsauerwein/multipolygon-empty-array
Also accept empty array for ol.geom.MultiPolygon
2014-07-10 18:35:43 +02:00
tsauerwein 7c22d8ffd4 Also accept empty array for ol.geom.MultiPolygon 2014-07-10 17:18:24 +02:00
Éric Lemoine d57a35ffcb Fix stride related bug in Canvas immediate API 2014-07-10 14:21:56 +02:00
Paul Spencer 8d991bd638 Add @todo API and describe ol.geom.Geometry funcs
The `clone()`, `getSimplifiedGeometry()` and `getType()` methods are all
base class methods documented in subclasses.  They should appear in
ol.geom.Geometry in the API docs as well.
2014-07-07 08:29:56 -04:00
Tim Schaub 4cf5ab4620 Use @api annotation instead of @todo api 2014-07-05 15:41:14 -04:00
Andreas Hocevar efc3e3244a Merge pull request #2254 from elemoine/replaygroup
Use replay groups for feature overlays
2014-06-27 12:59:06 +02:00
Andreas Hocevar cf13cb5e32 Fix remaining API doc issues with squared tolerance vs. tolerance 2014-06-27 12:20:16 +02:00
Andreas Hocevar f67767aaf0 Add ol.renderer.vector.getSquaredTolerance and ol.SIMPLIFY_TOLERANCE 2014-06-27 12:10:46 +02:00
Peter Robins ff3e66d550 Improve docs for projection/transform functions 2014-06-23 06:16:35 -04:00
Peter Robins 75be215497 Add standard docs text to abstract base classes 2014-06-14 07:20:33 -04:00
Paul Spencer 50b63b4a30 Merge pull request #2179 from pagameba/remove-getsimplifiedgeometry
Remove getSimplifiedGeometry from ol.geom.Circle
2014-06-09 16:10:02 -04:00
Paul Spencer c1ddc92cc8 Fix typo in comment 2014-06-09 15:17:14 -04:00
Paul Spencer 7d8dbbc7cc Remove getSimplifiedGeometry from ol.geom.Circle
The `getSimplifiedGeometry` method is unnecessary as
`ol.geom.SimpleGeometry`'s default implementation is to do the
same thing (return `this`).
2014-06-09 14:37:39 -04:00
Peter Robins 41d9f0360a Add @classdesc to classes 2014-06-09 12:10:19 -04:00
Frédéric Junod 9e7bfda9f7 Merge pull request #2096 from fredj/unused-require
Remove unused goog.require
2014-05-21 17:36:29 +02:00
Tim Schaub 9341e98374 Merge pull request #2093 from bjornharrtell/fix_opt_dest2
Assign to provided array instead of pushing when getting a linestring midpoint.
2014-05-21 09:28:06 -06:00
Frederic Junod 2f918ea2a4 Remove unused goog.require 2014-05-21 16:06:32 +02:00
Björn Harrtell ce40a142fa opt_dest should be assigned to not pushed 2014-05-21 12:02:26 +02:00
Andreas Hocevar d163f60e34 Make sure that opt_layout is listed as optional 2014-05-15 20:29:16 +02:00
Andreas Hocevar b2805c58de Better document which events are fired
The map does not fire ol.render.Event#render. Change events are
now only listed for classes that fire them, and a description
about when they are fired is added.
2014-05-15 20:28:09 +02:00