Andreas Hocevar
79f5f46d27
Remove lint
2021-06-28 18:10:51 +02:00
Maximilian Krög
363cc802d0
Update / fix links to external ressources
2021-02-13 01:32:54 +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
Andreas Hocevar
81d14fb636
Remove obsolete license notice
2020-01-30 10:47:53 +01:00
Simon Seyock
8f3820be22
Fix earth radius in documentation
2019-05-06 16:26:49 +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
ahocevar
440d1ad3e1
Shorter module paths for default exports
2018-04-25 17:25:39 +02:00
Andreas Hocevar
95d6251dbb
Get rid of olx.js and typedef.js typedefs for ol
2018-03-08 18:57:24 +01:00
Andreas Hocevar
9e105b072d
New typedef syntax for sphere
2018-03-07 13:56:51 +01:00
Andreas Hocevar
ce2f78e890
Fix module name for ol/sphere
2018-02-08 19:51:27 +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
Tim Schaub
54b8622114
Replace ol/Sphere with ol/sphere
2017-12-20 23:48:34 -07:00
Tim Schaub
1cdb6a66f0
Imports cased like the filename
2017-12-12 06:53:17 -07:00
Frederic Junod
456c85979d
Export ol.Sphere.getLength and ol.Sphere.getArea
2017-08-17 08:40:36 +02:00
Tim Schaub
5f794ab562
Make options optional
2017-08-10 20:31:46 -06:00
Tim Schaub
f3ebbf4b7c
Correct units
2017-08-10 18:45:49 -06:00
Tim Schaub
94fb7ca5a6
Function for getting spherical area
2017-08-10 18:30:42 -06:00
Tim Schaub
92c62e5432
Function for getting great circle lengths
2017-08-10 18:05:21 -06:00
Jonathan Beliën
aa666f69f5
Update sphere.js
...
Fix #6295 . Update reference link.
2016-12-22 16:59:26 +01:00
Tim Schaub
ef04f466cd
Name modules more like their provide
2016-12-18 11:24:01 -07:00
Tom Payne
6cc4cb33d0
Use more consistent directory structure
2013-03-19 12:03:31 +01:00
Tom Payne
544f399e04
Add spherical geometry functions
2013-02-15 18:07:19 +01:00