Tim Schaub
c8067bebbb
Add supported media type list to feature formats
2021-09-04 11:17:41 -06:00
kikuchan
44ad13f8ea
Make writeFeature(s)/writeGeometry able to return ArrayBuffer
2021-04-05 02:12:26 +09:00
Simon Seyock
bd489fec4c
Fix strict null checking for format/WKT
...
NOTE: `EMPTY` may only occur immediately after geometry type
2021-02-03 22:43:56 +01:00
Simon Seyock
8facb252f1
Replace google closure syntax = with brackets around name
2021-02-03 14:06:02 +01: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
d7c83e4651
Remove all inheritDoc tags from src/ol/format
2020-04-03 07:52:51 +02:00
Simon Seyock
09cad9b5f9
fixed jsdoc problems
2019-09-26 17:00:46 +02:00
ahocevar
534afae345
Set world projection only for tile-pixels units
2019-07-02 23:03:22 +02:00
ahocevar
76f44efbb6
Add support for tile pixels to feature formats
2019-06-14 14:28:37 +02:00
ahocevar
b2722542fe
Simplify vector tile projection handling
2019-03-10 09:37:58 +01:00
Frederic Junod
d838de32b7
Rework transformWithOptions
...
Create one function per input/output type: `transformGeometryWithOptions` and `transformExtentWithOptions`.
2018-12-16 08:28:26 +01:00
ahocevar
1cdd040c96
Throw when calling abstract methods; fix abstract return types
2018-10-30 18:55:49 +01:00
ahocevar
9163558511
Replace instanceof checks with other logic
2018-10-12 20:35:59 +02:00
Kevin Schmidt
c5a9d5b0bc
Move FeatureClass and FeatureLike to ol/Feature
2018-10-01 08:59:55 -06:00
Kevin Schmidt
7056eb8536
Allow returning RenderFeature in ol/format/Feature
...
Resolves #8760
2018-10-01 08:24:30 -06:00
Kevin Schmidt
e9baa2cfc4
Fix TypeScript errors in ol/format/Feature
2018-09-25 13:03:43 -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
Tim Schaub
bd0f3556b6
Mark transform options as optional
2018-09-06 09:32:45 -06: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
Frederic Junod
219629458b
Mark properties of ReadOptions and WriteOptions as optional
2018-07-27 11:25:52 +02:00
Tim Schaub
d12ef20b12
Use Array<Foo> instead of Array.<Foo>
2018-07-25 18:32:43 -07:00
Jaap Koelewijn
704845e37a
Use alternative JSDoc annotation for optional parameter which passes the tests.
2018-07-23 21:29:52 +02:00
Jaap Koelewijn
fd9219f035
Incorporate review comments of ahocevar and tschaub.
2018-07-23 21:12:43 +02:00
Jaap Koelewijn
2769953204
Fix JSDoc such that ng build --prod with angular/cli 6.0.8 succeeds again.
2018-07-23 01:05:26 +02:00
Frederic Junod
540b1793e7
Move jsdoc constructor comments
2018-07-17 10:20:26 +02:00
Tim Schaub
d0ab8dce38
Lint removal
2018-07-16 17:57:57 -06:00
Tim Schaub
7b4a73f3b9
Automated class transform
...
npx lebab --replace src --transform class
2018-07-16 16:18:16 -06:00
ThomasG77
cbaa9a7567
Rename defaultDataProjection to dataProjection #8152
2018-06-18 14:08:50 +02:00
Tim Schaub
8e7c88d9a5
Updated type annotations
2018-05-07 15:50:56 -06:00
ahocevar
440d1ad3e1
Shorter module paths for default exports
2018-04-25 17:25:39 +02:00
ahocevar
c23a5086ae
Fix enum types
2018-04-21 10:48:38 +02:00
Frederic Junod
d8c0e6e69b
Module type for ol.format.Feature
2018-03-23 08:44:21 +01:00
Frederic Junod
c19ddb1a19
Module type for ol.format.FormatType
2018-03-23 08:44:21 +01:00
Frederic Junod
61f944d4a9
Module type for ol.ProjectionLike
2018-03-19 10:38:39 +01:00
Frederic Junod
8a4d60192f
Mark optional property with square brackets
2018-03-19 08:29:50 +01:00
ahocevar
889befc8c7
Use path type instead of ol.Extent
2018-03-14 11:54:09 +01:00
Tim Schaub
cf80733e41
Module type for ol/Feature
2018-03-12 08:32:09 -06:00
Tim Schaub
a743ec3989
Module types for ol/proj
2018-03-12 08:32:09 -06:00
Tim Schaub
ef70d71636
Module types for ol/geom
2018-03-12 08:32:09 -06:00
Tim Schaub
8eaee5618e
Move WriteOptions to ol/format/Feature
2018-03-11 15:55:48 -06:00
Tim Schaub
4eb6603af7
Move ReadOptions to ol/format/Feature
2018-03-11 15:51:16 -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
31e30d28b7
Named exports from ol/obj
2018-01-16 14:14:17 +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
Frederic Junod
3843beafa7
Add named export for transformWithOptions function
2017-12-22 15:45:11 +01:00
Tim Schaub
96a05fa0ed
Rename _ol_format_Feature_ to FeatureFormat
2017-12-17 01:41:11 -07:00
Tim Schaub
87e665d60e
Rename _ol_geom_Geometry_ to Geometry
2017-12-14 08:58:46 -07:00
Tim Schaub
6f72ffe498
Named exports from ol/proj
2017-12-14 13:08:40 +01: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