Commit Graph

536 Commits

Author SHA1 Message Date
Tim Schaub eadec38ae2 Rename _ol_geom_Point_ to Point 2017-12-14 08:49:10 -07:00
Tim Schaub 6f72ffe498 Named exports from ol/proj 2017-12-14 13:08:40 +01:00
Andreas Hocevar c0c43bca84 Use named imports from extent 2017-12-13 14:05:42 +01:00
Tim Schaub 87295a74dd Use named exports from ol/index.js 2017-12-12 12:34:23 -07:00
Tim Schaub 7f47883c48 Transformed 2017-12-12 06:53:18 -07:00
Tim Schaub 1cdb6a66f0 Imports cased like the filename 2017-12-12 06:53:17 -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
Andreas Hocevar 4b4f383043 Transform tile-pixels coordinates only once
This allows us to simplify the vector tile renderer significantly, because
there are no more coordinates that need special tile-pixel handling.
2017-08-28 19:32:16 +02:00
Andreas Hocevar 67aa1a6dc9 Cache coordinates for reuse on replay, not on geometry 2017-08-04 21:06:22 +02:00
Andreas Hocevar c6b942f185 Allow styles to configure a custom renderer
Two new examples show how custom renderers can be used to render text along
paths, and to declutter labels using 3rd party libraries.
2017-07-29 17:57:38 +02:00
Marc Jansen d0ef05977b Autofix indentation issues (eslint --fix) 2017-06-19 11:58:00 +02:00
Tim Schaub f5aea97d3b All @api annotations imply stability 2017-02-06 09:22:05 -07:00
Frederic Junod 5763e1d145 Remove unused goog.require 2017-02-03 12:40:53 +01:00
Frederic Junod 7a7c01a074 Add empty ol.geom.LinearRing.intersectsExtent 2017-01-30 17:16:01 +01:00
Frederic Junod 271a4683a5 Add empty ol.geom.Circle.{get,set}Coordinates 2017-01-30 17:16:01 +01:00
Frederic Junod d59224f5eb Add missing override and inheritDoc jsdoc tags 2017-01-30 17:16:01 +01:00
Frederic Junod 546fc97cd4 Add abstract tag at class level 2017-01-30 17:16:01 +01:00
Quentin Lampin b44be59938 ol.geom.polygon documentation update: linear rings rules 2017-01-04 15:48:04 +01:00
Quentin Lampin f2dd6f0395 ol.geom.polygon documentation update on the coordinates format 2017-01-04 14:51:43 +01:00
Tim Schaub 137cdc04c8 Remove ol.DEBUG 2017-01-01 20:37:52 -07:00
Tim Schaub 66dc2582ef Dedicated module for GeometryLayout 2016-12-06 14:49:43 -07:00
Tim Schaub 7858b68fc0 Dedicated module for GeometryType enum 2016-12-06 14:49:43 -07:00
Tim Schaub fda2d8e40e Functions in ol.geom.flat.interpolate namespace 2016-12-03 10:45:52 -08:00
Björn Harrtell 656af72615 Use winding number algorithm for linearRingContainsXY 2016-11-29 09:10:47 +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
Marc Jansen f3979d47db Require ol in ol.geom.flat.intersectsextent 2016-09-02 11:18:22 +02:00
Marc Jansen 5448871029 Require ol in ol.geom.flat.interpolate 2016-09-02 11:18:08 +02:00
Marc Jansen ae67419f76 Require ol in ol.geom.flat.interiorpoint 2016-09-02 11:17:51 +02:00
Marc Jansen 3740f05d5b Require ol in ol.geom.flat.geodesic 2016-09-02 11:17:33 +02:00
Marc Jansen 2c4060a38d Require ol in ol.geom.flat.deflate 2016-09-02 11:17:19 +02:00
Marc Jansen e8fed9c21f Require ol in ol.geom.flat.contains 2016-09-02 11:17:03 +02:00
Marc Jansen 870ddceafd Require ol in ol.geom.flat.closest 2016-09-02 11:16:51 +02:00
Andreas Hocevar d1e4b33760 Rename goog.DEBUG to ol.DEBUG 2016-08-31 21:10:01 +02:00
Frederic Junod 8d1a26dd5b Export ol.geom.Geometry#intersectsCoordinate 2016-08-23 14:36:49 +02:00
Frederic Junod 9074bd9783 Rename ol.geom.Geometry#containsCoordinate to intersectsCoordinate 2016-08-23 14:36:09 +02:00
Frederic Junod d4ad9ad616 Add missing goog.require('ol') 2016-08-17 09:57:21 +02:00
Tim Schaub a27d0da8a5 Add transform2D to ol.geom.SimpleGeometry 2016-08-12 10:54:06 -06:00
Tim Schaub 1b8310a6fe Rename ol/objectutil.js to ol/obj.js 2016-08-07 10:49:12 -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 684af3503c Move ol/geom/flat/areaflatgeom.js to ol/geom/flat/area.js 2016-08-07 10:49:10 -06:00
Andreas Hocevar b25ce40781 Merge pull request #5619 from ahocevar/remove-goog-asserts
Remove goog.asserts.*
2016-08-04 23:02:38 +02: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 e18d41b5e0 Remove gratuitous debug assertions 2016-08-04 11:29:54 +02:00
Andreas Hocevar e0015b3d4e Use goog.DEBUG instead of ol.DEBUG for now 2016-08-04 11:29:54 +02:00