Frederic Junod
8bd0a1232a
Add geom.ol.geom.Geometry#computeExtent function
2015-01-14 11:01:18 +01: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
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
Frederic Junod
42312c6c73
Improve ol.geom.*.clone() return type annotation
2014-08-27 13:30:06 +02:00
Éric Lemoine
72bcb2db80
Remove the ol.geom.RawPoint type
2014-08-21 10:56:49 +02:00
Tim Schaub
4cf5ab4620
Use @api annotation instead of @todo api
2014-07-05 15:41: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
Andreas Hocevar
d163f60e34
Make sure that opt_layout is listed as optional
2014-05-15 20:29:16 +02:00
Tim Schaub
4f9968d106
Rename transform to applyTransform for geometries
2014-05-02 09:27:53 -06:00
Andreas Hocevar
fbdbbfb7a7
Get rid of stability annotations and document stability with api
...
This change adds a stability value to the api annotation, with
'experimental' as default value.
enum, typedef and event annotations are never exportable, but
api annotations are needed there to make them appear in the
docs.
Nested typedefs are no longer inlined recursively, because the
resulting tables get too wide with the current template.
2014-04-29 09:53:07 -06:00
Tim Schaub
fb497f5288
Annotations for exports
2014-04-29 09:53:05 -06:00
Pierre GIRAUD
8e9ffb377e
Geolocation tracking with orientation example
2014-03-24 12:26:17 +01:00
Tom Payne
78c8d976eb
Remove empty ol.geom.flat
2014-03-12 13:26:14 +01:00
Tom Payne
266c43dc78
Factor out ol.geom.flat.deflate
2014-03-12 13:26:14 +01:00
Tom Payne
8731766f63
Merge pull request #1626 from twpayne/api-stability
...
Add @todo stability experimental to many classes and methods
2014-02-03 06:47:43 -08:00
Tom Payne
fdc80c4f97
Add stability annotation to ol.geom.Circle
2014-02-03 14:59:13 +01:00
Tom Payne
aff32ab676
Use getRadiusSquared_ in ol.geom.Circle#containsXY
2014-01-30 16:04:24 +01:00
Tom Payne
82341c779a
Factor out ol.geom.Circle#getRadiusSquared_
2014-01-30 16:04:24 +01:00
Tom Payne
df9369e663
Merge pull request #1621 from twpayne/clean-ups
...
Miscellaneous clean-ups
2014-01-30 04:16:27 -08:00
Tom Payne
e08b2bd0bf
Fix bug in ol.geom.Circle#containsXY, thanks @vdubr
2014-01-30 11:29:35 +01:00
Tom Payne
a52dbbb09e
Improve type checking in ol.geom.Circle#setCenterAndRadius
2014-01-30 11:20:58 +01:00
Tom Payne
edcb38232f
Use inherited dispatchChangeEvent and getRevision in ol.geom.Geometry
2014-01-21 11:43:13 +01:00
Tom Payne
5bee477734
Maintain M and Z coordinates in ol.geom.Circle#getClosestPoint
2014-01-20 08:55:28 +01:00
Tom Payne
da31e62199
More efficient ol.geom.Circle#closestPointXY, thanks @tschaub
2014-01-14 12:34:47 +01:00
Tom Payne
3647f13e2e
Add ol.geom.Circle
2014-01-14 12:31:50 +01:00