Maximilian Krög
e8b336d11e
Fix hitdetection image invalidation
2021-06-20 22:35:55 +02:00
Andreas Hocevar
018ad97f25
Use generics to limit event types in on(), once() and un()
2021-06-20 22:25:47 +02:00
Andreas Hocevar
343e0ffce9
Replace getChangeEventType() with add/removeChangeListener methods
2021-06-19 23:16:26 +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
Maximilian Krög
a395de46eb
Detect wrap x if wgs84BoundingBox is missing
2021-06-18 13:59:35 +02:00
Tim Schaub
2e4b2e10ab
Fix additional doc links
2021-06-17 21:59:51 -06:00
Tim Schaub
f798902ecd
Fix JSDoc generated links
2021-06-17 21:54:07 -06:00
MoonE
9afc294d57
Merge pull request #12231 from MoonE/movetolerance-pixelratio
...
Move tolerance should not increase with higher pixel ratio
2021-06-17 19:14:46 +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
Maximilian Krög
bb5e0773ae
Move tolerance should not increase with higher pixel ratio
...
Browsers already handle the scaling, no need to multiply this again.
This now also allows setting a moveTolerance of zero which was not
possible before. In the isMoving_ method the condition is
distance > tolerance so this will work.
2021-06-17 19:08:29 +02:00
Simon Seyock
a211666fd8
Added generic source option to layer option types
2021-06-17 18:54:28 +02:00
Maximilian Krög
3ebcdb45d9
Fix WMTS wrapX detection if WGS84BoundingBox is not set
2021-06-17 13:43:05 +02:00
Andreas Hocevar
94a7cdba10
Do not fire modifystart when nothing is being modified
2021-06-17 11:08:03 +02:00
Maximilian Krög
2ed509a20d
Support RenderFeature in Modify with hitDetection
2021-06-17 11:03:29 +02:00
Maximilian Krög
7c41748654
SegmentData.segment is not an Extent
2021-06-17 11:03:29 +02:00
Maximilian Krög
4e9b89c358
Fix Modify interaction with hitDetection
...
Hit detection should ignore any RenderFeatures and features not in the configured
source / collection.
2021-06-17 11:02:58 +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
c55366d35e
use correct stride for draw image
2021-06-17 00:14:34 +02:00
Maximilian Krög
3791dee358
Fix immediate render with pixel ratio != 1
2021-06-17 00:14:27 +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
a5e596c70d
Merge pull request #12378 from mike-000/patch-5
...
Correct .split() calls to only split numeric srid for ArcgisRest
2021-06-16 17:19:10 +02:00
Andreas Hocevar
cd719ffb34
Avoid infinite source tile cache size
2021-06-15 20:30:43 +02:00
Andreas Hocevar
ad4ff9f695
Keep track of loading source tiles when reused
2021-06-15 18:52:36 +02:00
Andreas Hocevar
3c4514aabf
Do not expire tiles from source tile caches that are still used by render tiles
2021-06-15 17:26:24 +02:00
Tim Schaub
863d387927
Merge pull request #12393 from mike-000/patch-6
...
Scale up static Image and round to nearest pixel to avoid rounding errors
2021-06-14 09:06:43 -06:00
mike-000
3fb57f0988
ensure getUrl() corresponds to last setUrl()
2021-06-09 15:34:25 +01:00
mike-000
0b6a58353d
Update resolution when setting image
2021-06-09 14:47:41 +01:00
mike-000
c0580262f1
scale up and round to avoid rounding errors
2021-06-09 12:52:09 +01:00
mike-000
ec5864a41a
ensure srid is numeric, otherwise use entire code
...
lint
2021-06-06 18:09:49 +01:00
mike-000
bb8c82b98c
ensure srid is numeric, otherwise use entire code
...
lint
2021-06-06 18:09:45 +01:00
mike-000
1bb75897ee
ensure srid is numeric, otherwise use entire code
...
removed duplicate )
2021-06-06 18:00:16 +01:00
mike-000
fcdf7d02ac
ensure srid is numeric, otherwise use entire code
2021-06-06 16:03:31 +01:00
mike-000
430267a175
ensure srid is numeric, otherwise use entire code
2021-06-06 15:57:08 +01:00
Tim Schaub
c6a06018c3
Merge pull request #12368 from openlayers/dependabot/npm_and_yarn/typescript-4.3.2
...
Bump typescript from 4.2.4 to 4.3.2
2021-05-31 14:33:41 -06:00
Tim Schaub
9a38b3fc1c
Cast layer to base vector type
2021-05-31 14:25:21 -06:00
Tim Schaub
05f1da24d7
Mark origin as optional
2021-05-31 14:25:01 -06:00
Tim Schaub
f61c502700
Correct type for success callback
2021-05-31 14:24:41 -06:00
Andreas Hocevar
93b5ec9d43
Merge pull request #12364 from ahocevar/vectortile-faster-and-simpler-loading
...
Simpler and faster VectorTile loading
2021-05-31 22:12:40 +02:00
Andreas Hocevar
5ab7cbf905
Simpler and faster VectorTile loading
2021-05-30 21:22:03 +02:00
mike-000
f7e5c3cb84
Fix broken ImageData links
2021-05-26 22:45:22 +01:00
Andreas Hocevar
04e323d69e
Merge pull request #12330 from ahocevar/emulated-event
...
Do not require PointerEvent constructor
2021-05-25 22:04:56 +02:00
Simon Seyock
3d7ee5700e
document descending order of resolutions array
2021-05-25 18:13:46 +02:00
Andreas Hocevar
432bd7f851
Allow custom properties in the constructor using the properties option
2021-05-24 23:23:51 +02:00
mike-000
464e9ec6ec
Document the input to an attribution function
2021-05-24 15:05:54 +01:00
Andreas Hocevar
dc83e46767
Merge pull request #12306 from M393/canvas-reuse
...
Fix layer canvas reuse
2021-05-23 11:03:47 +02:00
Maximilian Krög
5c7e499317
More consistent example for ol/layer/MapboxVector
2021-05-19 19:42:40 +02:00
Maximilian Krög
bf0671fc08
Fix layer canvas reuse
...
If the scale values have more than 6 decimals they are rounded and can no longer be
compared to the created transform string.
2021-05-18 15:43:55 +02:00
Andreas Hocevar
01029ac146
Do not require PointerEvent constructor
2021-05-17 21:31:52 +02:00
MoonE
f66fc99bd8
Merge pull request #12315 from MoonE/accessibility-attributions
...
Improve attribution accessibility
2021-05-14 21:18:43 +02:00