Andreas Hocevar
7d6e6fda28
Use a unique key for all tile classes
2020-10-13 22:35:12 +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
Andreas Hocevar
bbc1de280d
getFeaturesInExtent() for VectorTile source
2019-12-10 14:07:37 +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
47dd60104d
Set EMPTY state of VectorRenderTile early
2019-09-27 19:04:21 +02:00
ahocevar
92931c336c
Use source tile resolution for pixel buffer
2019-08-20 18:27:13 +02:00
ahocevar
5da32dbc5b
More tests
2019-08-19 11:39:39 +02:00
ahocevar
25c8d93eba
Fix test
2019-08-18 11:44:20 +02:00
Tim Schaub
eb294c78d1
Failing test
2019-08-18 08:58:59 +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
c4937bc716
Fix EMPTY state and source key handling
2019-06-28 23:25:36 +02:00
ahocevar
a25ca03040
Do not use tile.load() for getting source tiles
2019-03-20 22:45:17 +01:00
Frederic Junod
72788187c8
Remove tilePixelRatio options from ol.source.VectorTile
...
Was removed in #7070
2019-03-18 14:35:58 +01:00
ahocevar
ac0d67b273
Use closest lower source resolution for render tiles
2019-03-12 16:51:20 +01:00
ahocevar
0f3c0d1af4
Rename VectorImageTile to VectorRenderTile
2019-01-09 13:45:01 +01:00
ahocevar
32696638d2
Simplify vector tile code
2019-01-09 13:45:01 +01:00
Tim Schaub
e9a30c5cb7
Use standard tile coords
2018-11-21 11:14:17 -07:00
Tim Schaub
9ed3881f34
Named exports from ol/tilegrid
2018-02-09 09:30:16 -07: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
5337dc31d9
Rename _ol_layer_VectorTile_ to VectorTileLayer
2018-01-11 12:06:58 -07:00
Tim Schaub
ecd1343d75
Rename _ol_source_VectorTile_ to VectorTileSource
2018-01-10 09:36:29 -07:00
Tim Schaub
1c1f008238
Rename _ol_View_ to View
2018-01-10 09:35:42 -07:00
Frederic Junod
297c9e45ab
Rename _ol_tilegrid_TileGrid_ to TileGrid
2017-12-22 10:56:20 +01:00
Frederic Junod
b358a7daf5
Rename _ol_VectorTile_ to VectorTile
2017-12-22 09:06:58 +01:00
Frederic Junod
c46aec3196
Rename _ol_VectorImageTile_ to VectorImageTile
2017-12-22 09:03:41 +01:00
Ron Young
9fa59d0735
rename map in tests
2017-12-21 23:11:42 -07:00
Tim Schaub
cdf7b3276b
Rename _ol_format_MVT_ to MVT
2017-12-17 02:00:48 -07:00
Tim Schaub
6f72ffe498
Named exports from ol/proj
2017-12-14 13:08:40 +01:00
Tim Schaub
7f47883c48
Transformed
2017-12-12 06:53:18 -07:00
Andreas Hocevar
4365e19727
Remove unneeded configs from test
2017-12-11 21:13:31 +01:00
Tim Schaub
7822864ab3
Proper projection construction
2017-12-11 10:51:24 -07:00
Andreas Hocevar
ffb7d72c90
Do not use tileUrlFunction for renderer tile coordinates
2017-10-11 19:44:08 +02:00
Tim Schaub
a3e3e99baa
Get rid of useless test exports
2017-08-17 15:16:58 -04:00
Tim Schaub
46bcce464f
Add missing requires to tests
2017-08-16 13:43:28 -04:00
Tim Schaub
13a761b7e7
Sensible default tilegrid for vector tiles
2017-08-12 15:16:55 -06:00
Andreas Hocevar
8c00bbc91d
Report ol.VectorTile instead of ol.VectorImageTile loads
2017-05-17 00:18:46 +02:00
Andreas Hocevar
355ce9f679
Use same tile size in rendered and source tile grid
2017-05-09 14:04:04 +02:00
Andreas Hocevar
785e7135a7
Decouple source and rendered tile grid of vector tile sources
2017-05-09 14:04:04 +02:00
Tim Schaub
789aeb1c64
Toward a fix for ol.tilegrid
2016-08-08 10:22:28 -06:00
Tim Schaub
ed5dbd1293
Put test requires on top
2016-08-08 09:58:11 -06:00
Tim Schaub
e07596846d
Move source files so they are named like their provides
2016-08-07 10:49:11 -06:00