Andreas Hocevar
9f1ebbb852
Add and use new proj4.register function
2017-12-15 19:17:29 +01:00
Andreas Hocevar
345ce340e4
Named exports for ol/proj/transforms
2017-12-15 18:48:10 +01:00
Tim Schaub
6e6b0b08fb
Merge pull request #7578 from tschaub/undeprecated
...
Remove deprecated functionality from 4.x
2017-12-13 05:31:51 -07:00
Tim Schaub
bb48b09920
Remove ol/proj/common
2017-12-12 19:13:05 -07:00
Tim Schaub
ee5507cae8
Remove ENABLE_PROJ4JS
2017-12-12 17:26:01 -07:00
Tim Schaub
87295a74dd
Use named exports from ol/index.js
2017-12-12 12:34:23 -07:00
Tim Schaub
7f47883c48
Transformed
2017-12-12 06:53:18 -07:00
Tim Schaub
1cdb6a66f0
Imports cased like the filename
2017-12-12 06:53:17 -07:00
Frederic Junod
c490fd4af8
Export ol.proj.Projection#getAxisOrientation function
2017-11-13 17:19:50 +01:00
Andreas Hocevar
4b4f383043
Transform tile-pixels coordinates only once
...
This allows us to simplify the vector tile renderer significantly, because
there are no more coordinates that need special tile-pixel handling.
2017-08-28 19:32:16 +02:00
Willie Nordmann
9ee1f6df98
Removing invalid urn
2017-07-28 08:14:27 -05:00
Willie Nordmann
648cd0ca61
Missed EPSG:900913
2017-07-26 13:08:39 -05:00
Willie Nordmann
b9b70ea3ec
Changing the EPSG3857.PROJECTION array assignment and adding urn:ogc:crs:EPSG::3857 while removing a duplicate
2017-07-26 12:52:37 -05:00
Tim Schaub
aced192bcd
Merge pull request #6899 from probins/radii
...
Use number literal for sphere radius
2017-07-11 07:08:30 -06:00
Peter Robins
49dcda7794
Use number literal for sphere radii
2017-06-22 09:15:59 +00:00
Marc Jansen
7d6929c710
Manual adjustment of indentation
2017-06-20 10:41:03 +02:00
Marc Jansen
d0ef05977b
Autofix indentation issues (eslint --fix)
2017-06-19 11:58:00 +02:00
Peter Robins
f97f370e5b
Improve docs for getPointResolution functions
2017-06-09 08:07:35 +00:00
Tim Schaub
9415899a03
Add common transforms by default
2017-03-27 10:07:00 -06:00
Tim Schaub
03700c0f01
Remove ol.proj dependency from EPSG3857 and EPSG4326
2017-03-27 09:47:03 -06:00
Guillaume Beraudo
630d9c5200
Fix proj4 type
...
Previous typing was confusing the compiler. It could not figure out the
difference between the proj4 property and the constructor, which lead to
errors such as:
- ol.proj.setProj4(proj4)
ERR! compile /home/gberaudo/dev/ngeo/src/proj/epsg21781.js:8: ERROR - actual parameter 1 of ol.proj.setProj4 does not match formal parameter
ERR! compile found : function (new:proj4): ?
ERR! compile required: (null|proj4)
ERR! compile ol.proj.setProj4(proj4);
ERR! compile ^^^^^
- ol.proj.proj4.get().defs('EPSG:21781', epsg21781def)
ERR! compile /home/gberaudo/dev/ngeo/src/proj/epsg21781.js:26: ERROR - Property defs never defined on proj4
ERR! compile ol.proj.proj4.get().defs('EPSG:21781', epsg21781def);
ERR! compile ^^^^
2017-03-22 09:47:29 +01:00
Tim Schaub
f5aea97d3b
All @api annotations imply stability
2017-02-06 09:22:05 -07:00
Frederic Junod
5763e1d145
Remove unused goog.require
2017-02-03 12:40:53 +01:00
Tim Schaub
137cdc04c8
Remove ol.DEBUG
2017-01-01 20:37:52 -07:00
Tim Schaub
ef04f466cd
Name modules more like their provide
2016-12-18 11:24:01 -07:00
Tim Schaub
6259caf634
Consistently return a function or undefined
2016-12-04 12:58:33 -08:00
Tim Schaub
6d22119425
One provide per proj module
2016-12-04 12:44:04 -08:00
Tim Schaub
08569d4eb3
Dedicated module for ol.proj.Projection
2016-12-04 12:41:04 -08:00
Tim Schaub
a33caa598c
Dedicated module for proj4 access
2016-12-04 10:37:33 -08:00
Tim Schaub
b54342dfb8
Dedicated module for projections cache
2016-12-04 10:24:43 -08:00
Tim Schaub
679fe298aa
Dedicated module for transforms cache
2016-12-04 10:09:32 -08:00
Tim Schaub
fd6116ab6b
Dedicated module for ol.proj.Units
2016-12-04 09:17:24 -08:00
Andreas Hocevar
fe758c2606
Simplify and make the compiler happy
2016-11-29 12:14:11 +01:00
Thomas Chandelle
c898cda2e6
Generate projection transform function only when requested
2016-11-28 09:50:41 +01:00
Tim Schaub
324e67fac1
Use https for epsg.io
2016-10-16 00:39:07 -06:00
Tim Schaub
8ac6c85f0f
Reuse half size
2016-10-05 08:23:41 -06:00
Tim Schaub
321c65b023
Keep transformed coordinates within valid y range
2016-10-05 07:26:41 -06:00
Tim Schaub
651c6959ab
Remove ol.global
2016-09-01 23:13:00 -06:00
Andreas Hocevar
d1e4b33760
Rename goog.DEBUG to ol.DEBUG
2016-08-31 21:10:01 +02:00
Tim Schaub
9d276982b5
Assorted missing requires
2016-08-12 10:53:50 -06:00
Tim Schaub
1b8310a6fe
Rename ol/objectutil.js to ol/obj.js
2016-08-07 10:49:12 -06:00
Tim Schaub
aab8a7c4eb
Move proj files so they are named like their provides
2016-08-07 10:49:10 -06:00
Andreas Hocevar
e0015b3d4e
Use goog.DEBUG instead of ol.DEBUG for now
2016-08-04 11:29:54 +02:00
Andreas Hocevar
6f5ed17fc5
Remove goog.asserts.*
...
This pull requests replaces type check hint assertions with type casts,
library sanity check assertions with conditional console.assert statements
in debug mode, and runtime sanity checks with assertions that throw an
ol.AssertionError with an error code for lookup outside the library.
2016-08-04 11:29:54 +02:00
Andreas Hocevar
4227f8034b
Do not return undefined from ol.proj.get
2016-08-02 13:39:07 +02:00
Peter Robins
2c29512c80
Remove sub-namespaces from all remaining typedefs
2016-06-09 10:01:52 +00:00
Frederic Junod
e289bfbb7d
Use ol.inherits instead of goog.inherits
2016-06-08 08:38:12 +02:00
Andreas Hocevar
2ec4969ac7
Remove api annotations from enums
2016-06-03 09:29:14 +02:00
Peter Robins
4f0b4dacbd
Move sub-namespace typedefs to typedefs.js
...
Here too there is one problem case.
2016-05-11 19:45:59 +00:00
Peter Robins
535e8f5e35
Move top-level typedefs to typedefs.js
...
With one exception, those directly in the `ol` namespace can be moved without problem.
Some left-over goog.requires are also removed.
2016-05-11 17:18:05 +00:00