Commit Graph

19 Commits

Author SHA1 Message Date
Maximilian Krög
0d5d346bcd Update links to external resources 2021-02-08 19:40:05 +01:00
mike-000
51db8f9308 Test projections without transforms 2020-12-10 11:22:40 +00:00
mike-000
a9adb1850f Test projections without transforms 2020-12-10 11:18:46 +00:00
Andreas Hocevar
527a8ca810 Deal with undefined units from proj4 longlat projections 2020-10-15 00:03:00 +02:00
Florent gravin
8eb5ac900d Add urn:x-ogc:def:crs:EPSG:6.6:4326 as WGS84 proj identifier 2020-09-03 15:42:56 +02:00
Andreas Hocevar
a9b3a5bcc9 Only clamp to source projection extent 2020-07-07 10:12:47 +02:00
Andreas Hocevar
bef4d8a494 Make proj4 transforms behave like built-in transforms 2020-06-26 00:16:52 +02:00
Andreas Hocevar
49658709c7 Transform without axis order in proj4 2020-05-23 20:59:08 +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
Tim Schaub
f73d0b16ec Support for a user projection 2019-09-21 11:21:05 -06:00
ahocevar
d24ae3c2ac Fix expectation for degree point resolution 2019-02-07 12:22:18 +01:00
Tim Schaub
9c64d29941 Named exports from ol/proj/epsg4326 2018-02-07 12:50:46 -07:00
Tim Schaub
6701d19a45 Named exports from ol/proj/epsg3857 2018-02-07 12:44:02 -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
Andreas Hocevar
9f1ebbb852 Add and use new proj4.register function 2017-12-15 19:17:29 +01:00
Tim Schaub
6f72ffe498 Named exports from ol/proj 2017-12-14 13:08:40 +01:00
Tim Schaub
7f47883c48 Transformed 2017-12-12 06:53:18 -07:00
Tim Schaub
42da3f18dd Keep longitude between -180 and 180 2017-11-06 06:39:17 -07:00