Frederic Junod
b7cbd20b6f
Add missing JSDoc tags
2016-01-25 14:37:45 +01:00
Tim Schaub
13a981c94b
Fewer blank lines
2016-01-11 22:03:23 -08:00
Tim Schaub
3cf8618fc7
Prefer single line assignment to 80 character limit
2016-01-11 18:56:08 -08:00
Tim Schaub
e6f6dcc230
Partial valid-jsdoc corrections
2016-01-11 18:56:08 -08:00
Frederic Junod
e336947e8d
Add new ol.geom.LineString#getCoordinateAt function
2016-01-07 11:32:25 +01:00
Bart van den Eijnden
25e0053a13
Rename defaultSort to numberSafeCompareFunction on ol.array
2015-12-16 13:40:05 +01:00
Bart van den Eijnden
e0be143ed5
Always pass on a compare function to sort
2015-12-16 10:54:46 +01:00
Frederic Junod
8d72589743
Remove use of goog.object.containsKey
2015-11-24 10:17:01 +01: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
Marc Jansen
47a7b03e0e
Remove use of toDegrees/toRadians util functions
...
Instead of goog.math.toRadians and goog.math.toDegrees, we now use
our own implementations of these basic conversion functions.
2015-10-12 21:16:03 +02:00
Frederic Junod
ef9b64673e
Remove unused local variables
2015-10-01 13:38:55 +02:00
Marc Jansen
3c4e663224
Remove goog.isNull in geom classes
2015-10-01 09:17:14 +02:00
Tim Schaub
6bdacced92
Merge pull request #4176 from tschaub/remove-isdefandnotnull
...
Remove use of goog.isDefAndNotNull().
2015-10-01 00:05:57 -06:00
Andreas Hocevar
8e122334ed
Merge pull request #4195 from awaterme/Issue-4171
...
#4171 : Prefer current layout as default on MultiLineString.setLineStrings()
2015-09-30 11:07:28 +02:00
Andreas Watermeyer
ea8ffd8b6a
Issue #4171 : Prefer current layout as default on MultiLineString.setLineStrings()
2015-09-30 09:21:14 +02:00
Andreas Hocevar
79766ad25c
Merge pull request #4172 from awaterme/Issue-4171
...
#4171 : Prefer current layout as default on Multipolygon.setPolygons()
2015-09-29 22:58:12 +02:00
Andreas Watermeyer
509cb3a3c9
Issue #4171 : Prefer current layout as default on Multipolygon.setPolygons()
2015-09-29 17:40:46 +02:00
Tim Schaub
ac7db89a91
Replace goog.isDefAndNotNull() with truthy checks
2015-09-29 09:32:51 -06:00
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
Andreas Watermeyer
7c3bf59084
Issue #4171 : Prefer current layout as default on Multipolygon.setPolygons()
2015-09-25 13:58:44 +02: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