Frederic Junod
a84db3add6
Remove jshint -W069 tags in source code
...
The check in already disabled in .jshintrc
2015-10-21 16:15:54 +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
0f09607725
Slightly decrease build size when reprojection code is disabled
2015-10-16 09:28:43 +02:00
Petr Sloup
94caa07168
Minor code style, documentation and typo fixes
2015-10-16 09:28:43 +02:00
Petr Sloup
5388f96551
Reproject image sources only if actually needed
2015-10-16 09:28:42 +02:00
Petr Sloup
59bce75d2a
Improved documentation
2015-10-16 09:28:42 +02:00
Petr Sloup
3cc8291df4
Support pixelRatio during reprojection
2015-10-16 09:28:41 +02:00
Petr Sloup
c2b21985f4
Add ol.source.TileImage#setTileGridForProjection method
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
8b38928aad
Make rendering of reprojection edges configurable
2015-10-16 09:28:41 +02:00
Petr Sloup
0f408e341f
Rename ol.source.Image#getImage implementations to #getImageInternal
...
This allows for the reprojection to be initialized in the #getImage,
while #getImageInternal is used to obtain the actual data.
2015-10-16 09:28:41 +02:00
Petr Sloup
be0a0de759
Integrate image reprojection with ol.source.Image
2015-10-16 09:28:41 +02:00
Petr Sloup
15575288e0
Add ol.ENABLE_RASTER_REPROJECTION define
2015-10-16 09:28:41 +02:00
Petr Sloup
f2f77091ad
Handle tile sources without projection
...
Such sources should never be reprojected (and no additional tilecache or
tilegrid should be created).
2015-10-16 09:28:41 +02:00
Petr Sloup
b0694c1e3b
Add projection parameter to ol.source.Tile#expireCache and #useTile
...
This is required to be able to determine which cache the xyz coordinates
refer to (in case we have more caches).
2015-10-16 09:28:41 +02:00
Petr Sloup
e0cfa1951a
Add projection parameter to ol.source.Tile#forEachLoadedTile
2015-10-16 09:28:41 +02:00
Petr Sloup
3f567b0bf0
Use per-projection tilecaches and tilegrids (persistent instances)
2015-10-16 09:28:40 +02:00
Petr Sloup
e14bede9e9
Make projection parameter of ol.source.Tile#getTile no longer optional
2015-10-16 09:28:40 +02:00
Petr Sloup
b221e1ac1f
Basic integration of raster reprojection for tiled sources
...
To allow for easier testing and debugging
2015-10-16 09:28:40 +02:00
Julien Enselme
475504cd85
Add parser for dimension property from WMTS Capabilities.xml
...
- Correct parsing of dimension in ol.source.WMTS.optionsFromCapabilities
2015-10-09 18:43:26 +02:00
Guillaume Beraudo
b092bce4ff
Remove goog.string.startsWith
...
Replace with simple indexOf test
2015-10-01 14:00:42 +02:00
Marc Jansen
e1f477ad8c
Remove goog.isNull in source classes
2015-10-01 09:18:52 +02:00
Andreas Hocevar
8813180d41
Merge pull request #4187 from ahocevar/dashy-tileurl
...
Fix {-y} template calculation for custom (TMS) tile grids
2015-10-01 08:11:05 +02:00
Tim Schaub
6bdacced92
Merge pull request #4176 from tschaub/remove-isdefandnotnull
...
Remove use of goog.isDefAndNotNull().
2015-10-01 00:05:57 -06:00
Andreas Hocevar
8248ec63ba
Fix {-y} template calculation for custom (TMS) tile grids
...
Previously, {-y} only worked for the standard web mercator tile grid. Now
a tile grid with an extent is required (which we get from
ol.tilegrid.createXYZ() anyway), and then the y calculation for TMS style
tile grids works as expected.
2015-09-30 09:07:55 +02:00
Marc Jansen
901eee1887
Merge pull request #4190 from marcjansen/no-goog-functions-constant
...
Remove use of goog.functions.constant
2015-09-29 22:11:50 +02:00
Marc Jansen
cd5b15fa55
Remove use of goog.functions.constant
2015-09-29 20:28:06 +02:00
Tim Schaub
ab87eb8af0
Remove remaining goog.isDefAndNotNull() calls
2015-09-29 09:51:41 -06:00
Tim Schaub
1aca93d297
Remove goog.isDefAndNotNull() from vector sources
2015-09-29 09:48:19 -06:00
Tim Schaub
871575607f
Remove goog.isDefAndNotNull() from tileutfgridsource.js
2015-09-29 09:44:03 -06:00
Tim Schaub
b48cabee28
Remove unnecessary goog.isDefAndNotNull() calls
2015-09-29 09:32:51 -06:00
Tim Schaub
ed3dcd636f
Replace !goog.isDefAndNotNull() with falsey checks
2015-09-29 09:32:51 -06:00
Tim Schaub
ac7db89a91
Replace goog.isDefAndNotNull() with truthy checks
2015-09-29 09:32:51 -06:00
Marc Jansen
bc58c383ba
Replace goog.nullFunction with ol.nullFunction
2015-09-29 16:39:35 +02:00
Frederic Junod
496cece074
Remove use of goog.array.forEach
2015-09-29 10:55:17 +02:00
Frederic Junod
f49e82ade1
Remove use of goog.array.filter
2015-09-29 10:54:55 +02:00
Frederic Junod
9e2a393426
Remove use of goog.array.map
2015-09-29 10:54:55 +02:00
Frederic Junod
88c3891bef
Replace goog.array.contains with ol.array.includes
2015-09-29 10:42:07 +02:00
Tim Schaub
29a1ea9ae3
Remove remaining goog.isDef() calls
2015-09-27 11:13:58 -06:00
Tim Schaub
27d1e808b8
Replace goog.isDef(foo[bar]) with bar in foo
2015-09-27 10:58:39 -06:00
Tim Schaub
83c59ee255
Inline goog.isDef() calls for properties
2015-09-27 10:40:20 -06:00
Tim Schaub
36e336f406
Inline !goog.isDef() calls for properties
2015-09-27 10:37:20 -06:00
Tim Schaub
e3951fa3c6
Inline simple goog.isDef() calls
2015-09-27 10:34:44 -06:00
Tim Schaub
a86c270f6a
Inline simple !goog.isDef() calls
2015-09-27 10:31:16 -06:00
Tim Schaub
3a0683f373
Inline !goog.isDef() property checks
2015-09-27 10:24:38 -06:00
Tim Schaub
b36d697585
Inline goog.isDef() property checks
2015-09-27 10:21:50 -06:00
Tim Schaub
7659e47e07
Inline simple goog.isDef() checks
2015-09-27 10:18:44 -06:00
Tim Schaub
cf5eadebaa
Define options
2015-09-27 10:11:30 -06:00
Frederic Junod
0d23ab44b3
Remove use of goog.array.isEmpty
2015-09-22 11:25:04 +02:00
Tim Schaub
085c2d7e33
Merge pull request #4094 from tschaub/set-attributions
...
Allow source.setAttributions() to be exported.
2015-09-09 09:12:08 -06:00