Commit Graph

13518 Commits

Author SHA1 Message Date
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
MoonE
99aa3b2640 Correctly initialize attribution aria state
Co-authored-by: Marc Jansen <jansen@terrestris.de>
2021-05-14 21:03:51 +02:00
AndersVittrup
aa61c47fc4 Fixed document ref in hitdetect
fixed lint
2021-05-13 20:51:40 +02:00
Maximilian Krög
fc9e3e5610 Improve attribution accessibility
Tab order of attribution text should be after the toggle button
Add aria-expanded state to the toggle button.
2021-05-13 16:42:56 +02:00
Maximilian Krög
de4a93709a Inherit layer group zIndex 2021-05-13 01:44:08 +02:00
mike-000
666c996f8e Update src/ol/interaction/Translate.js
Co-authored-by: Tim Schaub <tschaub@users.noreply.github.com>
2021-05-10 19:53:30 +01:00
mike-000
41cc956b52 Add condition option 2021-05-10 16:03:01 +01:00
Maximilian Krög
c19ebc72cb Fix dragzoom with rotated view
When the view is rotated the extent of the drag box is not the same as the
drag box.
2021-05-08 05:15:11 +02:00
Maximilian Krög
8129a39196 Fix DragZoom with View padding 2021-05-07 14:18:22 +02:00
Tim Schaub
f08f31101c Lowercase module names for modules without a default export 2021-05-03 07:32:12 -06:00
mike-000
45f88eb107 Do not set projection extent 2021-04-27 14:49:27 +01:00
MoonE
c5d6ea3f6a Merge pull request #12227 from MoonE/fix-ie11-event-handling
Fix event handling for map in shadow root
2021-04-17 20:38:15 +02:00
Maximilian Krög
57e4e98757 Fix event handling with shadow-dom and ie11 event handling 2021-04-17 00:43:42 +02:00
Andreas Hocevar
7ec5cbffe9 Set block layout for text measurement 2021-04-16 22:46:14 +02:00
Maximilian Krög
f999f1a675 Fix zoomslider layout with padding 2021-04-16 00:29:06 +02:00