Commit Graph

65 Commits

Author SHA1 Message Date
Björn Harrtell
4eef96d5d8 Fix docs 2020-08-11 16:30:29 +02:00
Björn Harrtell
0484e45c89 Fix WFS 2.0.0 GetFeature response parsing 2020-08-11 15:46:40 +02:00
Björn Harrtell
01f355c37f Verify GetFeature with more complex filter 2020-08-10 21:30:06 +02:00
Björn Harrtell
a58bff0981 Initial GetFeature verification 2020-08-10 03:50:39 +02:00
Björn Harrtell
daa0824b17 Refactor transaction serialization 2020-08-09 23:28:22 +02:00
Björn Harrtell
c675ce5217 Fix srsName wrong context 2020-08-09 22:47:03 +02:00
Björn Harrtell
d3041295a1 Initial spike on WFS 2.0 2020-08-09 22:36:41 +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
d7c83e4651 Remove all inheritDoc tags from src/ol/format 2020-04-03 07:52:51 +02:00
Frederic Junod
c428421586 Remove extra space for the 'viewParams' attribute 2019-06-24 16:28:04 +02:00
Frédéric Junod
5f747cbf1b Merge pull request #8882 from fredj/import_path
Import simplification
2018-11-05 17:07:20 +01:00
Frederic Junod
711afac80f Simplify import path in ol/format/ 2018-11-05 16:26:45 +01:00
ThomasG77
d3fdda6efc Add condition for viewParams and TypeScript related option 2018-10-25 05:46:49 +02:00
ahocevar
9163558511 Replace instanceof checks with other logic 2018-10-12 20:35:59 +02:00
Kevin Schmidt
d4d45001f6 Fix TypeScript errors in ol/format/WFS 2018-09-27 14:03:06 -06:00
Frederic Junod
a6861f5f49 Remove extra imports in jsdoc
The symbols are already imported (es6 import)
2018-09-06 16:40:29 +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
Frederic Junod
20a347b0c9 Use 'Element' type instead of 'Node' 2018-08-31 11:36:16 +02: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
Tim Schaub
6f22f1b7ac Param name on same line as type 2018-07-23 16:28:22 -07:00
ahocevar
942a219c30 Use extends and super for format/WFS 2018-07-17 17:49:08 +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
ahocevar
28409486a5 Make classes in ol/ available as named exports from ol 2018-06-21 18:08:17 +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
Frederic Junod
4856c53881 Module type for ol.format.filter.* 2018-04-25 08:21:11 +02:00
Michael Kuenzli
addcdf745f Move ol.WFSTransactionResponse to ol/format/WFS 2018-04-19 16:48:29 +02:00
Michael Kuenzli
d4a6169052 Move ol.WFSFeatureCollectionMetadata to ol/format/WFS 2018-04-19 16:48:29 +02:00
Frederic Junod
f0da3c7ef0 Module type for ol.format.GMLBase 2018-04-19 15:40:09 +02:00
Frederic Junod
070f08e778 Mark optional property with square brackets 2018-04-04 17:06:21 +02:00
Frederic Junod
06bd5b4423 Module type for ol.format.XMLFeature 2018-03-23 08:44:21 +01:00
ahocevar
889befc8c7 Use path type instead of ol.Extent 2018-03-14 11:54:09 +01:00
Frédéric Junod
74b3db9363 Merge pull request #7973 from fredj/rm_setAttributeNS
Remove setAttributeNS function from ol/xml
2018-03-12 16:02:58 +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
Frederic Junod
ac3c114477 Remove setAttributeNS function from ol/xml
And create a const for the `XMLSchema-instance` URI
2018-03-12 09:22:20 +01:00
Tim Schaub
55e257d6fb Move WriteTransactionOptions to ol/format/WFS 2018-03-11 22:28:19 -06:00
Tim Schaub
ca46c4dd07 Move WriteGetFeatureOptions to ol/format/WFS 2018-03-11 22:26:22 -06:00
Tim Schaub
4c78642ae2 Move Options to ol/format/WFS 2018-03-11 22:23:47 -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
Tim Schaub
2abc524147 Named exports from ol/format/xsd 2018-02-19 09:58:50 -07:00
Tim Schaub
7b21b41151 Named export from ol/format/GMLBase 2018-02-19 09:26:16 -07:00
Frederic Junod
48bb187075 Add named export for WFS.writeFilter function 2018-02-14 11:12:56 +01:00
Frederic Junod
308dc412aa Don't store private constants into ol/format/WFS 2018-02-14 11:12:56 +01:00
Tim Schaub
70648165a8 Remove private static members from WFS format 2018-02-11 17:39:41 -07:00
raiyni
4449da3e63 named exports from ol/xml 2018-02-07 14:42:01 -06:00