Andreas Hocevar
bff25f9ba4
Bind tileUrlFunction before returning it from getTileUrlFunction
2020-09-10 10:10:52 +02:00
mike-000
95702648b2
simplify scale calculation
...
update tests to reflect more accurate calculation
2020-08-03 23:03:56 +01:00
Andreas Hocevar
18d96a2205
Auto-grow tile cache from zero
2020-07-11 20:32:54 +02:00
Tim Schaub
b16c2e0062
Include pixelworks and terminate workers before creating new ones
2020-05-16 22:19:40 -06:00
Niels Meijer
63d03f4fcc
Split test WMTS capabilities
2020-05-03 10:54:01 +02:00
Niels Meijer
9cab1215c0
Use TileMatrixSetLimit for extent calculation when available.
2020-04-29 16:35:36 +02:00
Andreas Hocevar
96802ba645
Remove lint
2020-04-29 09:23:10 +02:00
Niels Meijer
d395b54605
Apply projection.getMetersPerUnit() to calculated resolution
2020-04-28 21:43:59 +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
d15ec1c12c
Remove all inheritDoc tags from disposeInternal functions
2020-04-03 08:10:41 +02:00
Mateusz Łoskot
98e8bec370
Calculate tile grid extent from extent of bottom-level tile matrix
...
Prefers extent derived from the tile matrix set in the capabilities
over default projection extent.
2020-03-26 19:17:32 +01:00
Andreas Hocevar
f448d7179a
Merge pull request #10785 from ahocevar/zoomify-retina
...
Detect Zoomify server-side retina tiles
2020-03-11 11:05:57 +01:00
Andreas Hocevar
ad476f6086
Detect Zoomify server-side retina tiles
2020-03-09 15:22:43 +01:00
Andreas Hocevar
0fd336daa5
Merge pull request #10743 from ahocevar/ignore-cache-size-when-too-small
...
Ignore user provided tile cache size when too small
2020-02-27 14:52:33 +01:00
Andreas Hocevar
a072e3acea
Ignore user provided tile cache size when too small
2020-02-27 13:41:21 +01:00
Maximilian Kroeg
b25fc6741e
Add tests for ol/source/Cluster~Cluster#setSource
2020-02-25 11:15:56 +01:00
Andreas Hocevar
b91e1a893d
Do not abort and dispose of tiles
2020-01-05 00:05:24 +01: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
Tim Schaub
3b02f5597e
Remove called assert extension
2019-09-28 18:55:38 +02:00
Andreas Hocevar
47dd60104d
Set EMPTY state of VectorRenderTile early
2019-09-27 19:04:21 +02:00
simonseyock
89e8d6d693
getGetLegendRequestUrl accepts a LAYER parameter now
2019-09-19 14:21:07 +02:00
Simon Seyock
b2885e86fb
Renaming of getGetFeatureInfoUrl and getGetLegendGraphicUrl
2019-09-18 10:48:18 +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
simonseyock
c0000e745e
make resolution in getGetLegendGraphicUrl optional
2019-07-08 15:14:13 +02:00
Kai Volland
f493f01bd0
Introduces getGetLegendGraphic method
...
Adds the `getGetLegendGraphic` method to `ImageWMS` and `TileWMS` source.
Also adds an example and corresponding tests.
2019-07-08 15:14:13 +02:00
Lutz Helm
3cc18b6ea1
Test full region zoom levels with IIIF Image API v3 tile source
2019-07-02 13:39:23 +02:00
Andreas Hocevar
8ff29f8431
Merge pull request #9732 from ahocevar/vectortile-empty-key
...
Fix EMPTY state and source key handling
2019-06-29 10:18:53 +02:00
ahocevar
c4937bc716
Fix EMPTY state and source key handling
2019-06-28 23:25:36 +02:00
Olivier Guyot
034e0be76f
Vector Source / index all features by uid
...
Previously features were indexed by uid only when they
did not have a defined id.
A new method was added: `getFeatureByUid`. This is not part of
the public API.
This will facilitate the lookup of features for hit detection.
2019-06-28 09:06:16 +02:00
Olivier Guyot
442fa907ce
Vector source / prevent adding features with duplicate id...
...
...in the collection.
Previously two features with the same id could be pushed manually in the
features collection and stay there.
This would cause an error when clearing the source.
Fixes #6183 .
2019-05-24 23:29:48 +02:00
Lutz Helm
3895a59c5e
Fix typo
2019-05-09 18:00:18 +02:00
Lutz Helm
c25dba415f
Add more IIIF tile source tests
2019-05-09 18:00:18 +02:00
Lutz Helm
27d943dcc3
Add tests for IIIF tile source and fix source
...
The tests are still incomplete.
This commit also corrects the IIIF source where tests have failed.
2019-05-09 18:00:18 +02:00
ahocevar
752b69680e
Do not round view center to pixels
2019-04-17 15:52:58 -07:00
Frederic Junod
746f92d597
Fix tile state condition in raster layer test
...
The state was duplicated from the beginning, see 3ddb8712a3
2019-04-08 17:04:37 +02:00
Andreas Hocevar
3a7f9d93f4
Merge pull request #9357 from ahocevar/vectortile-view-resolution-2
...
Render vector tiles at the view resolution
2019-03-25 17:44:31 +01:00
Kai Volland
62ebe29ead
Enables attributions for the RasterSource
...
Attributions included in the passed sources are concatenated.
2019-03-25 11:47:45 +01: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
Frederic Junod
c01dee0884
Update Bing's imagerySet used in examples
2019-02-28 10:43:59 +01:00
Andreas Hocevar
6ce499532c
Merge pull request #9250 from ahocevar/clear-refresh
...
Clearer behaviour of clear() and refresh() on sources
2019-02-21 17:12:26 +01:00