ahocevar
e07ff9c04e
Make zDirection configurable on tile source
2019-07-30 16:50:01 +02:00
Frederic Junod
bfe6d29601
Fix spelling
2019-05-14 09:17:34 +02:00
Vincent Lecrubier
ea55f39298
Support tilePixelRatio in Zoomify to support retina
2019-05-08 22:52:14 +02:00
ahocevar
681c3169c1
Add zDirection memeber to the baes class, for type checking
2019-03-21 18:50:03 +01:00
Lutz Helm
085c60af49
Remove tile source zDirection getter
...
The renderer now accesses the zDirection member directly if it exists.
This also has the advantage of not advertising any object methods that
hav no use for most tile sources.
2019-03-21 14:47:09 +01:00
Lutz Helm
f5abb45de0
Add a zDirection option for Zoomify
...
Via zDirection, the renderer's selection of a tile source's resolution can be
controlled if the view's resolution does not match any tile source resolution.
Currently the zDirection option is only available for Zoomify. The comment
https://github.com/openlayers/openlayers/issues/9343#issuecomment-474341033
describes why caution is advised when using zDirection for other sources.
ol/source/Tile~TileSource#getZDirection has been added to avoid having the
getZDirection method solely in the Zoomify source - just to document the
possibility.
2019-03-21 10:06:22 +01:00
ahocevar
0f217392d7
Adjust tile cache size when too small
2019-03-12 00:19:13 +01:00
Andreas Hocevar
959dba169d
Merge pull request #9110 from crubier/master
...
Add TilePixelRatio to Zoomify
2019-02-21 00:29:42 +01:00
Vincent Lecrubier
900adaaffb
Update Zoomify.js
2019-02-20 22:40:24 +00:00
Vincent Lecrubier
44942dffb5
Update Zoomify.js
2019-02-18 10:04:02 +00:00
Frederic Junod
1ba85a11e9
Change 'cacheSize' description in typedef
2019-01-25 16:50:17 +01:00
ahocevar
b6d115d868
Make tile cache smaller and screen size dependant
2019-01-21 22:35:48 +01:00
Vincent Lecrubier
4d54ad0daf
Update Zoomify.js
2019-01-12 13:44:17 +01:00
Vincent Lecrubier
37b1cca027
Add TilePixelRatio to Zoomify
2019-01-12 13:23:18 +01:00
Tim Schaub
e9a30c5cb7
Use standard tile coords
2018-11-21 11:14:17 -07:00
Frederic Junod
0189e8345d
Remove WebGL references in comments
2018-11-16 14:05:06 +01:00
Frederic Junod
c12b41f8c6
Simplify import path in ol/source/
2018-11-05 16:26:45 +01:00
Frederic Junod
d8ee6acefa
Remove extra imports in jsdoc
2018-09-27 10:00:02 +02:00
William Wall
45f2324a4e
Get width as number from number|Size
...
This satisfies tsc in addition to being a bit more defensive from
custom tile grids, even if using them is very uncommon for this
source.
2018-09-19 10:02:33 -06:00
Tim Schaub
ccfacc5ee6
Transformed types
...
Using the [ts.js codemod](https://gist.github.com/tschaub/1ea498c9d1e5268cf36d212b3949be4e ):
jscodeshift --transform ts.js src
2018-09-05 08:05:29 -06:00
ahocevar
1eeea2aa4d
Use class method syntax instead of .prototype.method = function
2018-08-06 15:30:17 +02:00
ahocevar
bbe0a66d07
Set api annotation on classdesc, not constructor
2018-07-21 17:25:22 +02:00
Tim Schaub
d46471d763
Replace {@link https://www.example.com/ } with https://www.example.com/
2018-07-19 08:34:35 -06:00
Frederic Junod
323eb3f251
Fix reprojectionErrorThreshold property type
2018-07-19 16:02:58 +02:00
Tim Schaub
9ce36da349
Remove @extends and @constructor annotations
2018-07-18 00:36:29 -06:00
Tim Schaub
b7b15eb7f0
Remove unused inherits
2018-07-18 00:13:43 -06:00
Tim Schaub
1a5cf52b61
Remove remaining use of inherits in src
2018-07-17 23:43:10 -06:00
Tim Schaub
f78d0d4cfa
Manual class transform
2018-07-16 17:09:50 -06:00
ahocevar
28409486a5
Make classes in ol/ available as named exports from ol
2018-06-21 18:08:17 +02:00
ahocevar
440d1ad3e1
Shorter module paths for default exports
2018-04-25 17:25:39 +02:00
ahocevar
417dd85f83
Fix some jsdoc path types
2018-04-21 10:17:53 +02:00
Michael Kuenzli
71bb2ce019
Move ol.AttributionLike to ol/source/Source
2018-04-19 16:49:13 +02:00
Frederic Junod
8074848636
Module type for ol.Size
2018-04-19 15:43:37 +02:00
Frederic Junod
32713ff824
Module type for ol.Extent
2018-04-19 15:41:27 +02:00
Frederic Junod
bf40002af0
Module type for ol.source.TileImage
2018-04-19 15:39:25 +02:00
Florent gravin
0f1cef96fb
Replace ol.ProjectionLike by module:ol/proj~ProjectionLike in ol/source
2018-04-04 10:52:50 +02:00
Florent gravin
a85faeef0f
Remove olx.source.ZoomifyOptions
2018-04-04 10:52:50 +02:00
Frederic Junod
a3ccfbdd44
Module type for ol.ImageTile
2018-03-19 16:03:59 +01:00
Frederic Junod
c4b38ed5dc
Module type for ol.TileState
2018-03-19 09:34:19 +01:00
Andreas Hocevar
156dfa146a
Merge pull request #7991 from ahocevar/fix-type-paths
...
Fix some type paths
2018-03-17 16:44:13 +01:00
ahocevar
e383913b3c
Fix some type paths
2018-03-17 13:34:57 +01:00
Frederic Junod
76fb0edf0d
Use path type instead of ol.tilegrid.TileGrid
2018-03-15 14:20:49 +01:00
Tim Schaub
a743ec3989
Module types for ol/proj
2018-03-12 08:32:09 -06:00
Andreas Hocevar
95d6251dbb
Get rid of olx.js and typedef.js typedefs for ol
2018-03-08 18:57:24 +01:00
Tim Schaub
f95fe4caab
Remove private static members from Zoomify source
2018-02-12 07:12:02 -07:00
Tim Schaub
11a4e1afa6
Named exports from ol/size
2018-02-07 11:47:51 -07:00
Frederic Junod
4c5ca75ca6
Better variables scoping
2018-01-17 10:54:18 +01:00
Tim Schaub
ad62739a6e
Use blocked scoped variables
...
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
2018-01-12 00:50:30 -07:00
Tim Schaub
3e127a6169
Rename _ol_source_Zoomify_ to Zoomify
2018-01-10 09:36:29 -07:00
Tim Schaub
a66128caa9
Rename _ol_source_TileImage_ to TileImage
2018-01-10 09:36:28 -07:00