Tim Schaub
d67f33bcd6
Remove use of goog.object.unsafeClone()
2016-02-04 06:54:44 -07:00
Tim Schaub
fd394151fd
Replace goog.object.clear() with ol.object.clear()
2016-02-04 06:54:44 -07:00
Guillaume Beraudo
289e571fb0
Remove all remaining unnecessary casts
...
There is still such a cast in the goog library itself.
See https://github.com/google/closure-library/pull/637
2016-02-03 16:26:43 +01:00
Tim Schaub
80df1f5ae8
Move opt_useCapture arg to the end of the list
2016-02-03 11:19:38 +01:00
Andreas Hocevar
3f2d79b7fe
Replace goog.events.Event/EventTarget system with our own
...
This also removes goog.events.listen, goog.events.unlisten,
goog.events.unlistenByKey and goog.events.BrowserEvent.
2016-02-03 11:19:38 +01:00
Andreas Hocevar
ebc98ec1bb
Address TODOs
...
To make sure that our binarySearch implementation meets the requirements of
the library, I added more tests for ol.geom.flat.interpolate.lineString, only
to find out that it does not handle line strings with repeated vertices
properly, regardless of what binarySearch implementation is used.
2016-02-03 11:41:41 +13:00
Nicholas L
ef0e95847f
Remove goog.array.binarySearch
2016-02-03 11:41:40 +13:00
Nicholas L
9bcf624382
Forgot to remove a require
2016-02-03 11:41:39 +13:00
Nicholas L
5bd3fb494c
Remove goog.array.repeat
2016-02-03 11:41:39 +13:00
Nicholas L
d1b6a17773
Remove goog.array.extend
2016-02-03 11:41:38 +13:00
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