Commit Graph

105 Commits

Author SHA1 Message Date
Andreas Hocevar
f0cac76718 Add expression for Math.abs 2021-08-18 11:24:28 +02:00
Seba Kerckhof
25af938a83 Update test/browser/spec/ol/style/expressions.test.js
Co-authored-by: Andreas Hocevar <andreas.hocevar@gmail.com>
2021-07-28 09:17:10 +02:00
Seba Kerckhof
db57d9bf89 Handle named colors as string in equal operator 2021-07-27 18:54:08 +02:00
Andreas Hocevar
8004e0faad Merge pull request #12527 from mike-000/patch-1
Treat custom loaders without success/fail handling as if they were a void loader
2021-07-22 12:39:21 +02:00
Maximilian Krög
19fb51183e Convert hit detect priority example to test 2021-07-17 15:09:38 +02:00
mike-000
6c862df03f include custom loader in rendercomplete test
include a VectorSource with custom loader (no success/fail handling) in rendercomplete test
2021-07-17 12:56:33 +01:00
Tim Schaub
1b9329ea91 Shorter name for the option to create a custom cluster 2021-07-15 21:35:59 -06:00
Maximilian Krög
5d7f7dbf51 Add test for subcontrol added during map contruction 2021-07-15 14:19:08 +02:00
jkonieczny
e1b161bbbe remove setter/getter 2021-07-15 09:06:13 +02:00
jkonieczny
a8f7d955af rename to createClusterFeature 2021-07-13 17:27:32 +02:00
jkonieczny
9fd25dddbf allow hydrating clustered features 2021-07-12 19:28:00 +02:00
MoonE
7adaf7c1b5 Merge pull request #12442 from MoonE/fix-layer-extent
Fix layer render extent when it is not at all in view
2021-07-11 20:04:45 +02:00
Maximilian Krög
f57413fc04 add tests for layer extent config 2021-07-11 18:27:48 +02:00
Maximilian Krög
ad37baf351 Remove redundant size properties / getter 2021-07-11 12:32:04 +02:00
Maximilian Krög
87f215939c Fix some RegularShape bugs related to canvsa size
- remove jitter when using RegularShape size in animation, size should
always be an integer
- canvas may have been too small for miter line join
- canvas was at least one stroke width too large for round line join
- reduce canvas size even more for bevel line join

Canvas now precisely fits the shape including stroke, The angle of the
shape is ignored for the calculation.
2021-07-11 12:32:03 +02:00
Maximilian Krög
f21513ab5a Consistent behaviour if two radii are provided
Always double the points event when two radii of same size are provided.
2021-07-11 12:32:03 +02:00
Tim Schaub
53156ab936 Add a new placeholder option and deprecate undefinedHTML 2021-07-10 09:12:31 -06:00
Tim Schaub
9e7f5a9b40 Test empty string rendering for mouse control 2021-07-09 14:44:09 -06:00
Maximilian Krög
4c346353fa Allow multiple LinearRings per innerBoundaryIs 2021-06-29 20:48:29 +02:00
Andreas Hocevar
79f5f46d27 Remove lint 2021-06-28 18:10:51 +02:00
MoonE
8155eda706 Merge pull request #12413 from MoonE/vectorlayer-hitdetect-image-invalidation
Fix hitdetection image invalidation
2021-06-21 22:47:21 +02:00
Andreas Hocevar
ed5c451679 Merge pull request #12405 from ahocevar/vectortile-getsourcetiles
VectorTile getSourceTiles behaviour with loading source tiles
2021-06-21 22:04:27 +02:00
MoonE
e9fd3fe201 Merge pull request #12212 from voegelas/ignore-empty-gx-coord
Ignore empty gx:coord elements in KML files
2021-06-21 18:18:00 +02:00
Andreas Hocevar
b7585e7571 Merge pull request #12409 from M393/wmts-bounding-box
Fix WMTS wrapX detection if WGS84BoundingBox is not set
2021-06-21 12:40:01 +02:00
Maximilian Kroeg
a600742606 Add test for reading wrap x from tile matrix or bounding box 2021-06-21 10:07:02 +02:00
Andreas Hocevar
7777821df5 Merge pull request #12408 from ahocevar/modify-no-insert
Do not fire modifystart when nothing is being modified
2021-06-21 08:05:53 +02:00
Maximilian Krög
3e2c045617 Add test for hitdetection with wrap x 2021-06-20 22:35:55 +02:00
MoonE
e82a86f563 Merge pull request #12194 from MoonE/immediate-pixel-ratio
Respect pixel ratio with immediate render
2021-06-18 19:31:00 +02:00
Andreas Voegele
73c10b00ae Ignore empty gx:coord elements in KML files 2021-06-18 17:10:05 +02:00
MoonE
9ab5b70e3a Merge pull request #12282 from M393/dragzoom-view-padding
Fix DragZoom with view padding
2021-06-17 19:13:03 +02:00
Andreas Hocevar
94a7cdba10 Do not fire modifystart when nothing is being modified 2021-06-17 11:08:03 +02:00
Andreas Hocevar
8520a18eae Merge pull request #12219 from ahocevar/object-properties
Add 'properties' to Layer constructors
2021-06-17 08:44:53 +02:00
Maximilian Krög
5ba833a82c remove unused argument from function call 2021-06-17 00:14:34 +02:00
MoonE
da845c71c8 Merge pull request #12284 from MoonE/layer-group-inherit-zindex
Layers should inherit group z-index
2021-06-17 00:01:09 +02:00
Andreas Hocevar
cd719ffb34 Avoid infinite source tile cache size 2021-06-15 20:30:43 +02:00
Andreas Hocevar
2361150814 Add regression test 2021-06-15 20:01:55 +02:00
mike-000
92a2b3e78b separate tests for scaling width and height 2021-06-09 13:33:28 +01:00
Andreas Hocevar
5ab7cbf905 Simpler and faster VectorTile loading 2021-05-30 21:22:03 +02:00
Andreas Hocevar
0bb802f791 Verify that users can provide a properties property 2021-05-25 11:00:33 +02:00
Andreas Hocevar
432bd7f851 Allow custom properties in the constructor using the properties option 2021-05-24 23:23:51 +02:00
Maximilian Krög
0486caf659 Add test for transform toString 2021-05-18 09:43:31 +02:00
Maximilian Krög
de4a93709a Inherit layer group zIndex 2021-05-13 01:44:08 +02:00
mike-000
c0dd40cdb7 fix indentation 2021-05-10 16:54:02 +01:00
mike-000
5218251621 fix indentation 2021-05-10 16:35:54 +01:00
mike-000
2006a8ce46 Test condition option 2021-05-10 16:34:07 +01:00
Maximilian Krög
d52497a722 Add function to dispose whole layer group 2021-05-09 00:45:56 +02:00
Maximilian Krög
6e64969664 Consistently name layer group 'group' 2021-05-09 00:43:58 +02:00
Maximilian Krög
b89809c1a1 Add new dragzoom test with view rotation
Also adds a new test for the duration and removes the duration from
the other tests to save on execution time.
2021-05-08 05:15:07 +02:00
Maximilian Krög
c19664b6f5 Fix dragzoom test case 2021-05-08 04:18:57 +02:00
Maximilian Krög
238cdc392e Add test for DragZoom with view padding 2021-05-07 14:18:21 +02:00