Commit Graph

30078 Commits

Author SHA1 Message Date
Bryant Evans
709e933799 Forward LayerType type parameter to LayerRenderer 2021-07-12 09:00:20 +00:00
Tim Schaub
4c33b106ed Merge pull request #12495 from tschaub/tpyos
Edits to the changelog
2021-07-11 14:26:36 -06:00
Tim Schaub
0e7b9b9a08 Edits to the changelog 2021-07-11 14:21:29 -06:00
Andreas Hocevar
ec38b39f2e Merge pull request #12494 from openlayers/release-v6.6.0
Release v6.6.0
2021-07-11 22:12:06 +02:00
Andreas Hocevar
d9c50a31da Develop on 6.6.1-dev 2021-07-11 22:07:58 +02:00
Andreas Hocevar
a59c80ff76 Update package version to 6.6.0 v6.6.0 2021-07-11 22:04:14 +02:00
Andreas Hocevar
f9d4805c40 Changelog for v6.6.0 2021-07-11 22:03:22 +02:00
Andreas Hocevar
4defa429cb Merge pull request #12493 from ahocevar/cleanup-readme
Remove obsolete section from README
2021-07-11 20:44:01 +02:00
Andreas Hocevar
bf090f44fd Remove obsolete section from README 2021-07-11 20:31:02 +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
83226cc79a Fix layer render extent when it is not at all in view 2021-07-11 18:27:48 +02:00
Maximilian Krög
f57413fc04 add tests for layer extent config 2021-07-11 18:27:48 +02:00
Tim Schaub
f6ed6eb1c1 Merge pull request #12492 from tschaub/tutorial
Use create-ol-app to create a new app
2021-07-11 09:18:52 -06:00
MoonE
bb0ea08d17 Merge pull request #12467 from MoonE/fixes-regular-shape
Fixes / improvements for RegularShape
2021-07-11 15:47:15 +02:00
Andreas Hocevar
94537e331f Update renderring test reference images 2021-07-11 14:20:20 +02:00
Maximilian Krög
ad37baf351 Remove redundant size properties / getter 2021-07-11 12:32:04 +02:00
Maximilian Krög
bee28d61ea cache render options object 2021-07-11 12:32:03 +02:00
Maximilian Krög
53cf5bb282 Lazily create Regular shape canvases
Creating the cached canvases is expensive and they may never be used.
E. g. the hit detect canvas is not needed with the Immediate renderer
and if a feature is never in the viewport the image is not needed either.
2021-07-11 12:32:03 +02:00
Maximilian Krög
f1ecc87425 High resolution image style for immediate renderer 2021-07-11 12:32:03 +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
Maximilian Krög
28c40fe93e getImage is always called with valid pixelRatio 2021-07-11 12:32:03 +02:00
Maximilian Krög
5716c614a8 Cleanup drawing of RegularShape
Fixes missing miter/bevel line join because path was not closed before
stroking.
Reduce canvas context calls, skip beginPath, and instead of drawing the
last point use closePath
2021-07-11 12:31:55 +02:00
Maximilian Krög
82265ef031 No unnecessary canvas with transparent fill
With pixelRatio != 1 and a transparent fill a unnecessary image was created.
2021-07-11 12:30:18 +02:00
Tim Schaub
f10210aaf4 Use create-ol-app to create a new app 2021-07-10 09:41:27 -06:00
Tim Schaub
7e33c41697 Merge pull request #12491 from tschaub/mouse-position-placeholder
Add a new placeholder option and deprecate undefinedHTML for the mouse position control
2021-07-10 09:19:20 -06:00
Tim Schaub
53156ab936 Add a new placeholder option and deprecate undefinedHTML 2021-07-10 09:12:31 -06:00
Andreas Hocevar
8585b067dc Merge pull request #12430 from simonseyock/event-listener-typing
Event listener typing
2021-07-10 11:39:06 +02:00
Andreas Hocevar
9e88134286 Opt-out instead of opt-in for included types 2021-07-10 11:33:01 +02:00
Andreas Hocevar
cb4d5a7107 Update types info in README 2021-07-10 11:28:51 +02:00
Andreas Hocevar
b9a1d6663b Replace typescript dependency with npx calls 2021-07-10 11:28:51 +02:00
Andreas Hocevar
f5cc9a585a Do not error on /*** comments 2021-07-10 11:28:51 +02:00
Simon Seyock
0641bd47ce Add DragAndDropInteraction. 2021-07-10 11:28:50 +02:00
Andreas Hocevar
e9e664f3c9 Add typed signature for Observable#un() 2021-07-10 11:28:50 +02:00
Simon Seyock
3a73af842d Remove comments after jsdoc. 2021-07-10 11:28:49 +02:00
Simon Seyock
87830c6959 Fix Observable signatures. 2021-07-10 11:28:49 +02:00
Simon Seyock
d914006d51 Add signatures for once. 2021-07-10 11:28:49 +02:00
Simon Seyock
1870a64984 Add CombinedOnSignature. 2021-07-10 11:28:49 +02:00
Simon Seyock
25a095e489 Observable workaround for on. 2021-07-10 11:28:49 +02:00
Simon Seyock
ba9bfca9d5 Geolocation, Overlay, View 2021-07-10 11:28:48 +02:00
Simon Seyock
7fc664c3fe sources and layers. 2021-07-10 11:28:48 +02:00
Simon Seyock
e9a161740a controls and interactions. 2021-07-10 11:28:48 +02:00
Simon Seyock
3365576548 Add PluggableMap. 2021-07-10 11:28:47 +02:00
Simon Seyock
ff42d03f31 Add Collection and Feature. 2021-07-10 11:28:47 +02:00
Simon Seyock
baf9ee6a93 Add on signatures for BaseObject and Observable. 2021-07-10 11:28:47 +02:00
Simon Seyock
7701ab932b Add auxiliary type for the on signatures. 2021-07-10 11:28:47 +02:00
Simon Seyock
c8f43050c4 Revert "Merge pull request #12416 from ahocevar/eventtype-generics"
This reverts commit b6c143deb2, reversing
changes made to 7777821df5.
2021-07-10 11:28:46 +02:00
Tim Schaub
a2f441715b Merge pull request #12488 from JakobMiksch/fix-mouse-control-white-space
MousePosition: allow rendering of empty string
2021-07-09 15:54:22 -06:00
Andreas Hocevar
aacf12b392 Merge pull request #12464 from mike-000/zDirection
Make zDirection option available for all tile sources
2021-07-09 23:04:42 +02:00
Tim Schaub
9e7f5a9b40 Test empty string rendering for mouse control 2021-07-09 14:44:09 -06:00