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
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
Tim Schaub
3b20cc7b53
Rename ol.Projection to ol.proj.Projection
2013-09-15 22:01:56 -06:00
Tim Schaub
b192335e56
Merge pull request #1027 from tschaub/closure-util
...
Use the closure-util package. Documentation will come when this is a more complete solution. See #1027 for basic usage instructions.
2013-09-15 15:36:13 -07:00
Tim Schaub
13b55b04a8
Unnecessary spy
2013-09-15 10:41:44 -06:00
Éric Lemoine
ecd82297a0
Better setup/teardown for ol.proj tests
2013-09-15 10:37:01 -06:00
Tim Schaub
e806f51b3d
Changing extent structure back to single array: [minX, minY, maxX, maxY]
...
This means we'll have to have a new structure and new methods for 3D envelopes.
2013-09-15 00:31:32 -06:00
Tim Schaub
0eb4cd6dd4
Proj support for new extent structure
2013-09-14 21:11:53 -06:00
Tim Schaub
d10eff97a2
Allow getMetersPerUnit to work without units identifier (see #814 )
2013-06-24 11:34:16 -06:00
Tim Schaub
a631c50979
Rename spec to be like src
2013-06-10 09:29:00 -06:00