Tim Schaub
19bb3f8c88
Consistent use of Array and Object types
2021-02-02 13:53:10 -07:00
Andreas Hocevar
5084b04173
Do not clip declutter executor groups
2021-01-13 20:49:29 +01:00
Andreas Hocevar
1cc9fdb6ec
Fix handling of VectorTile renderBuffer
2021-01-10 18:59:07 +01:00
Tim Schaub
afd0b8f757
Throw an error if shaders fail to compile or program fails to link
2021-01-05 17:24:58 -07:00
Maximilian Krög
23dc768c2e
Order callback calls by distance to click position
...
All callback calls for hits with a tolerance > 0 are queued and
called ordered by distance after all hits are detected.
2020-12-01 23:21:59 +01:00
Maximilian Krög
4546eff66e
Also use hitTolerance to select tiles to search
2020-12-01 20:21:15 +01:00
Maximilian Krög
cde2dac19f
Skip executor groups when tile does not contain coordinates
2020-12-01 20:21:13 +01:00
Andreas Hocevar
512642f8e2
Document geometry argument of the feature callback for internal use
2020-11-29 00:39:55 +01:00
Andreas Hocevar
28aaa2e0d3
Pass geometry to forEachFeatureAtPixel callback
2020-11-27 13:43:28 +01:00
Mathias Boeck
a92bc2755d
Check if render pixel is in the layer extent
2020-11-16 14:13:21 +01:00
Andreas Hocevar
c9ebf79df5
Add types and comments to make combined image+text decluttering clearer
2020-10-05 19:17:22 +02:00
Maximilian Krög
187a216379
Do not draw empty text styles
...
This fixes a rendering/flicker issue when an empty text style is decluttered
together with an image style.
2020-10-05 12:20:04 +02:00
Andreas Hocevar
8e862766fc
New decluttering implementation
2020-09-27 21:13:26 +02:00
Andreas Hocevar
7a5e0db59f
Remove decluttering for a fresh start
2020-09-18 23:31:20 +02:00
Maximilian Krög
0996b37fe7
Fix end world calculation if projection is not symmetric
2020-09-17 00:12:15 +02:00
Maximilian Krög
85499d7daf
Only draw visible worlds
2020-09-14 23:41:04 +02:00
Frederic Junod
142fbc0811
Use the className param in ol.layer.Heatmap
2020-09-11 08:23:15 +02:00
Andreas Hocevar
3d5f375d52
Merge pull request #11521 from ahocevar/integer-pixel-ratio-only
...
Do not use fractional pixel ratio for rendering vector tiles
2020-09-07 12:40:01 +02:00
Andreas Hocevar
3c7fa9a586
Do not use fractional pixel ratio for rendering vector tiles
2020-09-06 17:08:13 +02:00
Langbein, Michael
a70ce2ca06
Implement preRender and postRender methods for WebGLLayerRenderer
...
This is required so that Renderers like WebGLPointsLayerRenderer can fire prerender and postrender events.
Problem described in [issue 11463](https://github.com/openlayers/openlayers/issues/11463 ).
2020-08-30 13:20:18 +02:00
Andreas Hocevar
fda93cee23
Updates for TypeScript v4
2020-08-25 13:03:58 +02:00
mike-000
562b2f632f
Revert #11193 , set vectorRenderer.clipping = false
2020-07-30 20:11:11 +01:00
mike-000
6610391c0b
Add clipping property
2020-07-30 19:58:23 +01:00
Andreas Hocevar
8efb1eea43
Reuse empty canvas
2020-07-21 22:35:48 +02:00
Andreas Hocevar
0167c2760e
Grow cache size dynamically
2020-07-11 18:04:07 +02:00
Kamil
a151d1b7a5
#11235
...
GetDataAtPixel performance improvement
2020-07-05 17:52:51 +02:00
Andreas Hocevar
18a8961d79
Fix getFeatures after rotation reset for VectorImage
2020-06-24 21:37:25 +02:00
Andreas Hocevar
ac14f6df62
Fix getFeatures after rotation reset for Vector
2020-06-24 21:37:13 +02:00
mike-000
6c5a0674ec
revert previous commit
2020-06-24 15:57:39 +01:00
mike-000
658bc0a729
correct clipping of the vector rendering
2020-06-24 15:51:41 +01:00
mike-000
1c725c8cfc
do not clip the vector rendering
2020-06-17 11:13:33 +01:00
mike-000
091584a120
do not clip rendering for VectorImage layers
2020-06-17 11:11:19 +01:00
mike-000
014f17d14b
correct clipping with rotation
2020-06-16 12:20:50 +01:00
mike-000
9a8b9d8ade
add Image source imageSmoothing option
...
Add Image smoothing checkbox to example
Test imageSmoothing option
2020-05-09 10:41:20 +01:00
Andreas Hocevar
29eb314ce9
Fix isDrawableTile for vector render mode
2020-05-03 16:05:17 +02:00
Andreas Hocevar
781a5443cf
Handle scaled output canvas correctly
2020-04-29 20:19:42 +02:00
Andreas Hocevar
bcc94baf22
Fix layer renderer scope issues
2020-04-15 10:53:26 +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
Frédéric Junod
d8cbda18a7
Merge pull request #10840 from fredj/remove_inheritDoc
...
Remove inherit doc
2020-04-04 14:06:43 +02:00
Frederic Junod
dda7342ea7
Remove all inheritDoc tags from src/ol/renderer
2020-04-03 09:08:09 +02:00
Frederic Junod
d15ec1c12c
Remove all inheritDoc tags from disposeInternal functions
2020-04-03 08:10:41 +02:00
Frederic Junod
15d36a22f0
Remove all inheritDoc tags from src/ol/layer
2020-04-03 07:56:58 +02:00
mike-000
dfcc649c59
Merge branch 'master' into patch-4
2020-04-02 22:37:36 +01:00
mike-000
b866a447c2
assign tile source context options to context
2020-04-02 22:28:09 +01:00
mike-000
2c7f58dbed
remove unused import
2020-03-31 16:03:14 +02:00
mike-000
99a1641afe
remove duplication
2020-03-31 16:03:13 +02:00
Andreas Hocevar
098885a006
New wrapX functions for coordinate and extent
2020-03-31 16:03:12 +02:00
Andreas Hocevar
a35794ae97
Load two extents for views that cross the date line
2020-03-31 16:03:12 +02:00
Andreas Hocevar
190cd202a1
Always use load extent with real world center
2020-03-31 16:03:11 +02:00
mike-000
3b760dc308
Use getLoadWrapX() to determine extent to load
2020-03-31 16:03:10 +02:00