Maximilian Krög
7ac61fdc70
Replace proj/Units enum with typedef
2022-07-30 15:06:12 +02:00
Tim Schaub
2e4b2e10ab
Fix additional doc links
2021-06-17 21:59:51 -06:00
Tim Schaub
f798902ecd
Fix JSDoc generated links
2021-06-17 21:54:07 -06: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
ahocevar
fecb8de769
getPointResolution returns proj units
2019-02-07 12:25:37 +01:00
Frederic Junod
53c2be0c7a
Simplify import path in ol/proj/
2018-11-05 16:26:45 +01: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
f2d0b11d24
Move jsdoc constructor comments
2018-07-17 09:59:00 +02:00
Tim Schaub
f78d0d4cfa
Manual class transform
2018-07-16 17:09:50 -06:00
Tim Schaub
7b4a73f3b9
Automated class transform
...
npx lebab --replace src --transform class
2018-07-16 16:18:16 -06:00
Andreas Hocevar
7dcc720029
Improve readability
2018-06-27 11:15:49 +02:00
Frederic Junod
770407f1ba
Remove reference to setProj4 function in documentation
...
The function was removed in #7598
2018-06-27 10:35:03 +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
8a4d60192f
Mark optional property with square brackets
2018-03-19 08:29:50 +01:00
Frederic Junod
218ca38f1d
Use path type instead of ol.Coordinate
2018-03-19 08:29:50 +01:00
Frederic Junod
76fb0edf0d
Use path type instead of ol.tilegrid.TileGrid
2018-03-15 14:20:49 +01:00
ahocevar
889befc8c7
Use path type instead of ol.Extent
2018-03-14 11:54:09 +01:00
Tim Schaub
a743ec3989
Module types for ol/proj
2018-03-12 08:32:09 -06:00
Tim Schaub
70ff218a8e
Move ProjectionOptions to ol/proj/Projection
2018-03-11 10:34:17 -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
ef92649017
Remove static members from Units
2018-02-25 08:43:07 -07: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
Tim Schaub
aa89746c47
Rename _ol_proj_Projection_ to Projection
2018-01-11 13:33:41 -07:00
Tim Schaub
a04144c3c2
Rename _ol_proj_Units_ to Units
2018-01-10 09:35:42 -07:00
Andreas Hocevar
9f1ebbb852
Add and use new proj4.register function
2017-12-15 19:17:29 +01:00
Tim Schaub
ee5507cae8
Remove ENABLE_PROJ4JS
2017-12-12 17:26:01 -07: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