Tim Schaub
795cee876e
Add a method to scale geometries
2016-08-04 10:23:00 -06:00
Peter Robins
0713e680e1
Replace goog.abstractMethod
2016-07-19 09:08:23 +00:00
Peter Robins
2c29512c80
Remove sub-namespaces from all remaining typedefs
2016-06-09 10:01:52 +00:00
Frederic Junod
e289bfbb7d
Use ol.inherits instead of goog.inherits
2016-06-08 08:38:12 +02:00
Andreas Hocevar
2ec4969ac7
Remove api annotations from enums
2016-06-03 09:29:14 +02:00
Björn Harrtell
44e04be67f
Get rid of goog.functions
2016-04-01 10:32:15 +02:00
Peter Robins
8f9a8e9bb1
Fix inconsistency in geom docs
2016-03-17 10:13:30 +00:00
Frederic Junod
0dd36736c7
Add 'function' jsdoc tag to ol.geom.Geometry#rotate
...
Otherwise the function is in the 'Members' section of the API documentation.
2016-03-10 08:30:10 +01:00
Frederic Junod
d5564a04db
Add new ol.geom.Geometry#rotate function
2016-03-08 17:05:19 +01:00
Tim Schaub
13a981c94b
Fewer blank lines
2016-01-11 22:03:23 -08:00
Andreas Hocevar
5832943773
Make changes suggested during the review
2015-10-28 10:29:04 +01:00
Andreas Hocevar
8f4756c99b
Introduce tile-pixels units
2015-10-28 10:29:00 +01:00
Tim Schaub
b0fe36e609
Remove goog.isDef for geometries
2015-09-25 11:28:54 -06:00
Tim Schaub
483f567d26
Working Wikipedia links
2015-09-22 10:39:19 -06:00
Tim Schaub
436561d9dd
Make geom.simplify() exportable
2015-09-22 10:34:43 -06:00
Tim Schaub
250e86e5f2
Update simplification docs
2015-09-22 09:49:42 -06:00
Tim Schaub
e81b68ce8b
API method for simplifying geometries
2015-09-21 14:20:16 -06:00
Andreas Hocevar
3595c2cce7
Document change events properly
...
With this change, the generic 'change' event is properly documented, as
all other events. It is no longer necessary to annotate `@fires change` for
every ol.Observable subclass.
2015-07-18 15:27:16 +02:00
Peter Robins
874c4aef21
Make Geometry.transform api stable again
2015-06-18 16:01:25 +00:00
Marc Jansen
6637bf0f21
Add basic docs for geom.geometry
2015-04-22 21:00:05 +02:00
Éric Lemoine
e45c44fa01
Add missing goog.provide's
2015-04-07 13:49:36 +02:00
Tim Schaub
6134a8bf7a
Use @api annotations where geom methods are implemented
2015-04-02 16:23:53 +02:00
Tim Schaub
d79abe7448
Stable geometry methods
2015-04-02 16:23:53 +02:00
Guillaume Beraudo
567a9d7a5a
Make ol.geom.Geometry inherit from ol.Object
...
This will allow storing per-geometry properties.
2015-03-31 15:28:20 +02:00
Frederic Junod
f7943b9401
Set extent and extentRevision variables to private
2015-01-14 11:01:18 +01:00
Frederic Junod
8bd0a1232a
Add geom.ol.geom.Geometry#computeExtent function
2015-01-14 11:01:18 +01:00
Éric Lemoine
14ea2bf413
Add ol.geom.Geometry#translate
2014-12-18 18:42:36 +01:00
Éric Lemoine
a740f32e4d
Add ol.geom.Geometry#intersectsExtent (abstract method)
2014-09-17 12:17:32 +02:00
Guillaume Beraudo
d67cefdf3a
Consistent circle transform
...
Depending on compilation flags, applying a transform used to either:
- work;
- fail throwing an abstract method not implemented message;
- fail silently.
Now it should consistently work, like the other geometries.
Adding a polygon factory method creating an approximation of a circle on
a plane would be useful for users wanting the circle to be deformed.
It would be similar to the `circular` function which creates an
approximation of a circle on a sphere.
2014-09-16 13:41:17 +02:00
Frederic Junod
6e3354ab7b
Indicates that ol.geom.Geometry#clone never return null
2014-08-25 16:44:52 +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
9b0ce7b80c
Add @api stable annotations for ol.geom.Geometry
2014-08-21 10:56:49 +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
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
c1ddc92cc8
Fix typo in comment
2014-06-09 15:17:14 -04:00
Peter Robins
41d9f0360a
Add @classdesc to classes
2014-06-09 12:10:19 -04: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
Andreas Hocevar
be73885e37
Merge pull request #2043 from ahocevar/nicer-api-docs
...
Nicer API docs
2014-05-07 09:20:22 -05:00
Andreas Hocevar
e6dbb61d68
Document raw geometry types
2014-05-06 12:45:53 -05:00
Tim Schaub
0b8f1e8944
Mark applyTransform as part of the API for all geometries
2014-05-02 13:24:04 -06:00
Tim Schaub
e448f100fd
Add a transform method to geometries
...
This accepts CRS identifiers for source and destination, transforms the geometry in place, and returns a reference to the geometry.
2014-05-02 11:47:59 -06:00
Tim Schaub
4f9968d106
Rename transform to applyTransform for geometries
2014-05-02 09:27:53 -06:00