Commit Graph

12752 Commits

Author SHA1 Message Date
Andreas Hocevar
6c09fa5c44 Handle out of shadow dom dragging and explain logic better 2020-05-22 09:49:27 +02:00
Andreas Hocevar
12b2269265 Fix outside window dragging 2020-05-22 09:18:50 +02:00
mike-000
cf0e650435 allow scale to be two dimensional
add getScaleArray() method

test two dimension scale icons
test two dimension scale text

add example of icon and label scaling
use smaller icon and larger interval
test two dimensional scale icons
test two dimensional scale icons
2020-05-20 09:54:47 +01:00
Tim Schaub
bfee5c00c9 Update function return types 2020-05-18 17:11:13 -06:00
Tim Schaub
fc896eb8c7 Call disposeInternal on the super 2020-05-17 12:17:42 -06:00
Andreas Hocevar
567d2be816 Merge pull request #11046 from pjsg/fix-reprojection
Reprojection: Just draw everything on pixel boundaries (always)
2020-05-17 15:44:40 +02:00
Andreas Hocevar
92a47b5e57 Make formatting prettier 2020-05-17 15:35:28 +02:00
Alexis
b57c0ad631 docs: standardize opaque's jsdoc comment to say 'Whether the layer is oqaque'
-
2020-05-17 15:04:25 +02:00
Alexis
2f03706e80 docs: fix opaque's jsdoc default value to false
fix #10964
2020-05-17 14:54:45 +02:00
Tim Schaub
b16c2e0062 Include pixelworks and terminate workers before creating new ones 2020-05-16 22:19:40 -06:00
philip
c1949a28f0 Just draw everything on pixel boundaries. Browsers just get the
difficult cases wrong.
2020-05-17 00:13:40 +00: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