Andreas Hocevar
bf7af07657
Ensure inherited docs are shown
2019-10-23 14:40:27 +02:00
mike-000
2b1417df3f
Revise the description of applyTransform
...
Revise the description of applyTransform and transformFn (loosely based on that used in ol/extent) to avoid any misunderstanding that the function is called inside a forEach method.
2019-10-16 13:59:38 +01:00
Tim Schaub
d3b47c794e
Make the immediate API work with a user projection
2019-09-30 08:28:50 -06:00
Tim Schaub
965d0541f2
Merge pull request #10004 from tschaub/revisions
...
Return a new simplified geometry after modification
2019-09-26 09:22:12 +02:00
Tim Schaub
680372ac3f
Return a new simplified geometry after modification
2019-09-25 17:26:22 +02:00
Simon Seyock
bb0b94fedf
fixed typescript issues
2019-09-25 14:10:05 +02:00
Tim Schaub
c071c749eb
Merge pull request #9981 from KlausBenndorf/replace-geometry-cache
...
Remove simplified geometry cache
2019-09-24 18:11:33 +02:00
Tim Schaub
30cbbfea9d
Get simplified transformed geometry and load features in user projection
2019-09-24 17:45:04 +02:00
Simon Seyock
6866f06375
Remove simplified geometry cache
2019-09-24 16:55:33 +02:00
mike-000
a4a0414eeb
LineString.forEachSegment callback description
...
Include API description of the LineString.forEachSegment callback arguments.
2019-09-05 22:53:54 +01:00
ahocevar
ebfb20440a
Simplify events and store listeners only in one place
2019-09-04 16:48:43 +02:00
Frederic Junod
2db953ceb1
Use markdown link syntax in jsdoc
2019-05-27 11:06:12 +02:00
ahocevar
41e958ea1f
Split text into single chars or don't split at all
2019-05-15 11:55:29 +02:00
Frederic Junod
2989c84248
Implement translate function for circle geometry
2019-04-11 16:12:41 +02:00
Frederic Junod
319a905ec0
Implement rotate function for circle geometry
2019-04-09 16:58:44 +02:00
Frederic Junod
187f58c1c3
Remove opt_this param in ol/extent
2019-04-08 13:46:54 +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
Niklas Alt
d00bfe8fe7
Use generic * for Coordinate array returns
2018-12-06 14:36:33 +01:00
Niklas Alt
8f7d0c8a4b
Specify the return array as coordinates
2018-12-03 20:22:46 +01:00
Tim Schaub
8b50c3c6cb
Pass along the ability to measure and cache text width
2018-11-19 15:34:48 -07:00
timkeane
7274798aa1
Implement ol/geom/Geometry#containsXY
...
Fixes issue #8863
ol/source/Vector#getFeaturesAtCoordinate and
implementations of ol/geom/Geometry#containsXY
2018-11-12 17:15:44 +01:00
timkeane
5967bc75ba
ol/geom/MultiLineString#containsXY
2018-11-12 17:15:22 +01:00
timkeane
c1963ba369
ol/geom/LineString#containsXY
2018-11-12 17:15:10 +01:00
timkeane
58b474225c
ol/geom/MultiPoint#containsXY
2018-11-12 17:14:38 +01:00
timkeane
daffbde80b
ol/geom/Point#containsXY
2018-11-12 17:14:07 +01:00
Frederic Junod
caf11a71f2
Simplify import path in ol/geom/
2018-11-05 16:26:45 +01:00
ahocevar
1cdd040c96
Throw when calling abstract methods; fix abstract return types
2018-10-30 18:55:49 +01:00
ahocevar
d1395d005c
Fix comments for JSDoc
2018-10-23 17:58:50 +02:00
Andreas Hocevar
e37039d85e
Merge pull request #8820 from hmdavidjunior/master
...
Polygon intersectsExtent failure - Issue #8795
2018-10-16 14:12:09 +02:00
Hermes David Junior
7ec19645e9
Polygon intersectsExtent failure - Issue #8795
2018-10-15 10:00:37 -04:00
Kevin Schmidt
d308288eed
Fix TypeScript errors in ol/format/GML
2018-10-08 05:36:21 -06:00
Frederic Junod
720993431c
Fix indentation
2018-10-08 08:50:40 +02:00
Kevin Schmidt
7d5a81d40f
Fix TypeScript errors in ol/geom/*
2018-09-28 09:00:28 -06:00
Florent gravin
9c6e14b050
Remove duplicate containsXY fn
2018-09-19 16:51:43 +02:00
Florent gravin
8b83371272
Feature opt_geometryOrProperties cannot be null
2018-09-19 16:48:51 +02:00
Florent gravin
cd169ede0d
Correct cast of Projection in Geometry.transform
2018-09-19 16:48:51 +02:00
Florent gravin
bd655b325d
Implement Geometry containsXY with correct signature
2018-09-19 16:48:51 +02:00
Frederic Junod
31c392b63c
Remove containsXY function from ol/geom/SimpleGeometry
...
The function is already present in the base class (ol/geom/Geometry)
2018-09-19 08:40:14 +02:00
Frederic Junod
7cb85fa975
Don't define functions in the prototype
...
If `VOID` is used, TypeScript is not able to figure out what the function parameters are.
Before:
```
$ npx tsc | wc -l
1188
```
After:
```
$ npx tsc | wc -l
1169
```
2018-09-19 08:40:14 +02:00
Marc Jansen
143bf731b6
Better type annotations / type casts
2018-09-11 21:59:54 +02:00
Frederic Junod
81bab31efb
Remove extra imports in jsdoc
...
The symbols are already imported (es6 import)
2018-09-08 11:01:02 +02:00
Tim Schaub
82675d0bee
Mark optional geom constructor args as optional
2018-09-06 09:29:44 -06:00
Frederic Junod
ea616e7751
Don't import ourselves
2018-09-06 09:05:32 +02:00
Frederic Junod
71328530fe
Remove unnecessary 'function' in jsdoc blocks
2018-09-05 16:40:45 +02: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
ahocevar
2f92e48e93
Use super.method instead of prototype.method.call
2018-08-06 15:30:17 +02:00
Frederic Junod
b3586bed8d
Remove extra translate function in Geometry, add missing api tag
2018-07-27 13:19:12 +02:00
Tim Schaub
affbf59b77
Use Object<Foo, Bar> instead of Object.<Foo, Bar>
2018-07-25 18:33:49 -07:00