Commit Graph

12592 Commits

Author SHA1 Message Date
Tim Schaub
b16c2e0062 Include pixelworks and terminate workers before creating new ones 2020-05-16 22:19:40 -06:00
Andreas Hocevar
e5167f4e12 Fix custom controls with user-provided element 2020-05-15 17:50:44 +02:00
Andreas Hocevar
1a2b4bd479 Merge pull request #11025 from ahocevar/no-more-mapbrowser-pointer-event
Get rid of MapBrowserPointerEvent
2020-05-11 09:11:00 +02:00
Andreas Hocevar
653c4db24c Merge pull request #11024 from ahocevar/webcomponent-improvements
Make events work when inside a web component
2020-05-11 09:07:55 +02:00
Andreas Hocevar
0ed64ae747 Merge pull request #11019 from mike-000/patch-10
Option to disable image smoothing for Image layer sources
2020-05-10 18:23:06 +02:00
Andreas Hocevar
c6341bbcd9 Fix types for events 2020-05-10 18:19:45 +02:00
Andreas Hocevar
33ce206bab Get rid of MapBrowserPointerEvent 2020-05-10 16:54:34 +02:00
Andreas Hocevar
12b5a829d9 Make events work when inside a web component 2020-05-10 08:40:47 +02:00
Maximilian Krög
b6b17ea202 Add MapBrowserPointerEvent to apidoc 2020-05-09 16:23:11 +02:00
mike-000
9a8b9d8ade add Image source imageSmoothing option
Add Image smoothing checkbox to example

Test imageSmoothing option
2020-05-09 10:41:20 +01:00
Frédéric Junod
e74832b13b Merge pull request #11017 from fredj/geoloc_stop_tracking
Don't stop geolocation tracking on error
2020-05-07 15:07:25 +02:00
Frederic Junod
7e248bb8e5 Don't stop geolocation tracking on error 2020-05-07 14:34:13 +02:00
mike-000
7f99ce46bb set background fill style for each label
add check for declutter
2020-05-05 16:22:58 +01:00
mike-000
d72c7fdc13 set background fill style for each label 2020-05-05 13:04:25 +01:00
Andreas Hocevar
c60a1dedeb Merge pull request #10977 from ahocevar/no-fail-when-no-executor-group
Only render vector tile when there are executor groups
2020-05-05 09:27:32 +02:00
Andreas Hocevar
7139c0fdcc Merge pull request #10990 from mike-000/patch-9
Include context options in tile cache key
2020-05-04 18:46:48 +02:00
mike-000
c0577c3293 Include context options in reprojection cache key
fix prettier
2020-05-04 16:45:29 +01:00
mike-000
76d2d6e737 Include context options in reprojection cache key
override the inherited getKey() method
2020-05-04 16:27:27 +01:00
mike-000
9e160e75f9 Include context options in reprojection cache key
use reprojection tileCoordKey instead of source key
2020-05-04 14:31:46 +01:00
mike-000
9bf037947c Include context options in reprojection cache key
fix prettier
2020-05-04 12:53:24 +01:00
mike-000
b2a1540ee0 Include context options in reprojection cache key 2020-05-04 12:47:15 +01:00
Tim Schaub
4d9975754f Mapbox vector layer 2020-05-03 16:07:27 -06:00
Andreas Hocevar
fcc9163494 Merge pull request #10987 from mike-000/patch-3
Use brokenDiagonalRendering reprojection processing if image smoothing is disabled
2020-05-03 16:30:13 +02:00
Andreas Hocevar
9fccf0f25d Merge pull request #10948 from wussup/patch-3
Add constrainResolution option
2020-05-03 16:27:24 +02:00
Andreas Hocevar
29eb314ce9 Fix isDrawableTile for vector render mode 2020-05-03 16:05:17 +02:00
Andreas Hocevar
5c20e86e40 Merge pull request #10981 from nielsmeijer/issue-wmts-bbox
Calculate WMTS TileGrid extent using TileMatrixSetLimit when available
2020-05-03 12:14:27 +02:00
Andreas Hocevar
2d38390e58 Do not rely on custom type overrides 2020-05-02 17:03:12 +02:00
mike-000
bf77f59656 revert change to IMAGE_SMOOTHING_DISABLED 2020-04-30 21:33:00 +01:00
mike-000
d3507e5c5e replace Math.log2 with log2 from ol/math 2020-04-30 19:07:20 +01:00
mike-000
8076a5126d Add log2 function 2020-04-30 18:44:49 +01:00
mike-000
48e938e235 Define browser specific IMAGE_SMOOTHING_DISABLED
fix prettier
2020-04-30 16:56:02 +01:00
mike-000
3c1e00a3ec Define browser specific IMAGE_SMOOTHING_DISABLED
Avoid msImageSmoothingEnabled if the browser does not need it
2020-04-30 16:49:05 +01:00
mike-000
c515183bad Use explicit test for image smoothing disabled
fix prettier
2020-04-30 16:27:43 +01:00
mike-000
fc2fe25e69 Use explicit test for smoothing disabled 2020-04-30 16:23:39 +01:00
mike-000
3643f9ec98 Use BrokenDiagonalRendering with contextOptions
Apply the BrokenDiagonalRendering processing if opt_contextOptions is set to avoid color distortion along reprojection edges
2020-04-30 13:04:30 +01:00
Andreas Hocevar
781a5443cf Handle scaled output canvas correctly 2020-04-29 20:19:42 +02:00
Niels Meijer
9cab1215c0 Use TileMatrixSetLimit for extent calculation when available. 2020-04-29 16:35:36 +02:00
Niels Meijer
88ffc559cc Change XY based on projection.getAxisOrientation(), not only for EPSG:4326 2020-04-29 13:50:08 +02:00
Andreas Hocevar
96802ba645 Remove lint 2020-04-29 09:23:10 +02:00
Niels Meijer
d395b54605 Apply projection.getMetersPerUnit() to calculated resolution 2020-04-28 21:43:59 +02:00
Peter Mulholland
58ba114cb7 Fix whitespace formatting 2020-04-23 17:01:22 -04:00
Peter Mulholland
6008449e07 Add undefined check for navigator.userAgent 2020-04-23 16:08:48 -04:00
wussup
7e1305eab2 Update MouseWheelZoom.js 2020-04-20 16:01:51 +02:00
wussup
b6fc2bf2fe Update MouseWheelZoom.js 2020-04-20 15:58:42 +02:00
wussup
020b387649 Update MouseWheelZoom.js 2020-04-20 15:56:05 +02:00
wussup
ce7be53970 Update MouseWheelZoom.js 2020-04-20 15:51:27 +02:00
wussup
aca8e0880c Update MouseWheelZoom.js 2020-04-20 15:39:36 +02:00
wussup
fc4ec899ca Add constrainResolution option
Sometimes we may have the functionality to set scale/resolution provided by a user and it can be any number (so constrainResolution in View class is not useful), but we would like to have constrainResolution in mouse wheel zoom event.
2020-04-20 15:36:19 +02:00
Andreas Hocevar
2760b0dafb Merge pull request #10936 from ahocevar/css-optional
Set pointerEvents style programmatically instead of relying on ol.css
2020-04-18 17:31:36 +02:00
Andreas Hocevar
c020389551 Merge pull request #10941 from ahocevar/prevent-scroll-on-drag
Always prevent default after handleDragEvent
2020-04-18 17:31:00 +02:00