Andreas Hocevar
d1e4b33760
Rename goog.DEBUG to ol.DEBUG
2016-08-31 21:10:01 +02:00
Peter Robins
8cabff9b7d
Remove tilerange assert from tilegrid/wmts
2016-08-13 17:38:35 +00:00
Tim Schaub
f25fd07a5e
Merge pull request #5702 from tschaub/no-missing-requires
...
Add rule to identify missing requires
2016-08-13 10:32:41 -06:00
Tim Schaub
9d276982b5
Assorted missing requires
2016-08-12 10:53:50 -06:00
Tim Schaub
274b7285f3
Assorted missing requires
2016-08-12 10:53:48 -06:00
Tim Schaub
d02cf1e7a9
Shuffle assertions
2016-08-12 10:53:47 -06:00
Peter Robins
de910916e6
Fix typo in tilegrid/wmts
2016-08-12 16:25:01 +01:00
Tim Schaub
568f0c81bb
Move wrapX to ol.tilegrid to break circular dependency
2016-08-08 13:48:54 -06:00
Tim Schaub
789aeb1c64
Toward a fix for ol.tilegrid
2016-08-08 10:22:28 -06:00
Tim Schaub
907a65ab83
Remove unused goog.require() calls in the source
2016-08-08 09:58:10 -06:00
Tim Schaub
1b8310a6fe
Rename ol/objectutil.js to ol/obj.js
2016-08-07 10:49:12 -06:00
Tim Schaub
97d403784d
Move tilegrid files so they are named like their provides
2016-08-07 10:49:11 -06:00
Andreas Hocevar
e18d41b5e0
Remove gratuitous debug assertions
2016-08-04 11:29:54 +02: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
bc506389fc
Use forEachTileCoord name instead of forEachTileCoordInExtentAndZ
2016-06-23 14:27:21 +02:00
Frederic Junod
4b7cdffaf4
Export getZForResolution from ol.tilegrid.TileGrid
2016-06-22 20:48:49 +02:00
Andreas Hocevar
14cecb7163
Add function to iterate over tile coordinates in extent and z
2016-06-22 18:05:18 +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
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
Andreas Hocevar
f7147960a9
Add render options for vector tile layers
2016-04-19 13:04:38 +02:00
Frederic Junod
ccfc3f7798
Create tmpSize_ before calling calculateTileRanges_
2016-04-13 12:19:00 +02:00
Tim Schaub
3c0ef430db
Use ol.object.assign() instead of goog.object.extend()
2016-02-04 06:54:43 -07:00
Nicholas L
ab793a58b6
Remove goog.array.isSorted
2016-02-03 11:41:39 +13:00
Tim Schaub
13a981c94b
Fewer blank lines
2016-01-11 22:03:23 -08:00
Tim Schaub
3cf8618fc7
Prefer single line assignment to 80 character limit
2016-01-11 18:56:08 -08:00
Frederic Junod
a4fb2501d8
Remove use of goog.array.sort
...
Fixes #4160
2015-11-19 16:53:11 +01:00
Alexandre Dubé
571760fb32
Flag ol.tilegrid.TileGrid getTileCoordExtent as @api
2015-10-16 11:42:01 -04:00
Marc Jansen
7d110c829f
Remove goog.isNull in tilegrid class
2015-10-01 09:18:53 +02:00
Tim Schaub
ac7db89a91
Replace goog.isDefAndNotNull() with truthy checks
2015-09-29 09:32:51 -06: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
Tim Schaub
f746cb7f57
Use ol.math.clamp()
2015-09-27 12:26:21 -06:00
Tim Schaub
83c59ee255
Inline goog.isDef() calls for properties
2015-09-27 10:40:20 -06:00
Tim Schaub
e3951fa3c6
Inline simple goog.isDef() calls
2015-09-27 10:34:44 -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
Andreas Hocevar
e6f5c2a008
Cleanup and example updates
2015-06-19 18:34:19 +02:00
Andreas Hocevar
31cfa0d952
Make tile range calculation work with arbitrary origins
2015-06-19 18:34:19 +02:00
Andreas Hocevar
a753d282cc
Use top-left corner of extent for all generated tile grids
2015-06-19 18:34:18 +02:00
Andreas Hocevar
e3a8dc89de
Fix calculation of tile coord from coordinate
...
Tile coord calculation was wrong in the case of reverseIntersectionPolicy
for y coords, and for extents with +/- Infinity.
2015-06-19 18:34:18 +02:00
Andreas Hocevar
af319c259b
Do not transform tile coordinates for tileUrlFunction
2015-06-19 18:34:09 +02:00
Andreas Hocevar
4b3aac32c3
Return transformed tile coordinates from ol.TileGrid's API methods
2015-06-12 09:47:32 +02:00
Andreas Hocevar
6a4d1c9b89
Pass transformed tile coordinates to the tileUrlFunction
2015-06-12 09:45:03 +02:00
Guillaume Beraudo
361d83dc73
Mark tilegrid.createTileCoordTransform() @api
...
Necessary since the removal of tilegridXYZ type.
2015-06-04 09:24:35 +02:00
Andreas Hocevar
5d9708be11
Add tests
2015-06-03 12:41:35 +02:00
Andreas Hocevar
5ae2521724
Make tileCoordTransform configurable
...
Instead of using the static createOriginTopLeftTileCoordTransform
function, the correct transform is now a non-API config option of the tile
grid.
2015-05-31 22:22:41 +02:00
Andreas Hocevar
f40aa54c18
Use the correct TileCoord transform function
2015-05-22 09:19:59 +02:00
Andreas Hocevar
b05193fa45
Replace ol.tilegrid.XYZ with an ol.tilegrid.createXYZ function
2015-05-05 18:52:33 +02:00