Commit Graph

207 Commits

Author SHA1 Message Date
Frederic Junod 62bc7b75d7 Named exports from ol/geom/flat/flip 2018-01-26 16:33:02 +01:00
Frederic Junod d15c4ce511 Named exports from ol/geom/flat/segments 2018-01-26 16:29:40 +01:00
Frederic Junod d64b5c52a2 Named exports from ol/geom/flat/center 2018-01-26 16:24:41 +01:00
Frederic Junod aea39782fb Named exports from ol/geom/flat/contains 2018-01-26 16:03:29 +01:00
Frederic Junod 47015eba0c Named exports from ol/geom/flat/reverse 2018-01-26 15:45:17 +01:00
Frederic Junod 297fd14507 Named exports from ol/geom/flat/topology 2018-01-26 15:35:14 +01:00
Frederic Junod 135f713236 Named exports from ol/geom/flat/area 2018-01-26 15:31:04 +01:00
Tim Schaub ad62739a6e Use blocked scoped variables
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
2018-01-12 00:50:30 -07:00
Tim Schaub c89738cadb Named exports instead of static functions from ol/geom/Polygon 2017-12-20 23:48:35 -07:00
Tim Schaub fca8b13ddd Rename _ol_geom_SimpleGeometry_ to SimpleGeometry 2017-12-14 09:03:51 -07:00
Tim Schaub 64a0d40361 Rename _ol_geom_LinearRing_ to LinearRing 2017-12-14 09:01:39 -07:00
Tim Schaub 4ea0af87df Rename _ol_geom_GeometryCollection_ to GeometryCollection 2017-12-14 08:59:35 -07:00
Tim Schaub 87e665d60e Rename _ol_geom_Geometry_ to Geometry 2017-12-14 08:58:46 -07:00
Tim Schaub ac7985a5ad Rename _ol_geom_Circle_ to Circle 2017-12-14 08:57:52 -07:00
Tim Schaub 9d396280b0 Rename _ol_geom_MultiPolygon_ to MultiPolygon 2017-12-14 08:56:51 -07:00
Tim Schaub c502f016f7 Rename _ol_geom_Polygon_ to Polygon 2017-12-14 08:56:12 -07:00
Tim Schaub 3c78cb7872 Rename _ol_geom_MultiLineString_ to MultiLineString 2017-12-14 08:55:33 -07:00
Tim Schaub f7b3876c1b Rename _ol_geom_LineString_ to LineString 2017-12-14 08:54:53 -07:00
Tim Schaub ad5806c29d Rename _ol_geom_MultiPoint_ to MultiPoint 2017-12-14 08:51:53 -07:00
Tim Schaub eadec38ae2 Rename _ol_geom_Point_ to Point 2017-12-14 08:49:10 -07:00
Andreas Hocevar 5a4887e300 Remove default export from ol/extent 2017-12-13 22:05:10 +01:00
Tim Schaub 7f47883c48 Transformed 2017-12-12 06:53:18 -07:00
Andreas Hocevar 046d827784 Make interiorpoint work with donut polygons 2017-12-06 20:23:18 +01:00
Andreas Hocevar 431d570b91 Only split text at line angle changes 2017-11-03 11:26:38 +01:00
Andreas Hocevar 7a3e11b9e4 Change getInteriorPoint type to XYM with intersection length as M 2017-09-27 18:06:05 +02:00
Andreas Hocevar abd50b8fcf Utility to get the longest straight chunk of a linestring 2017-09-11 16:54:28 +02:00
Andreas Hocevar efc86d59b0 Implement text rendering along paths
This commit also changes the TextReplay.drawText() signature, and moves
geometry calculation into drawText(). This improves performance where no
text needs to be rendered (TextStyle.getText() == ''), which is used often
in applications.
2017-09-11 16:54:27 +02:00
Tim Schaub a3e3e99baa Get rid of useless test exports 2017-08-17 15:16:58 -04:00
Marc Jansen d0ef05977b Autofix indentation issues (eslint --fix) 2017-06-19 11:58:00 +02:00
Björn Harrtell 656af72615 Use winding number algorithm for linearRingContainsXY 2016-11-29 09:10:47 +01:00
Björn Harrtell 6c644186ba Add test case for ol.geom.flat.contains 2016-11-29 09:07:10 +01:00
GaborFarkas 360e77481d Restructure webgl replays 2016-11-23 09:51:36 +01:00
GaborFarkas 3f828248b9 Rework isClosed with added tests 2016-11-23 09:49:47 +01:00
Frederic Junod 9074bd9783 Rename ol.geom.Geometry#containsCoordinate to intersectsCoordinate 2016-08-23 14:36:09 +02:00
Tim Schaub a27d0da8a5 Add transform2D to ol.geom.SimpleGeometry 2016-08-12 10:54:06 -06:00
Tim Schaub 9d276982b5 Assorted missing requires 2016-08-12 10:53:50 -06:00
Tim Schaub 5643d3ec77 Missing requires in tests 2016-08-12 10:53:49 -06:00
Tim Schaub c203f6a841 Remove unused requires from tests 2016-08-08 09:58:11 -06:00
Tim Schaub ed5dbd1293 Put test requires on top 2016-08-08 09:58:11 -06:00
Tim Schaub f07f78fbd7 Move flat geom files so they are named like their provides 2016-08-07 10:49:10 -06:00
Tim Schaub 69bf9254a5 Correctly set default anchor for collections 2016-08-04 11:27:36 -06:00
Tim Schaub 795cee876e Add a method to scale geometries 2016-08-04 10:23:00 -06:00
Andreas Hocevar 34d5cc228e Merge pull request #5429 from probins/testenums
Remove enums from tests
2016-07-15 09:12:58 +02:00
Andreas Hocevar cf7ff841a7 Remove use of goog.vec.* 2016-06-23 13:10:41 +02:00
Peter Robins 06fd92353b Remove enums from tests 2016-06-03 11:10:46 +00:00
Andreas Hocevar a3cc322593 Fix indentation 2016-03-12 16:25:38 +01:00
Marc Jansen 410dddaa46 Add basic tests for ol.geom.flat.center 2016-03-11 13:51:10 +01:00
Marc Jansen c1263af9b1 Fix typo in test description 2016-03-11 09:25:50 +01:00
Frederic Junod d5564a04db Add new ol.geom.Geometry#rotate function 2016-03-08 17:05:19 +01:00
Marc Jansen 2113c749b1 Add basic tests for ol.geom.flat.length methods 2016-03-06 15:08:40 +01:00