ahocevar
41e958ea1f
Split text into single chars or don't split at all
2019-05-15 11:55:29 +02:00
Frederic Junod
438736068e
Remove opt_this param in forEach function
2019-02-07 13:07:36 +01:00
Roman Zoller
ee57b197e5
Fix offset passed from linearRingssAreOriented to linearRingsAreOriented
...
The offset needs to be set to the end of the previous Polygon,
see `offset = orientLinearRings(...)` in function orientLinearRingsArray
Fixes #9189
2019-02-05 17:56:52 +01:00
Roman Zoller
2c859b1196
Rename misnamed functions in geom/flat/orient
...
- Rename linearRingIsOriented => linearRingsAreOriented
The function checks all linear rings of a Polygon, so
the plural "rings" is more appropriate
- Rename linearRingsAreOriented => linearRingssAreOriented
The double s is appropriate because the check is done for
all Polygons of a MultiPolygon
This commit restores the function names from OpenLayers v4,
they were changed (wrongly IMHO) in #7820 .
2019-02-05 17:49:21 +01:00
Tim Schaub
8b50c3c6cb
Pass along the ability to measure and cache text width
2018-11-19 15:34:48 -07:00
Frederic Junod
caf11a71f2
Simplify import path in ol/geom/
2018-11-05 16:26:45 +01:00
Hermes David Junior
7ec19645e9
Polygon intersectsExtent failure - Issue #8795
2018-10-15 10:00:37 -04:00
Tim Schaub
ccfacc5ee6
Transformed types
...
Using the [ts.js codemod](https://gist.github.com/tschaub/1ea498c9d1e5268cf36d212b3949be4e ):
jscodeshift --transform ts.js src
2018-09-05 08:05:29 -06:00
Tim Schaub
affbf59b77
Use Object<Foo, Bar> instead of Object.<Foo, Bar>
2018-07-25 18:33:49 -07:00
Tim Schaub
d12ef20b12
Use Array<Foo> instead of Array.<Foo>
2018-07-25 18:32:43 -07:00
ahocevar
440d1ad3e1
Shorter module paths for default exports
2018-04-25 17:25:39 +02:00
Tim Schaub
a743ec3989
Module types for ol/proj
2018-03-12 08:32:09 -06:00
Andreas Hocevar
95d6251dbb
Get rid of olx.js and typedef.js typedefs for ol
2018-03-08 18:57:24 +01:00
Frederic Junod
3435ac575e
Better type definition
...
Fixes the `Invalid type(s) for operator IN.` warnings from the closure compiler.
2018-03-07 16:45:46 +01: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
4575569238
ol/geom/flat/interiorpoint export
2018-02-13 08:11:05 -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
Frederic Junod
e6a491856d
Named exports from ol/geom/flat/geodesic
2018-01-26 15:26:40 +01:00
Frederic Junod
039d4dc714
Better variables scoping
2018-01-17 16:07:36 +01:00
Frederic Junod
4c5ca75ca6
Better variables scoping
2018-01-17 10:54:18 +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
Ron Young
a11208d126
rename _ol_math_ imports
2017-12-20 19:31:00 -06:00
Marc Jansen
02002082bf
Named exports from ol/array module
2017-12-19 17:22:58 +01: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
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
Marc Jansen
d0ef05977b
Autofix indentation issues (eslint --fix)
2017-06-19 11:58:00 +02:00
Frederic Junod
5763e1d145
Remove unused goog.require
2017-02-03 12:40:53 +01:00
Tim Schaub
137cdc04c8
Remove ol.DEBUG
2017-01-01 20:37:52 -07:00