Simon Seyock
2b57584180
fix prettier linting problems
2021-03-09 09:08:27 +01:00
Tim Schaub
45d90cde72
Additional test coverage for serializing GeoJSON
2020-06-24 10:43:15 -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
76f44efbb6
Add support for tile pixels to feature formats
2019-06-14 14:28:37 +02:00
Nicholas L
7097b530f3
Rename extent
2018-02-19 20:33:03 +13: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
22fce4f97b
Rename _ol_Feature_ to Feature
2018-01-10 09:35:35 -07:00
Tim Schaub
8656e794ff
Rename _ol_format_GeoJSON_ to GeoJSON
2017-12-17 01:42:56 -07:00
Tim Schaub
64a0d40361
Rename _ol_geom_LinearRing_ to LinearRing
2017-12-14 09:01:39 -07:00
Tim Schaub
4ea0af87df
Rename _ol_geom_GeometryCollection_ to GeometryCollection
2017-12-14 08:59:35 -07:00
Tim Schaub
ac7985a5ad
Rename _ol_geom_Circle_ to Circle
2017-12-14 08:57:52 -07:00
Tim Schaub
9d396280b0
Rename _ol_geom_MultiPolygon_ to MultiPolygon
2017-12-14 08:56:51 -07:00
Tim Schaub
c502f016f7
Rename _ol_geom_Polygon_ to Polygon
2017-12-14 08:56:12 -07:00
Tim Schaub
f7b3876c1b
Rename _ol_geom_LineString_ to LineString
2017-12-14 08:54:53 -07:00
Tim Schaub
eadec38ae2
Rename _ol_geom_Point_ to Point
2017-12-14 08:49:10 -07:00
Tim Schaub
6f72ffe498
Named exports from ol/proj
2017-12-14 13:08:40 +01:00
Andreas Hocevar
5a4887e300
Remove default export from ol/extent
2017-12-13 22:05:10 +01:00
Tim Schaub
7f47883c48
Transformed
2017-12-12 06:53:18 -07:00
Frederic Junod
bcfad6ea8b
Remove GeoJSON workaround for GeoServer
...
See #1569
See https://osgeo-org.atlassian.net/browse/GEOS-5996
2017-10-17 08:32:16 +02:00
Tim Schaub
a3e3e99baa
Get rid of useless test exports
2017-08-17 15:16:58 -04:00
Marc Jansen
d0ef05977b
Autofix indentation issues (eslint --fix)
2017-06-19 11:58:00 +02:00
Thomas Chandelle
d8dba61b0a
Rounds if decimals options = 0
2017-06-08 12:08:02 +02:00
Thomas Chandelle
aface2f43e
Clone the geometry before applying the decimals transform
...
We may only do it if the geometry has not been previously transformed.
2017-06-08 12:08:02 +02:00
Frederic Junod
392cbcc138
Enforces spacing around commas
2016-12-14 13:42:47 +01:00
Andreas Hocevar
3656529252
Fix GeoJSON writeGeometry tests
2016-11-03 14:44:04 +01:00
Tim Schaub
0d686fe88b
Corrected test description
2016-10-11 13:55:37 -06:00
Tim Schaub
309b2145cf
Allow readFeature and readFeatures to be called with geometries
2016-10-10 13:31:19 -06:00
Tim Schaub
4b6e907f69
Accept feature projection in GeoJSON constructor
2016-09-26 22:56:07 -06:00
Tim Schaub
ed5dbd1293
Put test requires on top
2016-08-08 09:58:11 -06:00
Tim Schaub
e8205a8293
Rename format tests for consistency
2016-08-07 10:49:10 -06:00