Commit Graph

66 Commits

Author SHA1 Message Date
Tim Schaub 8b50c3c6cb Pass along the ability to measure and cache text width 2018-11-19 15:34:48 -07:00
Hermes David Junior 7ec19645e9 Polygon intersectsExtent failure - Issue #8795 2018-10-15 10:00:37 -04:00
Tim Schaub fba4d82bdb Named exports from ol/geom/SimpleGeometry 2018-02-19 10:05:30 -07:00
raiyni 378b73150a update test descriptions to match export paths 2018-02-13 09:42:55 -06:00
raiyni b2d920bbf1 ol/geom/flat/transform export 2018-02-13 09:22:00 -06:00
raiyni 4d27a9eb0e ol/geom/flat/intersectsextent 2018-02-13 09:15:07 -06:00
raiyni abf191289c ol/geom/flat/interpolate export 2018-02-13 09:05:12 -06:00
raiyni 6573b308b6 ol/geom/flat/orient export 2018-02-13 08:57:35 -06:00
raiyni 9fc09db89c ol/geom/flat/closest export 2018-02-13 08:44:09 -06:00
raiyni 837490b4a4 ol/geom/flat/simplify export 2018-02-13 00:08:20 -06:00
raiyni 78b418ba9d ol/geom/flat/straightchunk export 2018-02-12 23:42:11 -06:00
raiyni 2550ab1691 ol/geom/flat/textpath export 2018-02-12 23:34:21 -06:00
raiyni 05a648d4f3 ol/geom/flat/length export 2018-02-12 23:27:38 -06:00
raiyni fb548b1b45 ol/geom/flat/deflate exports 2018-02-12 23:18:53 -06:00
raiyni fd78aa9798 ol/geom/flate/inflate exports 2018-02-12 23:06:02 -06:00
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 fca8b13ddd Rename _ol_geom_SimpleGeometry_ to SimpleGeometry 2017-12-14 09:03:51 -07:00
Tim Schaub 9d396280b0 Rename _ol_geom_MultiPolygon_ to MultiPolygon 2017-12-14 08:56:51 -07:00
Tim Schaub 7f47883c48 Transformed 2017-12-12 06:53:18 -07:00
Andreas Hocevar 431d570b91 Only split text at line angle changes 2017-11-03 11:26:38 +01: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
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 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
Andreas Hocevar cf7ff841a7 Remove use of goog.vec.* 2016-06-23 13:10:41 +02: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
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
Tim Schaub 4e0cddcb41 Lint-free tests 2016-01-11 18:56:07 -08:00
Tim Schaub 3f23dfb87b Indentation 2016-01-11 18:56:07 -08:00
Tim Schaub ce36947bdb Allow orienting with the right-hand rule 2015-03-25 16:57:25 -06:00