Andreas Hocevar
6bc60f9911
Merge pull request #12575 from ahocevar/raster-events
...
Add on(), un() and once() signatures for ol/source/Raster
2021-08-01 10:33:19 +02:00
Andreas Hocevar
2038a93880
Add on(), un() and once() signatures for ol/source/Raster
2021-08-01 10:28:02 +02:00
Seba Kerckhof
fec6fee83c
Remove color from value type in equal operator
2021-07-28 09:26:29 +02:00
Seba Kerckhof
db57d9bf89
Handle named colors as string in equal operator
2021-07-27 18:54:08 +02:00
Maximilian Krög
e50d5a2197
Add WKB to the exports of ol/format
2021-07-26 09:24:52 +02:00
Simon Seyock
bf9ca7f3d1
Add change:layers event.
2021-07-23 13:03:57 +02:00
Andreas Hocevar
82956aaf5e
Merge pull request #12545 from ahocevar/proj4-axis
...
Restore simple axis order handling with fixed proj4
2021-07-22 18:46:20 +02:00
Andreas Hocevar
a5a156525f
Restore simple axis order handling with fixed proj4
2021-07-22 14:20:55 +02:00
Andreas Hocevar
a26fe5f31b
Make Raster source work as generics type for Image layer
2021-07-22 12:57:39 +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
Tim Schaub
adff6f0e77
Avoid creating context until needed
2021-07-19 09:08:21 -06:00
mike-000
431beed45f
Handle custom loaders without success/fail
...
Treat custom loaders without success/fail handling as if the were VOID
2021-07-16 20:44:03 +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
8f8027c33a
Fix adding controls with map config
...
If a control like ol.control.Bar adds sub controls when added to a map
it fails during map creating because the listeners are added after the control
was added to the map.
2021-07-15 14:19:08 +02:00
Andreas Hocevar
10e38947cc
Merge pull request #12487 from Razi91/cluster-feature-fn
...
Custom cluster feature creation function
2021-07-15 11:30:46 +02:00
Andreas Hocevar
b1385e4175
Merge pull request #12498 from bryantevans00/canvaslayerrenderer-type-parameter
...
CanvasLayerRenderer: Forward LayerType type parameter to LayerRenderer
2021-07-15 10:34:35 +02:00
jkonieczny
e1b161bbbe
remove setter/getter
2021-07-15 09:06:13 +02:00
Daniel Ellmerer
2eb1bf479b
VectorEventType: Add 'changefeature' in @typedef
...
'changefeature' is missing in @typedef - Add it.
2021-07-14 16:35:55 +02:00
Andreas Hocevar
8c0ba8abae
Merge pull request #12513 from ahocevar/draw-sketch-point
...
Draw a sketch point when adding a vertex programmatically
2021-07-13 22:45:31 +02:00
MoonE
f87abdb612
Merge pull request #12507 from MoonE/fix-regular-shape-hit-detect-transparent-fill
...
Fix regular shape hit detect transparent fill
2021-07-13 17:54:41 +02:00
jkonieczny
a8f7d955af
rename to createClusterFeature
2021-07-13 17:27:32 +02:00
Andreas Hocevar
93de780671
Draw a sketch point when adding a vertex programmatically
2021-07-13 16:07:59 +02:00
Andreas Hocevar
7edc016e02
Merge pull request #12509 from ahocevar/listener-return-type
...
Allow any return type from listener functions
2021-07-13 08:18:25 +02:00
Andreas Hocevar
98e63c4bf1
Allow any return type from listener functions
2021-07-12 23:18:21 +02:00
Maximilian Krög
58e2e57638
Fix hit detection of RegularShape with transparent fill
2021-07-12 19:33:17 +02:00
Maximilian Krög
5f3b22bf7f
Remove lineCap, it is useless on closed paths
2021-07-12 19:32:42 +02:00
jkonieczny
9fd25dddbf
allow hydrating clustered features
2021-07-12 19:28:00 +02:00
Andreas Hocevar
d7e9cc5285
Fix type of PluggableMap#setTarget() argument
2021-07-12 13:20:10 +02:00
Bryant Evans
709e933799
Forward LayerType type parameter to LayerRenderer
2021-07-12 09:00:20 +00: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
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
53156ab936
Add a new placeholder option and deprecate undefinedHTML
2021-07-10 09:12:31 -06: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