Commit Graph

13518 Commits

Author SHA1 Message Date
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
mike-000
13ec72bcf4 Add NearestDirectionFunction to zDirection typedef 2021-07-09 11:32:27 +01:00
mike-000
ddf7ac6e42 Add zDirection to options 2021-07-09 11:32:27 +01:00
mike-000
07ea4ac1c8 Update description for zDirection 2021-07-09 11:32:26 +01:00
mike-000
cb34b30e4b Update description for getZForResolution direction 2021-07-09 11:32:25 +01:00
mike-000
90598156b6 Handle NearestDirectionFunction 2021-07-09 11:31:41 +01:00
Jakob Miksch
bfe5afe069 MousePosition: allow rendering of empty string 2021-07-08 20:54:45 +02:00
Maximilian Krög
7f088c2eb8 Fix gap in tiles due to floating point math 2021-07-06 21:55:24 +02:00
MoonE
2779ea1849 Merge pull request #12453 from MoonE/kml-multiple-linear-rings
Allow multiple LinearRings per innerBoundaryIs
2021-07-06 00:05:50 +02:00
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
Maximilian Krög
4c346353fa Allow multiple LinearRings per innerBoundaryIs 2021-06-29 20:48:29 +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