Commit Graph

190 Commits

Author SHA1 Message Date
Andreas Hocevar 9b6f94e194 Merge pull request #13745 from hargasinski/fix-modifying-polygons
Fix modifying polygons with overlapping vertices
2022-06-12 13:44:15 +02:00
Andreas Hocevar 0f1f3e70a7 Merge pull request #13749 from ahocevar/gml-polygon-ring-curve
Support GML polygons with ring curves instead of linear rings
2022-06-12 13:35:41 +02:00
Andreas Hocevar e863960599 Support reading polygons with curve rings 2022-06-10 18:17:26 +02:00
Andreas Hocevar 2a8cc3d2f5 Map multiple LineStringSegments to a one LineString 2022-06-10 18:17:02 +02:00
Hubert Argasinski 5bcbd23cca Fix modifying polygons with overlapping vertices
When a polygonal geometry, where one of the vertices overlaps the first
vertex in the same ring, is modified, ensure the correct vertices are
updated.
2022-06-08 18:36:49 -04:00
Matthias Mohr c2fc1f85bf Load GeoTiff from Blob #13189 #13703 2022-06-01 23:49:01 +02:00
mike-000 bbfcf42daf Test tile pyramid getData() 2022-05-28 11:56:26 +01:00
Maximilian Krög 6b3c9cc196 Test hitdetect icon with offset 2022-05-25 22:33:57 +02:00
Maximilian Krög f5bdc982b5 Improve test coverage for icon clone method 2022-05-25 22:33:54 +02:00
Maximilian Krög e8925a90e5 Test VectorTile layer not ready while loading needed icons 2022-05-24 22:26:17 +02:00
Maximilian Krög 11589f3317 Test rendercomplete with icon for VectorTile 2022-05-24 22:18:36 +02:00
Maximilian Krög dc128820c1 Test rendercomplete waits for icon load 2022-05-24 21:47:08 +02:00
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
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 ecf90a49c8 Improve browser tests
- Listen for image change event instead of waiting 200 ms
- Properly fake fetch response, can never be undefined on resolve
2022-05-15 22:30:40 +02:00
Maximilian Krög 302a9d51e1 Fix WebGLTile browser tests
The loader has to return a TypedArray, not ImageData
2022-05-15 22:30:40 +02:00
Maximilian Krög 744324859e Fix font rerender test when font is a system font 2022-05-15 22:30:40 +02:00
Maximilian Krög 72d61f887d Use document.head instead of getElementByTagName 2022-05-15 21:34:26 +02: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
Tim Schaub 38b48bd341 Explicit data tile size 2022-05-06 14:47:10 -06: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
Tim Schaub 5084d5566a Test that data tiles can be loaded after error 2022-04-27 14:50:33 -06: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 5722460250 Load source maps of dependencies for tests 2022-04-10 21:41:00 +02:00
Andreas Hocevar ffee2f727e Updates and example improvements for ol-mapbox-style v8 2022-04-10 21:41:00 +02:00
jipexu 6a35a20ff1 Update scaleline.test.js 2022-04-10 21:01:42 +02:00
jipexu 96cebca3b7 Update scaleline.test.js 2022-04-10 20:37:18 +02:00
Andreas Hocevar cbb18ab805 Update backgrounds when function returns a different color 2022-04-09 10:53:20 +02: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 5742f0c068 Add tests 2022-04-01 14:29:01 +02:00
mike-000 d2da88a3fd test gutter 2022-03-30 13:02:21 +01:00
Andreas Hocevar bf9472ac57 Add loadstart and loadend map events 2022-03-19 10:32:22 +01:00
Andreas Hocevar 46ddbd7e0e Reset image when empty 2022-03-10 16:27:24 +01:00
Maximilian Krög 8b5b5db00f Add test for snap to vertex placed on line 2022-03-07 08:57:31 +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
Maximilian Kroeg 28b6026bc4 Test rendercomplete works with invisible layers 2022-03-02 11:03:42 +01:00
Maximilian Krög ab786cff73 Test setting resolution to undefined 2022-02-18 00:52:40 +01:00
Maximilian Krög c74d0a8957 Test cloning IconImage without cache 2022-02-17 00:58:35 +01:00
Maximilian Krög 9bfb0c1b9d Test VectorSource isEmtpty without spatial index 2022-02-13 00:06:26 +01:00
Tim Schaub 437b2a0fc2 Merge pull request #13357 from tschaub/preload
Preload tiles for WebGL tile layers
2022-02-10 14:36:31 -07:00
mike-000 57db9a6a12 Add floor, round and ceil 2022-02-10 15:37:45 +00:00
Tim Schaub 6f005e1f30 Preload tiles for WebGL tile layers 2022-02-09 14:01:14 -07:00
Tim Schaub bd86639351 Keep track of when a layer is unrendered 2022-02-08 10:23:55 -07:00
Tim Schaub eb4d5e0784 Get pixel data 2022-02-07 18:35:47 -07:00