Commit Graph

13784 Commits

Author SHA1 Message Date
Andreas Hocevar
a16aef042d Merge pull request #13691 from burleight/vectorSource-getFeaturesInExtent-wrapX
#13690 VectorSource#getFeaturesInExtent add projection parameter
2022-05-24 09:37:10 +02:00
Tomas Burleigh
68e604e3be VectorSource#getFeaturesInExtent projection renamed to opt_projection and amended jsdoc #13690 2022-05-24 09:46:18 +12:00
Tim Schaub
bbbca0ab78 Update ESLint config and plugins 2022-05-23 15:01:07 -06:00
Andreas Hocevar
d9fdc4f0bf Merge pull request #13688 from ahocevar/wmts-flip-x
Flip extent coordinates for projections with ne* axis order
2022-05-22 15:52:19 +02:00
Tim Schaub
cf7daf36d6 Include layer visibility in the URL 2022-05-21 10:50:45 -06:00
Tim Schaub
6690dc99dd Link interaction 2022-05-21 10:50:38 -06:00
Tomas Burleigh
78274befb8 #13690 VectorSource#getFeaturesInExtent add projection parameter 2022-05-21 14:28:19 +12:00
Andreas Hocevar
aa190a629a Flip extent coordinates for projections with ne* axis order 2022-05-20 19:38:55 +02:00
Maximilian Krög
72d61f887d Use document.head instead of getElementByTagName 2022-05-15 21:34:26 +02:00
Andreas Hocevar
fc5f85dbcf Add null return type 2022-05-13 19:39:47 +02:00
VLCEK Martin
bd223b4447 fix currentClip == null 2022-05-13 16:03:14 +02:00
Tim Schaub
25b2007636 Handle NaN nodata 2022-05-12 11:31:08 -06:00
Tim Schaub
a5c2c8d3d4 Merge pull request #13648 from tschaub/data-tile-size
Explicit data tile size
2022-05-07 10:16:40 -06:00
Andreas Hocevar
4efef182bb Common tile size check with tolerance 2022-05-07 09:50:21 +02:00
Tim Schaub
38b48bd341 Explicit data tile size 2022-05-06 14:47:10 -06:00
Andreas Hocevar
71f37802ae Merge pull request #13566 from CNS-Solutions/decluttering
Decluttering mode by style
2022-05-06 22:23:59 +02:00
VLCEK Martin
e1593ce59d Support declutter mode for image styles
Allows to specify for each image style, whether the image
should be decluttered, always drawn but still serving as
obstacle, or drawn without being an obstacle for other
images/texts.

The layer must still have declutter = true set for this
property to have any effect.
2022-05-05 12:34:00 +02:00
mike-000
cf95f6313b fix lint 2022-05-04 20:18:17 +01:00
mike-000
8ef8cbf4e2 output tile load errors to console 2022-05-04 19:54:07 +01:00
Andreas Hocevar
6ace5e7530 Let transform function transform all dimensions it is capable of 2022-05-02 22:25:11 +02:00
Tim Schaub
5084d5566a Test that data tiles can be loaded after error 2022-04-27 14:50:33 -06:00
mike-000
0ef7c40b8e do not reload if already loaded or loading 2022-04-27 14:35:11 -06:00
Tim Schaub
de9f6e2dc5 Handle rotation with non-square tiles 2022-04-25 10:40:37 -06:00
Andreas Hocevar
c080a0d2bf Properly document loadstart and loadend events 2022-04-23 21:27:27 +02:00
Andreas Hocevar
d315675ecc Merge pull request #13528 from burleight/webglpointslayer-wrap-x
WebGLPointsLayer wrapX support - partially addressing #11131
2022-04-17 17:34:01 +02:00
Andreas Hocevar
d404371417 Merge pull request #13571 from rycgar/justify-text
Add `justify` option for text style
2022-04-15 13:25:22 +02:00
Denis
585ae66961 Fix review for text justify 2022-04-14 13:06:49 +02:00
Denis
1850e16bde Improve jsDoc and some naming 2022-04-13 14:11:28 +02:00
Denis
e00e3a7b8e Improve jsDoc for style/Text justify 2022-04-13 00:08:15 +02:00
Denis
4db25c86c8 Implement text justify within the label box
See: https://github.com/openlayers/openlayers/issues/13481
2022-04-13 00:08:15 +02:00
Denis
5a61bb51f5 Extend Text.js: add justification option 2022-04-13 00:08:15 +02:00
mike-000
e8257f1bb3 projection may be null 2022-04-12 16:22:25 +01:00
mike-000
eaa87e8d8f do not assert null projection 2022-04-12 09:31:55 +01:00
Andreas Hocevar
de0f5be04c Merge pull request #13546 from drnextgis/draw_stride
Add geometryLayout property to Draw interaction
2022-04-11 21:43:54 +02:00
Andreas Hocevar
bde8c94fdf Merge pull request #13552 from ahocevar/ol-mapbox-style-8
Updates for ol-mapbox-style v8
2022-04-11 21:20:45 +02:00
Denis Rykov
026c88ca35 Add geometryLayout property to Draw interaction 2022-04-11 13:13:25 +02:00
Andreas Hocevar
ffee2f727e Updates and example improvements for ol-mapbox-style v8 2022-04-10 21:41:00 +02:00
jipexu
2c24ceef86 NM symbol unit
https://github.com/openlayers/openlayers/issues/13497

please check if it is enough ...
2022-04-10 17:24:08 +02:00
Andreas Hocevar
ae00bf6c48 Merge pull request #13550 from ahocevar/background
Update backgrounds when function returns a different color
2022-04-10 01:25:49 +02:00
Andreas Hocevar
cbb18ab805 Update backgrounds when function returns a different color 2022-04-09 10:53:20 +02:00
mike-000
6ca44f6ffa add gutter option 2022-04-08 14:17:54 +01:00
mike-000
36159287d5 handle gutter in renderer 2022-04-08 14:17:22 +01:00
Andreas Hocevar
c03f58fe5d Merge pull request #12936 from ejn/bugfix/gml-multiple-element-parsing
Bugfix for GML parsing with multiple property elements with XML attributes
2022-04-05 11:57:53 +02:00
Bart van den Eijnden
bc8442e184 Merge pull request #13536 from bartvde/fix-typo-docs
Fix small typo in docs
2022-04-04 12:00:57 +02:00
Bart van den Eijnden
7fe4d04a3a Fix small typo in docs 2022-04-04 10:57:46 +02:00
Andreas Hocevar
0c22cab001 Merge pull request #13533 from ahocevar/gml-typescript
Update type annotations for GMLBase
2022-04-01 19:05:07 +02:00
Andreas Hocevar
c6a2392a2e Update type annotations for GMLBase 2022-04-01 14:59:16 +02:00
Bart van den Eijnden
5d5deee517 Update src/ol/control/ScaleLine.js
Co-authored-by: Andreas Hocevar <andreas.hocevar@gmail.com>
2022-04-01 13:48:55 +02:00
Bart van den Eijnden
aff459bc02 Add optional maxWidth for ScaleLine control 2022-04-01 13:26:18 +02:00
Tomas Burleigh
d524d46969 WebGLPointsLayer wrapX support - partially addressing #11131
WebGLPointsLayer renderFrame and renderHitDetection will now draw
multiple worlds if the source and projection support wrapX.

Hit detection needs additional improvement. It stops working after
more than one wrap around the world. If 0 is the middle world, then
the hit detection works for worlds -1, 0, and -1, but not for worlds
> 2 or < -2.

The example has hit detection enabled, demonstrated with a colour
change on hover for the circle styles. When moving the mouse, the hit
detection is unreliable and flickers on/off. This needs improvement.

The webgl-points renderer test has been updated.
2022-04-01 13:35:13 +13:00