Commit Graph

12690 Commits

Author SHA1 Message Date
Andreas Hocevar
9b1f8fa1d1 Losen listener type 2020-04-17 11:28:33 +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
Andreas Hocevar
7dd6d72093 Avoid page scrolling when freehand drawing on mobile 2020-04-05 22:02:19 +02:00
Andreas Hocevar
79ccef7bf6 Do not append hit canvas to document body 2020-04-05 09:55:09 +02:00
mike-000
a1dd9cacf7 fix return type 2020-04-04 14:00:20 +01:00
Frédéric Junod
d8cbda18a7 Merge pull request #10840 from fredj/remove_inheritDoc
Remove inherit doc
2020-04-04 14:06:43 +02:00
Andreas Hocevar
77763991dc Merge pull request #10537 from mike-000/patch-3
Correct resolution used for scale bar and add dpi option
2020-04-04 09:53:54 +02:00
Andreas Hocevar
58b92aca6f Merge pull request #10463 from pjsg/fix_triangulation
Fix issue with reprojection and double drawing pixels.
2020-04-04 09:44:28 +02:00
philip
4e81cf02ee Remove the unused import 2020-04-03 21:58:51 +00:00
philip
665a8275f6 It appears that Safari and Chrome behave differently when doing a drawImage
with coordinates that are outside the source. Chrome appears to draw the
piece of the image that is within the area specified on the drawImage and within
the source. Safari bails and draws nothing if (I think) any of the corners are outside
the source.
2020-04-03 21:54:42 +00:00
mike-000
fb84426411 use constant for default dpi 2020-04-03 17:17:11 +01:00
mike-000
6aa953b571 base minWidth on default dpi & remove setMinWidth 2020-04-03 17:11:25 +01:00
Andreas Hocevar
b80e3a3a41 Merge pull request #10429 from mike-000/patch-4
Option to disable image smoothing for Tile layer sources (including reprojected sources)
2020-04-03 15:41:51 +02:00
Olivier Guyot
22c02e7f35 Merge pull request #10865 from jahow/view-animate-updatesize-fix
View / avoid solving constraints related to map size during animation
2020-04-03 13:55:54 +02:00
Frederic Junod
dda7342ea7 Remove all inheritDoc tags from src/ol/renderer 2020-04-03 09:08:09 +02:00
Frederic Junod
9e862c1111 Remove all inheritDoc tags from src/ol/ 2020-04-03 08:20:49 +02:00
Frederic Junod
d15ec1c12c Remove all inheritDoc tags from disposeInternal functions 2020-04-03 08:10:41 +02:00
Frederic Junod
a695ce8616 Remove all inheritDoc tags from src/ol/render 2020-04-03 07:56:58 +02:00
Frederic Junod
15d36a22f0 Remove all inheritDoc tags from src/ol/layer 2020-04-03 07:56:58 +02:00
Frederic Junod
506aa7aae7 Remove all inheritDoc tags from src/ol/style 2020-04-03 07:56:58 +02:00
Frederic Junod
615ae71a8f Remove all inheritDoc tags from src/ol/source 2020-04-03 07:56:58 +02:00
Frederic Junod
da8ef43db7 Remove all inheritDoc tags from src/ol/interaction 2020-04-03 07:52:51 +02:00
Frederic Junod
706dd3c87c Remove all inheritDoc tags from src/ol/control 2020-04-03 07:52:51 +02:00
Frederic Junod
6522e6a17f Pass the id field name as a new param 2020-04-03 07:52:51 +02:00
Frederic Junod
d7c83e4651 Remove all inheritDoc tags from src/ol/format 2020-04-03 07:52:51 +02:00
Frederic Junod
f392f6b6bb Remove all inheritDoc tags from src/ol/geom 2020-04-03 07:52:51 +02:00
philip
a308e9ee13 Merge remote-tracking branch 'origin/master' into fix_triangulation 2020-04-02 22:58:59 +00:00
mike-000
dfcc649c59 Merge branch 'master' into patch-4 2020-04-02 22:37:36 +01:00
mike-000
b866a447c2 assign tile source context options to context 2020-04-02 22:28:09 +01:00
mike-000
5c848ac1b9 make context options available to renderer 2020-04-02 20:10:07 +01:00
mike-000
0ba659b6af make context options available to renderer 2020-04-02 20:09:58 +01:00
Geert Premereur
2d7e55e26a Small code cleanup
drop superfluous if.
2020-04-02 20:05:14 +02:00
Geert Premereur
a30a92a963 CK-240: fix multiple select interactions on map
event handlers have to be (de)activated when the interaction is added or removed to the map, not when constructed

added unit test
2020-04-02 20:05:14 +02:00
Geert Premereur
10c7f08fa4 Select style multiple select interactions removed
This fixes issue 10486 by removing the event listeners when an
interaction is removed from a map.
2020-04-02 20:00:37 +02:00