Andreas Hocevar
5ea0b52ba8
Merge pull request #10691 from ahocevar/hitdetect-color-range
...
Do not exceed color range
2020-02-18 10:04:00 +01:00
Andreas Hocevar
07b02fe947
Do not exceed color range
2020-02-17 21:58:45 +01:00
Andreas Hocevar
8f9552e78c
Merge pull request #10678 from mike-000/patch-7
...
Add maxResolution option to ol/tilegrid.createXYZ() and ol/source/XYZ
2020-02-17 19:54:55 +01:00
mike-000
1416e30127
Add maxResolution option to createXYZ()
...
include maxResolution in options test
2020-02-17 18:20:50 +00:00
Andreas Hocevar
eebb2cb9ae
Merge pull request #10672 from ahocevar/mousewheel
...
Nicer mousewheel and trackpad zooming
2020-02-17 18:27:03 +01:00
Frederic Junod
09689e547c
Increase timeout in listenImage test
...
Fixes failing test with Chrome 80 on Windows 10
2020-02-17 13:27:23 +01:00
Andreas Hocevar
f3ce8e23b4
Fractional zoom changes in WHEEL mode
2020-02-15 13:53:14 +01:00
Andreas Hocevar
ea5c91e19e
Revert "Merge pull request #9565 from dbrnz/v6.0.0-beta.7-branch"
...
This reverts commit 35569a8427 , reversing
changes made to 29a434314b .
2020-02-14 11:46:57 +01:00
Thomas Chandelle
33a8466913
Add API method abortDrawing and dispatch a DRAWABORT event
2020-02-13 17:22:39 +01:00
mike-000
7a77793d69
Write fill and outline in PolyStyle
...
Write styles based on style objects appropriate for geometry.
Write fill and outline in PolyStyle if false (i.e. non-default)
Handle MultiLineString, MultiPoint and MultiPolygon within heterogenous MultiGeometry when writing features
Add getGeometriesArrayRecursive method to ol/geom/GeometryCollection to allow for nested MultiGeometry
Enhanced write GeometryCollection geometries test
A more rigorous write GeometryCollection geometries test including nested collections (the output is simplified to a single MultiGeomtry)
Add writeFeatures to outline and fill tests, setting geometry for geometry specific tests
Add <fill>0</fill> and <outline>0</outline> to some existing tests
2020-02-12 21:18:57 +00:00
Andreas Hocevar
bb68da2a0a
Merge pull request #10613 from mike-000/patch-1
...
Show KML name labels for Points in MultiGeometry
2020-02-11 15:08:51 +01:00
Otto Pellinen
0b3bd0721e
Add dedicated tests for appendCoordinates
2020-02-10 16:48:12 +01:00
Andreas Hocevar
35569a8427
Merge pull request #9565 from dbrnz/v6.0.0-beta.7-branch
...
Make mousewheel zoom behave like trackpad zoom.
2020-02-06 15:54:34 +01:00
mike-000
47a4a63e3e
Test name labels for points in MultiGeometry
2020-02-05 23:51:48 +00:00
mike-000
0fb4b62b9b
Test name labels for points in MultiGeometry
2020-02-05 23:26:11 +00:00
Andreas Hocevar
29a434314b
Merge pull request #10580 from mike-000/patch-7
...
Fix KML Polystyle outline 0 conflict with Linestyle for linestrings
2020-02-05 23:22:52 +01:00
Andreas Hocevar
cc21f92bdb
Restore test coverage, fix tests
2020-02-05 13:03:21 +01:00
David Brooks
03fcf1ca70
Get all mouse wheel tests passing ( #9564 ).
2020-02-05 11:27:10 +01:00
David Brooks
77658e5750
Ensure changes to zoom wheel handling pass tests.
2020-02-05 11:24:48 +01:00
Andreas Hocevar
97246daf66
Merge pull request #10587 from jeremy-smith-maco/larger-resolution-constraint
...
Adds option to View for using larger resolution value when clamping #10586
2020-02-05 11:10:43 +01:00
Jeremy Smith
3082972cce
Updates the option to be called showFullExtent
2020-02-05 16:46:45 +10:00
mike-000
3c2dfb511a
Fix Polystyle outline 0 conflict with Linestyle
...
Return separate style objects for polygon geometries (including multipolygon and polygons in geometry collections) and other geometries if Polystyle outline is defined as 0
Rearrange code to reduce cloning of styles in createNameStyleFunction
Update Polystyle outline 0 tests
Check for separate style objects applying to LineString and Polygon geometries
Test LineString and Polygon geometries in a collection
2020-02-02 11:28:07 +00:00
Jeremy Smith
001cb98990
Updated test to use renamed option
2020-01-30 08:03:02 +10:00
Andreas Hocevar
f8f7f83be7
Do not expose static render function of controls
2020-01-29 20:21:08 +01:00
Jeremy Smith
4151e86c0a
Adds option to View for using larger resolution value when clamping
2020-01-29 15:35:48 +10:00
Andreas Hocevar
1ee03decdd
Assert each layer is only added to the map once
2020-01-24 17:52:13 +01:00
mike-000
e2b42c100f
Include html character code in text style test
2020-01-19 12:02:16 +00:00
mike-000
bf23dca068
Include html character code in text style test
2020-01-19 11:42:59 +00:00
mike-000
730008cfad
Make feature styles compatible with declutter
...
Update expected result to single style object to reflect change
Remove duplicated test
2020-01-18 20:00:09 +00:00
Andreas Hocevar
2f094978ca
Merge pull request #10502 from walkermatt/stopevent-removed-target
...
Stop events that originate with a removed target
2020-01-17 21:34:39 +01:00
Andreas Hocevar
de5cd5c664
Merge pull request #10527 from ahocevar/no-label-cache
...
Remove label cache, render text directly to target canvas
2020-01-16 09:23:41 +01:00
jkonieczny
2112478b6b
Added test + jsdoc
2020-01-15 11:13:45 +01:00
jkonieczny
78378f0253
refactor offset to displacement
2020-01-15 11:13:45 +01:00
jkonieczny
601bd7bae6
add offset option to RegularShape
2020-01-15 11:13:44 +01:00
Andreas Hocevar
fd935bae53
Remove label cache, render text directly to target canvas
2020-01-13 22:12:53 +01:00
Matt Walker
eeec2b9e7d
Lint: remove unused imports
2020-01-13 11:32:40 +00:00
Matt Walker
5ce532e3e4
Mock PointerEvent in tests to include target
...
The `target` Event property is readonly as it is set internally when an
event is dispatched. This change uses a plain object with the essential
properties that a PointerEvent has which is sufficent for map event handling
2020-01-13 10:46:40 +00:00
Andreas Hocevar
5a8df1d4e2
We no longer need to increase the cache size
2020-01-08 10:53:42 +01:00
Andreas Hocevar
46d98201c3
Store source tiles on render tile instead of source
2020-01-08 10:53:42 +01:00
Andreas Hocevar
2875685b3c
Use TileCache instead of custom structure
2020-01-05 12:25:44 +01:00
Andreas Hocevar
bec747e513
Remove unused argument and member
2020-01-05 12:08:43 +01:00
Andreas Hocevar
da6eed850c
Do not lock label cache entries
2020-01-05 11:24:46 +01:00
Andreas Hocevar
b91e1a893d
Do not abort and dispose of tiles
2020-01-05 00:05:24 +01:00
Olivier Guyot
4440994ec8
Avoid recomputing the viewport size by reading the DOM everytime
...
Also clarify View#calculateExtent doc & remove the [data-view] attribute
on the viewport element (not needed anymore).
2019-12-23 10:47:54 +01:00
Olivier Guyot
6c46eb1dd0
Webgl / add support for a rotation parameter in LiteralStyle
...
The ShaderBuilder can now take a rotation expression.
2019-12-20 17:39:40 +01:00
mike-000
9d8609dd08
Modify and snap to circle in user coordinates
...
Correct modify interaction at center and at drawn circle circumference
Correct snap interaction at drawn circle circumference
Test circle geometry in a user projection
2019-12-13 16:40:39 +00:00
Olivier Guyot
ca0ce4986d
Merge pull request #10119 from mike-000/patch-8
...
Add crossOrigin option to ol/format/KML for icons
2019-12-13 09:26:56 +01:00
mike-000
6596a988c0
Add crossOrigin option for icons
...
Avoid unnecessary tests by using only one test for the default icon crossOrigin,. In other cases ensure that the specified option is set.
2019-12-12 17:50:50 +00:00
Andreas Hocevar
8e0a8114d7
Merge pull request #10340 from mike-000/patch-7
...
Draw circles and custom geometry in user coordinates
2019-12-11 10:07:12 +01:00
mike-000
2e544cb677
Circles and custom geometry in user coordinates
...
Pass the view projection to the geometry function so circles and other custom geometry can be given the expected shape/size in the view while being defined in user coordinates.
Add tests to draw circles in a user projection and along both axes
Draw regular polygon in a user projection
Draw box in a user projection
2019-12-10 19:47:37 +00:00