mike-000
e6592c95ea
remove whitespace
2020-07-30 14:23:51 +01:00
mike-000
eee7e2523c
fix prettier
2020-07-30 14:18:58 +01:00
mike-000
dcdaf6ddc5
add non-global projection wrapX text
2020-07-30 14:15:17 +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
098885a006
New wrapX functions for coordinate and extent
2020-03-31 16:03:12 +02:00
ahocevar
80ebb8142c
Avoid unexpected behavior when passing string coordinates
2018-12-13 19:07:12 +01:00
Tim Schaub
b97554f2f3
Named exports from ol/coordinate
2018-02-09 14:31:20 -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
ac7985a5ad
Rename _ol_geom_Circle_ to Circle
2017-12-14 08:57:52 -07:00
Tim Schaub
7f47883c48
Transformed
2017-12-12 06:53:18 -07:00
Tim Schaub
a3e3e99baa
Get rid of useless test exports
2017-08-17 15:16:58 -04:00
Thomas Chandelle
074fdeb212
Add snapping abilities on circles
2017-05-23 14:45:03 +02:00
Andreas Hocevar
da10988ffd
Restore test values
2017-01-28 16:08:23 +01:00
alfred.jackson
419c3752d2
fixed the degreesToStringHDMS_() function to promote a seconds value of 60 up to the next minute; fixed test to account for the padding for minutes and seconds
2017-01-27 17:48:02 -06:00
alfred.jackson
2001244b88
fixed the degreesToStringHDMS_() function to promote a seconds value of 60 up to the next minute
2017-01-27 14:43:41 -06:00
Frederic Junod
97ececb470
Remove unused ol.coordinate.fromProjectedArray function
2016-09-15 10:39:46 +02:00
Tim Schaub
ed5dbd1293
Put test requires on top
2016-08-08 09:58:11 -06:00
pfanguin
b584a9aeb5
Add precision parameter for HDMS coordinate
2016-02-11 09:15:41 +01:00
Tim Schaub
3f23dfb87b
Indentation
2016-01-11 18:56:07 -08:00
Pierre GIRAUD
1cdfc709ae
Pad min. and sec. with leading zeros in DMS notation
...
FIxes 3776
2015-06-25 08:40:43 +02:00
Marc Jansen
3245fa43ae
Add more tests for ol.coordinate.
2015-04-02 19:16:05 +02:00
Marc Jansen
70548b4704
Add tests for ol.coordinate.equals().
2014-07-01 17:02:34 +02:00
Marc Jansen
00fd5caa92
Add tests for ol.coordinate.createStringXY().
2014-07-01 17:02:34 +02:00
Marc Jansen
07b41f84d0
Add tests for ol.coordinate.add().
2014-07-01 17:02:34 +02:00
Frederic Junod
116b107cb2
Add tests for ol.coordinate.format
2013-11-06 09:23:13 +01:00
Frederic Junod
db5986fcc1
Use describe instead of describe.only
2013-11-05 09:50:19 +01:00
ahocevar
f317016505
Add tests
2013-11-04 22:14:34 +01:00