Commit Graph

13704 Commits

Author SHA1 Message Date
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
mike-000 ea30a59bfe discard tainted pixelContext 2022-03-30 13:02:20 +01:00
mike-000 243ba189b7 include gutter in offsets 2022-03-29 13:22:10 +01:00
Tim Schaub b8c04ee7c5 Store rendererd source on the layer instead of the layer state 2022-03-26 10:18:49 -06:00
mike-000 30ec260c4a Fallback if OES_texture_float_linear not supported 2022-03-25 11:10:11 +00:00
Tim Schaub d7cb12a016 Workaround for https://bugs.webkit.org/show_bug.cgi?id=237906 2022-03-20 10:53:10 -06:00
Andreas Hocevar e10b7470a6 Merge pull request #13490 from ahocevar/separate-geometry-and-extent
Separate geometry and extent parsing
2022-03-19 16:40:17 +01:00
Andreas Hocevar bf9472ac57 Add loadstart and loadend map events 2022-03-19 10:32:22 +01:00
Andreas Hocevar e0b62016d2 Separate geometry and extent parsing 2022-03-18 19:37:01 +01:00
Andreas Hocevar d815c93bcf Add documentation for precompose and postcopose to ol/layer/WebGLTile 2022-03-14 22:10:13 +01:00
Denis f3208a2331 Fix Text#setText jsDoc 2022-03-11 20:36:09 +01:00
Andreas Hocevar 373cf81fc0 Merge pull request #13464 from ahocevar/projection-warning
Do not warn about coordinates when view projection is configured
2022-03-10 20:13:33 +01:00
Andreas Hocevar 5c7b9124cc Do not warn about coordinates when view projection is configured 2022-03-10 16:52:49 +01:00
Andreas Hocevar 46ddbd7e0e Reset image when empty 2022-03-10 16:27:24 +01:00
Andreas Hocevar 2d63e29e04 Revert "Merge pull request #13398 from yonda-yonda/update_static_image_change_projection"
This reverts commit 1f8338d3b8, reversing
changes made to 10eb834337.
2022-03-09 14:43:50 +01:00
Maximilian Krög bcebd73388 Improve performance when adding features to Snap 2022-03-07 19:54:43 +01:00
Maximilian Krög 444763f47b Set correct extent for multipoint points in Snap 2022-03-07 19:54:40 +01:00
Maximilian Krög 49acb39f72 Return null when not snapped 2022-03-07 08:57:31 +01:00
pala e47bd0bb93 Snap Interaction can snap to Point on line segment
Fixes #13440
2022-03-07 08:57:31 +01:00
Maximilian Krög 1ae1ff26a0 Initialize variable before use in FullScreen control
isInFullscreen_ was not initialized in the constructor when setClassName_
is called.

- Only remove the unnecessary classes when state changes instead of removing
  all and then adding the necessary classes again
2022-03-04 20:08:02 +01:00
Alan Moffat 87d87a155a Ensure FullScreen button has classname set on render.
When the FullScreen icon is first rendered, the button within it is not having the inactive classname set. The class name is set on toggling fullscreen on/off - just not being set on render.
2022-03-04 11:13:02 +00:00
EvertEt 17033e162d Guard PluggableMap against null renderer 2022-03-02 12:24:24 +01:00
Maximilian Kroeg c5edb50557 Fix rendercomplete event with invisible WebGLPoints layer 2022-03-02 11:03:42 +01:00
Andreas Hocevar 20e352111c Handle layers without renderer properly 2022-02-28 07:36:34 +01:00
Andreas Hocevar 8672e7e97c Merge pull request #13417 from ahocevar/geotiff-resolution-tolerance
Increase GeoTIFF resolutions tolerance
2022-02-27 16:05:35 +01:00
Andreas Hocevar 7b880b27d1 Increase GeoTIFF resolutions tolerance 2022-02-24 17:47:21 +01:00
mike-000 69f8a824ec Check for resolution change and fix unrotated size
Calculate unrotated width and height from frame size and resolution
Check for changes in resolution as well as extent when rendered extent fits inside frame
2022-02-24 10:53:32 +00:00
Andreas Hocevar 18f06b8b9a Rich text labels 2022-02-23 12:36:56 +01:00