ahocevar
80ebb8142c
Avoid unexpected behavior when passing string coordinates
2018-12-13 19:07:12 +01: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
345ce340e4
Named exports for ol/proj/transforms
2017-12-15 18:48:10 +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
Tim Schaub
145505fa8a
Missing require in epsg3857.test.js
2017-08-18 16:48:06 -04:00
Tim Schaub
a3e3e99baa
Get rid of useless test exports
2017-08-17 15:16:58 -04:00
Tim Schaub
46bcce464f
Add missing requires to tests
2017-08-16 13:43:28 -04:00
Tim Schaub
92c62e5432
Function for getting great circle lengths
2017-08-10 18:05:21 -06:00
Andreas Hocevar
388e2a93cb
Fix scale line for EPSG:4326 maps
2017-08-07 20:42:28 -06:00
Marc Jansen
d0ef05977b
Autofix indentation issues (eslint --fix)
2017-06-19 11:58:00 +02:00
Tim Schaub
9415899a03
Add common transforms by default
2017-03-27 10:07:00 -06:00
Tim Schaub
08569d4eb3
Dedicated module for ol.proj.Projection
2016-12-04 12:41:04 -08:00
Tim Schaub
679fe298aa
Dedicated module for transforms cache
2016-12-04 10:09:32 -08:00
Tim Schaub
321c65b023
Keep transformed coordinates within valid y range
2016-10-05 07:26:41 -06:00
Tim Schaub
c203f6a841
Remove unused requires from tests
2016-08-08 09:58:11 -06:00
Tim Schaub
ed5dbd1293
Put test requires on top
2016-08-08 09:58:11 -06:00
Tim Schaub
aab8a7c4eb
Move proj files so they are named like their provides
2016-08-07 10:49:10 -06:00
Peter Robins
06fd92353b
Remove enums from tests
2016-06-03 11:10:46 +00:00
Andreas Hocevar
27908edea1
Make sure window.proj4 is always restored in tests
2016-02-13 14:09:25 +01:00
Tim Schaub
4e0cddcb41
Lint-free tests
2016-01-11 18:56:07 -08:00
Tim Schaub
3f23dfb87b
Indentation
2016-01-11 18:56:07 -08:00
Tim Schaub
9ae748408a
Statement inside curly braces on its own line
2016-01-11 18:56:06 -08:00
Andreas Hocevar
24f8cba0a1
Simplify meters per unit handling
2016-01-06 13:53:55 +01:00
Bart van den Eijnden
cdf9a8e84d
Add ol.proj.setProj4 function
2016-01-04 18:51:04 +01:00
Andreas Hocevar
a940cdd6a7
Add support for OSM vector tiles
2015-12-07 11:15:25 +01:00
Andreas Hocevar
66338a662d
Fix comparison of projections with same code but different units
2015-10-28 10:29:03 +01:00
Torben Barsbsballe
7cefe56167
Support OGC WKT proj4 def.units and def.to_meter
2015-10-07 11:18:52 -07:00
Frederic Junod
496cece074
Remove use of goog.array.forEach
2015-09-29 10:55:17 +02:00
Frederic Junod
9e2a393426
Remove use of goog.array.map
2015-09-29 10:54:55 +02:00
Andreas Hocevar
a8797ae1ff
Do not overwrite projections in the registry
2015-08-19 13:06:23 +02:00
Andreas Hocevar
7463a58066
Do not clip canvas for vector layers when wrapping the world
2015-06-19 14:55:20 +02:00
Andreas Hocevar
40feabc3c8
Do not require an extent for global projections
2015-04-21 09:11:06 +02:00
nd0ut
12e817e408
Check projections equivalence also by their code
...
Method ol.proj.equivalent used only reference equality check ===
That doesn't work for basic checks of two strongly equal projections
For example, `EPSG:4326` and `EPSG:4326`
In this case method searches similar proj in ol.proj.transforms_ mapping
And it finds it if proj is default and not custom
But in case of custom proj `EPSG:3413` it doesn't find it
2015-04-17 14:36:37 +03:00
Frederic Junod
dd8a4c355b
Add more proj4js integration tests
2015-04-15 08:58:07 +02:00
Andreas Hocevar
5579dc53a2
Add fromLonLat and toLonLat convenience functions
2015-03-31 19:27:35 +02:00
Andreas Hocevar
a6f80ef4b8
Add constant for us-ft units
2015-03-03 13:51:23 +01:00
Tim Schaub
e68eb726d2
Test 3d points and proj4 defs
2014-10-27 12:39:28 -06:00
Tim Schaub
8a82048c12
Explicitly pass coordinate dimension before transforming
2014-10-27 10:33:46 -06:00
Tim Schaub
081f3689b1
Quarter the number of test cases to avoid timeout
2014-10-14 13:58:19 -06:00
Tim Schaub
aa4ee80033
Removing unused ol.proj.CH
2014-07-21 09:28:48 -06:00
Andreas Hocevar
1bb5705b55
Clean up after testing
2014-07-09 18:11:22 +02:00
Andreas Hocevar
90c745006d
Update to use the documented Proj4js 2.2.x API
2014-07-09 15:33:12 +02:00
Andreas Hocevar
b5bdd0d4bb
Update tests
2014-07-08 22:06:21 +02:00
Tim Schaub
1f88015db0
Add ol.proj.transformExtent function
2014-07-06 13:22:47 -06:00
Tom Payne
9a6b502960
Add missing semicolon
2014-03-23 19:59:49 +01:00
Tim Schaub
b524de417b
Rename ol.ProjectionUnits to ol.proj.Units
2013-09-15 22:04:51 -06:00