Peter Robins
3eea9d4558
Replace goog.isNumber
2016-07-01 09:35:54 +00: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
Peter Robins
2117f2e3b1
Convert all typedefs to CamelCase
2016-05-18 19:44:45 +00:00
Peter Robins
176ddd3403
Rename non-api sub-namespace typedefs
2016-05-13 10:24:57 +00: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
f57065c412
Remove unneeded goog.provides/requires for typedefs
...
In general, typedefs do not need and should not have goog.require/provide
2016-05-09 13:21:25 +00:00
Nicholas Latham
cd6494149b
Remove goog.global ( #5178 )
...
* Remove goog.global
* Correct externs location
* Use Function('return this')
* Remove global externs
2016-04-07 23:36:48 +02:00
Frederic Junod
84288cd8bb
Remove use of goog.math.isFiniteNumber()
...
This replaces `goog.math.isFiniteNumber()` with `isFinite()`.
2016-02-23 10:03:44 +01:00
Petr Sloup
59574da74c
Fix reprojection of raster sources with gutter
2016-02-19 12:17:03 +01:00
Tim Schaub
8aecb3270c
Replace goog.object.isEmpty() with ol.object.isEmpty()
2016-02-04 06:54:44 -07:00
Tim Schaub
80df1f5ae8
Move opt_useCapture arg to the end of the list
2016-02-03 11:19:38 +01:00
Andreas Hocevar
3f2d79b7fe
Replace goog.events.Event/EventTarget system with our own
...
This also removes goog.events.listen, goog.events.unlisten,
goog.events.unlistenByKey and goog.events.BrowserEvent.
2016-02-03 11:19:38 +01:00
Petr Sloup
a05c932973
Improve raster reprojection behavior when tiles fail to load
2016-01-27 14:56:18 +01:00
Nicholas L
db3ad70a3d
Remove use of goog.bind and use ES5 .bind
2016-01-15 22:10:55 +13:00
Tim Schaub
13a981c94b
Fewer blank lines
2016-01-11 22:03:23 -08:00
Petr Sloup
9cdf7678bb
Make ol.reproj.Tile#load always async for consistency
2015-12-28 09:30:12 +01:00
Petr Sloup
9f5d85f2c6
Handle tile coordinate wrapping when reprojecting raster tiles
2015-12-11 16:35:23 +01:00
Andreas Hocevar
c5f4710b8d
Revert "Merge pull request #4344 from bartvde/issue-2844"
...
This reverts commit e5c44b37c9 , reversing
changes made to 7f4c6e3634 .
2015-11-12 19:17:07 +01:00
Bart van den Eijnden
979342091a
Support different resolutions in x and y direction for ol.source.ImageStatic
2015-10-30 19:27:31 +01:00
Petr Sloup
e49f529fe6
Add typedefs for functions returning tiles/images
2015-10-16 16:30:16 +02:00
Petr Sloup
a7cde96056
Simplified wrapX handling
...
"Unwrap" the coordinates obtained from transformations and utilize wrapX
capabilities of the sources to handle calculations of TileRanges and
unwrapped tile extents.
2015-10-16 09:28:43 +02:00
Petr Sloup
52a7c5e582
Rename some private/local variables to increase readability
2015-10-16 09:28:43 +02:00
Petr Sloup
f52f9b6817
Rename ol.RASTER_REPROJ_* constants to full ol.RASTER_REPROJECTION_*
2015-10-16 09:28:43 +02:00
Petr Sloup
9f8ab48f1f
Minor improvements based on pull request comments
2015-10-16 09:28:43 +02:00
Petr Sloup
8fb1d1f244
Remove usage of various goog.* functions
...
goog.isNull, goog.isDefAndNotNull and goog.array.*
2015-10-16 09:28:43 +02:00
Petr Sloup
f3d5d16a82
Remove use of goog.isDef
2015-10-16 09:28:43 +02:00
Petr Sloup
59bce75d2a
Improved documentation
2015-10-16 09:28:42 +02:00
Petr Sloup
7a1533925a
Reprojection code refactoring and cleaning
2015-10-16 09:28:42 +02:00
Petr Sloup
14e20e23a0
Correctly reproject projections with undefined units
2015-10-16 09:28:42 +02:00
Petr Sloup
3b1d72202a
Correctly reproject sources in wrappable projection
...
With extent smaller than the projection extent
2015-10-16 09:28:41 +02:00
Petr Sloup
3cc8291df4
Support pixelRatio during reprojection
2015-10-16 09:28:41 +02:00
Petr Sloup
168b675191
Add reprojectionErrorThreshold option to the tiled image sources
2015-10-16 09:28:41 +02:00
Petr Sloup
ebc1bc0096
Better handling of tilegrids without extent during reprojection
...
For WMTS source, the tilegrid has no extent, but the projection can
2015-10-16 09:28:41 +02:00
Petr Sloup
be6bf00d74
Add defines for certain reprojection constants
2015-10-16 09:28:41 +02:00
Petr Sloup
f481070f82
Handle tilegrids without extent during tile reprojection
2015-10-16 09:28:41 +02:00
Petr Sloup
8b38928aad
Make rendering of reprojection edges configurable
2015-10-16 09:28:41 +02:00
Petr Sloup
6482ccf2f7
Make ol.reproj.Triangulation a class
2015-10-16 09:28:41 +02:00
Petr Sloup
9b82f19cc2
Simplify triangle-shifting logic for reprojection
2015-10-16 09:28:41 +02:00
Petr Sloup
6e08fc9e13
Rename triangles to triangulation to be more precise
2015-10-16 09:28:40 +02:00
Petr Sloup
ac76989447
Detect and handle triangles (tiles) crossing the dateline (projection edge)
2015-10-16 09:28:40 +02:00
Petr Sloup
ebc3f24671
Clamp the triangulation vertices if partially outside source extent
2015-10-16 09:28:40 +02:00
Petr Sloup
fcffce46b4
More robust way of handling non-global projections
...
If the target projection has specified extent, it is respected.
Also adds various checks to optimize performance and/or
prevent potential errors.
2015-10-16 09:28:40 +02:00
Petr Sloup
1222287f22
Add ol.reproj
2015-10-16 09:28:40 +02:00