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
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
Andreas Hocevar
51194c69eb
Always prevent default after handleDragEvent
2020-04-17 22:47:09 +02:00
Andreas Hocevar
c2f4443df8
Merge pull request #10939 from ahocevar/event-type
...
Losen listener type
2020-04-17 14:46:57 +02:00
Andreas Hocevar
9b1f8fa1d1
Losen listener type
2020-04-17 11:28:33 +02:00
Edward Nash
b543e4dedd
Correct notation for optional argument
2020-04-17 10:54:44 +02:00
Edward Nash
17a8017e1e
Fix calling Overlay.panIntoView with no options
...
* API-doc said undefined is OK, code assumed an object
2020-04-17 07:26:28 +02:00
Andreas Hocevar
7f6258dd0d
Set pointerEvents style programmatically instead of relying on ol.css
2020-04-16 17:34:40 +02:00
Andreas Hocevar
fee9340e24
Remove lint
2020-04-15 22:44:05 +02:00
Andreas Hocevar
29ce0bb223
Fix private scope issues in source/UrlTile and subclasses
2020-04-15 10:53:26 +02:00
Andreas Hocevar
793ccbd411
Properly export enum
2020-04-15 10:53:26 +02:00
Andreas Hocevar
bcc94baf22
Fix layer renderer scope issues
2020-04-15 10:53:26 +02:00
Andreas Hocevar
6426cd10dc
Fix render/Feature scope issue
2020-04-15 10:53:25 +02:00
Andreas Hocevar
b0393a098a
Fix WebGLPoints layer scope issue
2020-04-15 10:53:25 +02:00
Andreas Hocevar
8ba051add3
Fix private scope issues in ol/interaction/*
2020-04-15 10:53:25 +02:00
Andreas Hocevar
e14e41bcfb
Remove private and protected scope from GML methods and members
2020-04-15 10:53:25 +02:00
Andreas Hocevar
a2ae18d89a
Fix private scope type issues in format/KML
2020-04-15 10:53:24 +02:00
Andreas Hocevar
f4d64700ef
Fix private scope type issues in controls
2020-04-15 10:53:24 +02:00
Andreas Hocevar
b0f20d6bd6
Use imports for enum types
2020-04-15 10:53:23 +02:00
Frédéric Junod
4bd191755f
Merge pull request #10902 from fredj/readFromDocument
...
Move readFromDocument implementation to the base class
2020-04-09 10:20:51 +02:00
Andreas Hocevar
cb8fb147ec
Do not scroll page during feature translation
2020-04-07 08:53:54 +02:00
Frederic Junod
484f45fc1b
Move readFromDocument implementation to the base class
...
All the child classes have the same code; move to the base class
2020-04-07 07:26:38 +02:00
Tim Schaub
054af09032
Make code prettier
...
This updates ESLint and our shared eslint-config-openlayers to use Prettier. Most formatting changes were automatically applied with this:
npm run lint -- --fix
A few manual changes were required:
* In `examples/offscreen-canvas.js`, the `//eslint-disable-line` comment needed to be moved to the appropriate line to disable the error about the `'worker-loader!./offscreen-canvas.worker.js'` import.
* In `examples/webpack/exapmle-builder.js`, spaces could not be added after a couple `function`s for some reason. While editing this, I reworked `ExampleBuilder` to be a class.
* In `src/ol/format/WMSGetFeatureInfo.js`, the `// @ts-ignore` comment needed to be moved down one line so it applied to the `parsersNS` argument.
2020-04-06 12:54:09 -06:00
Andreas Hocevar
4330697ed2
Fix focus condition
2020-04-06 11:57:10 +02:00
Andreas Hocevar
4a5e8528f9
Merge pull request #10878 from ahocevar/fix-freehand
...
Avoid page scrolling when freehand drawing on mobile
2020-04-05 22:30:54 +02:00