mike-000
8dcb78bcd9
Base render tile grid on the source grid
...
Use source zDirection for both grids
2022-07-16 10:06:42 +01:00
Maximilian Krög
7b9fc4c995
Do not refresh use time for tiles when collecting used source tiles
2022-06-28 17:20:42 +02:00
Maximilian Krög
b29ab8f104
Link to class instead of module pages
2022-02-14 21:53:07 +01:00
Maximilian Krög
a0dd0054a9
Fix jsdoc references
2022-02-13 13:39:06 +01:00
EvertEt
e3d3d24f05
Improve some null types to prepare for strictNullChecks
2022-01-31 19:35:25 +01:00
Maximilian Kroeg
430f354406
Draw VectorTiles with interpolate in hybrid mode again
2022-01-11 12:49:07 +01:00
mike-000
07ea4ac1c8
Update description for zDirection
2021-07-09 11:32:26 +01:00
Andreas Hocevar
79f5f46d27
Remove lint
2021-06-28 18:10:51 +02:00
Andreas Hocevar
cd719ffb34
Avoid infinite source tile cache size
2021-06-15 20:30:43 +02:00
Andreas Hocevar
ad4ff9f695
Keep track of loading source tiles when reused
2021-06-15 18:52:36 +02:00
Andreas Hocevar
3c4514aabf
Do not expire tiles from source tile caches that are still used by render tiles
2021-06-15 17:26:24 +02:00
Andreas Hocevar
5ab7cbf905
Simpler and faster VectorTile loading
2021-05-30 21:22:03 +02:00
Simon Seyock
2ad5789797
Add descriptions for properties.
2021-02-04 18:19:33 +01:00
Simon Seyock
393e83cd29
Extending FeatureLoader type and refactoring loadFeaturesXhr
2020-10-06 10:29:07 +02:00
Andreas Hocevar
0167c2760e
Grow cache size dynamically
2020-07-11 18:04:07 +02:00
Tim Schaub
054af09032
Make code prettier
...
This updates ESLint and our shared eslint-config-openlayers to use Prettier. Most formatting changes were automatically applied with this:
npm run lint -- --fix
A few manual changes were required:
* In `examples/offscreen-canvas.js`, the `//eslint-disable-line` comment needed to be moved to the appropriate line to disable the error about the `'worker-loader!./offscreen-canvas.worker.js'` import.
* In `examples/webpack/exapmle-builder.js`, spaces could not be added after a couple `function`s for some reason. While editing this, I reworked `ExampleBuilder` to be a class.
* In `src/ol/format/WMSGetFeatureInfo.js`, the `// @ts-ignore` comment needed to be moved down one line so it applied to the `parsersNS` argument.
2020-04-06 12:54:09 -06:00
Frederic Junod
615ae71a8f
Remove all inheritDoc tags from src/ol/source
2020-04-03 07:56:58 +02:00
Andreas Hocevar
a072e3acea
Ignore user provided tile cache size when too small
2020-02-27 13:41:21 +01:00
mike-000
1416e30127
Add maxResolution option to createXYZ()
...
include maxResolution in options test
2020-02-17 18:20:50 +00:00
Andreas Hocevar
46d98201c3
Store source tiles on render tile instead of source
2020-01-08 10:53:42 +01:00
Andreas Hocevar
2875685b3c
Use TileCache instead of custom structure
2020-01-05 12:25:44 +01:00
Andreas Hocevar
bec747e513
Remove unused argument and member
2020-01-05 12:08:43 +01:00
Andreas Hocevar
6affeb0beb
Do not dispose VectorRenderTiles
2020-01-05 11:52:45 +01:00
Andreas Hocevar
c1857efd81
Use render feature compatible extent check
2019-12-11 22:21:15 +01:00
Andreas Hocevar
bbc1de280d
getFeaturesInExtent() for VectorTile source
2019-12-10 14:07:37 +01:00
Andreas Hocevar
f460198850
Simpler tileLoadFunction for vector tiles
2019-12-10 13:50:35 +01:00
Andreas Hocevar
174dea3232
Fix interim tile handing for vector tiles
2019-12-07 15:18:18 +01:00
Andreas Hocevar
ac50cc3460
New eslint config with no-multi-assign
2019-11-02 15:20:21 +01:00
Andreas Hocevar
61fc71c30f
Properly unregister source tile change listeners
2019-10-15 21:23:37 +02:00
Andreas Hocevar
0cb9d73848
No ERROR state for render tiles
2019-10-11 14:58:22 +02:00
mike-000
2a2cc40d42
Correct the defaulting of maxZoom
...
Only default if undefined as maxZoom: 0 should be valid as it is for all other tile sources
2019-10-10 14:08:10 +01:00
Andreas Hocevar
7f8fdd6219
Ensure proper tile load sequence
2019-09-28 15:24:37 +02:00
Andreas Hocevar
47dd60104d
Set EMPTY state of VectorRenderTile early
2019-09-27 19:04:21 +02:00
Andreas Hocevar
76af2b6466
Revert "Handle empty source tiles and queue them properly"
...
This reverts commit 818bdc411c .
2019-09-27 16:09:27 +02:00
Andreas Hocevar
818bdc411c
Handle empty source tiles and queue them properly
2019-09-24 15:18:59 +02:00
ahocevar
ebfb20440a
Simplify events and store listeners only in one place
2019-09-04 16:48:43 +02:00
ahocevar
92931c336c
Use source tile resolution for pixel buffer
2019-08-20 18:27:13 +02:00
ahocevar
6be2818f14
Handle empty url tile coord (no wrapx)
2019-08-19 11:01:03 +02:00
Andreas Hocevar
b602a6b33a
Merge pull request #9871 from ahocevar/tile-load-key-change
...
Properly handle tile source key change
2019-08-19 08:08:31 +02:00
ahocevar
6a741d0504
Check extent for wrapped tile coordinate
2019-08-18 16:21:46 +02:00
ahocevar
a5fbbef970
Always go through source tile change logic
2019-08-18 11:44:20 +02:00
Tim Schaub
abda7f4f1d
Separate lookups for source tiles by tile coord and tile key
2019-08-13 16:40:01 -06:00
ahocevar
28e64f646f
Set initial tile state to EMPTY when outside source extent
2019-08-11 00:13:18 +02:00
ahocevar
e07ff9c04e
Make zDirection configurable on tile source
2019-07-30 16:50:01 +02:00
ahocevar
612dd6fe28
Return existing source tiles if at target resolution
2019-07-16 22:09:24 +02:00
ahocevar
c4937bc716
Fix EMPTY state and source key handling
2019-06-28 23:25:36 +02:00
ahocevar
756f63e212
Add attributionsCollapsible option to source/VectorTile
2019-04-17 09:06:37 -07:00
Andreas Hocevar
7ebae2ba80
Fix typo in vector tile source docs
2019-03-26 14:54:44 +01:00
ahocevar
ac0d67b273
Use closest lower source resolution for render tiles
2019-03-12 16:51:20 +01:00
ahocevar
b2722542fe
Simplify vector tile projection handling
2019-03-10 09:37:58 +01:00