Commit Graph

13147 Commits

Author SHA1 Message Date
Maximilian Krög c97bf3432f Fix transform for immediate rendering on canvas
If the canvas css transform does not match the frameState pixelRatio the drawing
is at the wrong size.
2021-07-04 18:33:43 +02:00
Simon Seyock 20d1b907bd Fix documentation for GML class. 2021-07-02 10:53:01 +02:00
Andreas Hocevar 6aeed0ff96 Merge pull request #12373 from mike-000/patch-1
Rework TileDebug to allow TMS coordinates and to fix reprojection
2021-06-29 14:28:09 +02:00
Andreas Hocevar be6c757ff6 Don't add setImage to the API 2021-06-29 14:19:58 +02:00
mike-000 d8a5b91ad5 Make setImage() synchronous 2021-06-29 10:53:46 +01:00
mike-000 44319cf233 handle synchronous loading correctly 2021-06-29 10:53:46 +01:00
mike-000 ee5553debb Rework TileDebug to fix reprojection issue and allow {-y}
Add setImage method to ol/ImageTile
2021-06-29 10:53:44 +01:00
Andreas Hocevar 79f5f46d27 Remove lint 2021-06-28 18:10:51 +02:00
MoonE 8155eda706 Merge pull request #12413 from MoonE/vectorlayer-hitdetect-image-invalidation
Fix hitdetection image invalidation
2021-06-21 22:47:21 +02:00
Andreas Hocevar ed5c451679 Merge pull request #12405 from ahocevar/vectortile-getsourcetiles
VectorTile getSourceTiles behaviour with loading source tiles
2021-06-21 22:04:27 +02:00
MoonE e9fd3fe201 Merge pull request #12212 from voegelas/ignore-empty-gx-coord
Ignore empty gx:coord elements in KML files
2021-06-21 18:18:00 +02:00
MoonE 029ce47907 Merge pull request #12418 from MoonE/fix-icon-tinting
Fix icon tinting with pixelRatio < 1
2021-06-21 18:16:06 +02:00
Andreas Hocevar b7585e7571 Merge pull request #12409 from M393/wmts-bounding-box
Fix WMTS wrapX detection if WGS84BoundingBox is not set
2021-06-21 12:40:01 +02:00
Andreas Hocevar a478377861 Merge pull request #12237 from M393/fix-modify-hitdetection
Fix Modify interaction with hitDetection
2021-06-21 12:36:01 +02:00
Andreas Hocevar b6c143deb2 Merge pull request #12416 from ahocevar/eventtype-generics
Use generics to limit event types in on(), once() and un()
2021-06-21 09:36:25 +02:00
Andreas Hocevar 7777821df5 Merge pull request #12408 from ahocevar/modify-no-insert
Do not fire modifystart when nothing is being modified
2021-06-21 08:05:53 +02:00
Andreas Hocevar 4dd75d75e3 Merge pull request #12414 from ahocevar/change-event-type
Replace getChangeEventType() with add/removeChangeListener methods
2021-06-21 08:04:23 +02:00
Maximilian Krög 1fc94337f7 Fix icon tinting with pixelRatio < 1 2021-06-21 00:13:55 +02:00
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