M393
M393
Could you explain the problem in more detail? I don't quite understand the issue.
Hit detection is always done at pixel ratio 1. The problem is the renderer function in this example which does not take the pixel ratio into account when drawing. I....
Hm, this patches the rendering problem, but hit detection is still not working properly. ```patch diff --git a/examples/custom-hit-detection-renderer.js b/examples/custom-hit-detection-renderer.js index c92dbb3750..adcdd10fde 100644 --- a/examples/custom-hit-detection-renderer.js +++ b/examples/custom-hit-detection-renderer.js @@ -15,14 +15,14 @@...
~I was mistaken, hitdetection is always done at a fixed pixel ratio of 0.5.~ pixel ratio of 0.5 is used when calling [`getFeatures`](https://openlayers.org/en/latest/apidoc/module-ol_layer_Vector-VectorLayer.html#getFeatures) of `ol/layer/Vector`, other hitdetection is done with...
The `state` parameter in the `hitDetectionRenderer` has still `pixelRatio: 2`, seems wrong to me. It works if you ignore the state and always use `pixelRatio: 1` in the hit detect...
Seems the hitDetectionRenderer is not handling a rotated map. The map is always rendered without rotation and the map canvas is rotated via css transform matrix, whereas the hitdetection takes...
Hit detection with Circle style works in this example: https://openlayers.org/en/latest/examples/gpx.html Are you doing something differently?
Windows 10 is still widely used, and covered by extended support which was/is basically free in the first year. https://gs.statcounter.com/os-version-market-share/windows/desktop/worldwide https://www.engadget.com/computing/microsoft-has-ended-windows-10-support-but-heres-how-to-get-an-extra-year-for-free-125118044.html
I think this is a duplicate of #14542
In the example exactly 2MB are downloaded (+1Byte which may be a bug) which equals 8 Tiles a 256x256 * 4 byte per pixel. What makes you think this is...