Tim Schaub
e3951fa3c6
Inline simple goog.isDef() calls
2015-09-27 10:34:44 -06:00
Tim Schaub
a86c270f6a
Inline simple !goog.isDef() calls
2015-09-27 10:31:16 -06:00
Tim Schaub
7659e47e07
Inline simple goog.isDef() checks
2015-09-27 10:18:44 -06:00
Tim Schaub
0927c55b3c
Toward natural JavaScript syntax
2015-09-25 12:16:42 -06:00
Marc Jansen
68442578ba
Use ol.isDef when checking booleans
2015-09-25 11:35:11 -06:00
Marc Jansen
27fb1b6fde
Remove goog.isDef from geom/linestring
2015-09-25 11:28:55 -06:00
Tim Schaub
b0fe36e609
Remove goog.isDef for geometries
2015-09-25 11:28:54 -06:00
Tim Schaub
cdf6fe44d8
Merge pull request #4145 from tschaub/simplified-geom
...
API method for simplifying geometries.
2015-09-22 11:45:42 -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
Frederic Junod
0d23ab44b3
Remove use of goog.array.isEmpty
2015-09-22 11:25:04 +02:00
Tim Schaub
e81b68ce8b
API method for simplifying geometries
2015-09-21 14:20:16 -06:00
Frederic Junod
4c615d8ddf
Remove unnecessary cast
...
Found by the latest version of closure-compiler (v20150729)
2015-08-20 11:39:40 +02: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
Tim Schaub
c89fb3ccfe
Merge pull request #3359 from Kenny806/deep_clone
...
Enable deep clone of MultiPolygon.
2015-07-10 23:11:25 -06:00
Peter Robins
874c4aef21
Make Geometry.transform api stable again
2015-06-18 16:01:25 +00:00
Alvin Lindstam
1dc6c99328
Make ol.geom.Circle support #intersectsExtent, with tests
2015-06-05 14:19:46 +02:00
Andreas Hocevar
100020fd59
Refactoring for more consistency
...
* Min and max number of points configurable for lines and polygons
* Polygons from custom geometryFunction now have a sketch line
* The example shows how to use a custom geometryFunction
2015-05-20 10:28:16 +02:00
Andreas Hocevar
901a0f6d8e
Add functions to create regular polygons
2015-05-14 23:24:29 +02:00
Andreas Hocevar
4e94908440
Define getCoordinates and setCoordinates in the base class
...
Since these methods are implemented by all subclasses, it makes sense to
define them in the base class as abstract method.
2015-05-14 23:24:29 +02:00
Marc Jansen
77a06433be
Add basic docs for geom.simplegeometry
2015-04-22 21:10:00 +02:00
Marc Jansen
1252867f69
Add basic docs for geom.polygon
2015-04-22 21:09:59 +02:00
Marc Jansen
5c19415577
Add basic docs for geom.point
2015-04-22 21:09:59 +02:00
Marc Jansen
4f5982b9d0
Add basic docs for geom.multipolygon
2015-04-22 21:09:59 +02:00
Marc Jansen
f0c235d352
Add basic docs for geom.multipoint
2015-04-22 21:01:07 +02:00
Marc Jansen
4e448dddd6
Add basic docs for geom.multilinestring
2015-04-22 21:00:54 +02:00
Marc Jansen
144c262a9e
Add basic docs for geom.linestring
2015-04-22 21:00:41 +02:00
Marc Jansen
6b1bccfcdd
Add basic docs for geom.linearring
2015-04-22 21:00:29 +02:00
Marc Jansen
7e7c03820a
Add basic docs for geom.geometrycollection
2015-04-22 21:00:16 +02:00
Marc Jansen
6637bf0f21
Add basic docs for geom.geometry
2015-04-22 21:00:05 +02:00
Marc Jansen
aef73c981f
Add basic docs for geom.circle
2015-04-22 20:59:52 +02:00
Éric Lemoine
e45c44fa01
Add missing goog.provide's
2015-04-07 13:49:36 +02:00
Tim Schaub
587c06f565
Stable intersectsExtent method for geometries
2015-04-02 16:23:54 +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
Bart van den Eijnden
47ce127a10
Add assert messages for all assertions up until ol.renderer.vector.
2015-03-30 22:55:23 +02:00
Tim Schaub
5d590bcf95
Allow access to right-hand oriented multi-polygon coordinates
2015-03-25 16:57:29 -06:00
Tim Schaub
7572f27cf9
Allow access to right-hand oriented polygon coordinates
2015-03-25 16:57:29 -06:00
Tim Schaub
ce36947bdb
Allow orienting with the right-hand rule
2015-03-25 16:57:25 -06:00
Tim Schaub
5f6ceff3a7
Use ol.geom.flat.orient namespace
2015-03-25 16:33:17 -06:00
Frederic Junod
e669b20ed5
Add new geometry layout option for polyline format
...
To be able to choose the geometry layout of the feature geometries created by
the format reader.
Default is `ol.geom.GeometryLayout.XY`
2015-03-24 11:39:18 +01:00
Jiri Matyas
ab9100450b
enable deep clone of multipolygon endss
2015-03-17 11:09:03 +01:00
Frederic Junod
b9aba8babd
Add optional this param to the callback function
2015-03-16 11:25:51 +01:00
Frederic Junod
4b13627fd7
Add new ol.geom.LineString#forEachSegment function
2015-03-16 10:43:33 +01:00
Frederic Junod
65c2f7de5f
Remove unused goog.require
2015-02-05 10:56:44 +01:00
Frédéric Junod
2f5bbb37ed
Merge pull request #3130 from fredj/doc
...
Document default value
2015-01-14 12:39:15 +01:00
Frederic Junod
5f55e01849
Document default value
2015-01-14 12:12:38 +01:00
Frederic Junod
f7943b9401
Set extent and extentRevision variables to private
2015-01-14 11:01:18 +01:00