Michał Zielański
8e0a61ac5f
Adding original properties to cloned geometry
2020-08-26 15:11:11 +02:00
mike-000
19f3c6b94a
getCoordinateAt return Z and M values if available
2020-06-17 15:46:28 +01:00
Andreas Hocevar
b0f20d6bd6
Use imports for enum types
2020-04-15 10:53:23 +02:00
Tim Schaub
054af09032
Make code prettier
...
This updates ESLint and our shared eslint-config-openlayers to use Prettier. Most formatting changes were automatically applied with this:
npm run lint -- --fix
A few manual changes were required:
* In `examples/offscreen-canvas.js`, the `//eslint-disable-line` comment needed to be moved to the appropriate line to disable the error about the `'worker-loader!./offscreen-canvas.worker.js'` import.
* In `examples/webpack/exapmle-builder.js`, spaces could not be added after a couple `function`s for some reason. While editing this, I reworked `ExampleBuilder` to be a class.
* In `src/ol/format/WMSGetFeatureInfo.js`, the `// @ts-ignore` comment needed to be moved down one line so it applied to the `parsersNS` argument.
2020-04-06 12:54:09 -06:00
Frederic Junod
f392f6b6bb
Remove all inheritDoc tags from src/ol/geom
2020-04-03 07:52:51 +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
Frederic Junod
caf11a71f2
Simplify import path in ol/geom/
2018-11-05 16:26:45 +01:00
Kevin Schmidt
7d5a81d40f
Fix TypeScript errors in ol/geom/*
2018-09-28 09:00:28 -06:00
Frederic Junod
81bab31efb
Remove extra imports in jsdoc
...
The symbols are already imported (es6 import)
2018-09-08 11:01:02 +02:00
Frederic Junod
ea616e7751
Don't import ourselves
2018-09-06 09:05:32 +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
Tim Schaub
d12ef20b12
Use Array<Foo> instead of Array.<Foo>
2018-07-25 18:32:43 -07:00
Frederic Junod
c707b4c746
Use extends and super for geom
2018-07-17 16:21:54 +02:00
Tim Schaub
7b4a73f3b9
Automated class transform
...
npx lebab --replace src --transform class
2018-07-16 16:18:16 -06:00
ahocevar
97f6171b4c
Rename setFlatCoordinatesInternal to setFlatCoordinates
2018-07-07 18:04:13 +02:00
ahocevar
160f1bc286
Accept flat coordinates in LineString constructor
2018-07-07 16:04:43 +02:00
ahocevar
28409486a5
Make classes in ol/ available as named exports from ol
2018-06-21 18:08:17 +02:00
Frederic Junod
af1f6836af
Shorter module paths for default exports
2018-05-09 11:24:43 +02:00
ahocevar
440d1ad3e1
Shorter module paths for default exports
2018-04-25 17:25:39 +02:00
Tim Schaub
ef70d71636
Module types for ol/geom
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
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
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
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
d15c4ce511
Named exports from ol/geom/flat/segments
2018-01-26 16:29:40 +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
Marc Jansen
8ef8f59cd9
Merge pull request #7636 from marcjansen/named-exports-array
...
Named exports from the ol/array module
2017-12-19 22:32:14 +01:00
Marc Jansen
02002082bf
Named exports from ol/array module
2017-12-19 17:22:58 +01:00
simonseyock
ca41c0d124
LineString#forEachSegment
2017-12-19 13:14:51 +01:00
Tim Schaub
fca8b13ddd
Rename _ol_geom_SimpleGeometry_ to SimpleGeometry
2017-12-14 09:03:51 -07:00
Tim Schaub
504368369c
Rename _ol_geom_GeometryType_ to GeometryType
2017-12-14 09:00:57 -07:00
Tim Schaub
2be36c375d
Rename _ol_geom_GeometryLayout_ to GeometryLayout
2017-12-14 09:00:20 -07:00
Tim Schaub
f7b3876c1b
Rename _ol_geom_LineString_ to LineString
2017-12-14 08:54:53 -07: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
Tom Payne
f3d9b3332c
Move code to be merged into src/attic
2012-07-26 00:21:37 +02:00
Marc Jansen
396875c719
A centroid method for LineStrings
2012-06-22 16:26:19 +02:00
Marc Jansen
e23b119059
Whitespace changes only.
2012-06-22 16:26:19 +02:00
Marc Jansen
bed71db109
Export the LineString constructor.
2012-06-22 09:44:21 +02:00
Marc Jansen
ce49bb8876
Add LineString/linestring.
...
The inhertance of this class might change in the future.
2012-06-21 16:00:08 +02:00