Matt Walker
f3d94b3132
Fix lint error
2020-01-10 11:16:54 +00:00
Matt Walker
34dc538122
Stop events that originate with a removed target
...
As discussed in https://github.com/openlayers/openlayers/issues/6948#issuecomment-565375694
The check to see if the target is within the "page" uses the viewport as
the MapBrowserEventHandler instance adds it's listeners to the viewport.
Using Node.contains appears to have a slight performance benefit
over manually walking the DOM.
2020-01-10 10:48:15 +00:00
Andreas Hocevar
c851f6c6bf
Merge pull request #10498 from gazza0/master
...
Fixing issue #10497 on behalf of LarryHuang
2020-01-09 14:10:53 +01:00
gazza0
88e3db4928
Merge pull request #1 from gazza0/gazza0-patch-1
...
Fixing issue #10497 on behalf of LarryHuang
2020-01-09 03:01:20 -08:00
gazza0
420e7d87ae
Fixing issue #10497 on behalf of LarryHuang
...
Since Larry is not able to access github, i'm committing on behalf of him, explanation of the issue and he's original fix can be found https://github.com/openlayers/openlayers/issues/10497
2020-01-09 02:52:21 -08:00
Andreas Hocevar
44fab1000e
Merge pull request #10496 from ahocevar/stopevent-dragging
...
Do not stop events when dragging
2020-01-09 09:52:57 +01:00
Andreas Hocevar
a4735e0700
Merge pull request #10478 from ahocevar/abort-without-dispose
...
Do not abort and dispose of tiles
2020-01-09 09:52:07 +01:00
Andreas Hocevar
b26f570cb7
Do not stop events when dragging
2020-01-08 21:39:29 +01:00
Andreas Hocevar
e2687da202
Merge pull request #10495 from danielklim/dlim/view-fit-typo
...
typo in view.fit
2020-01-08 12:57:40 +01:00
Andreas Hocevar
9f4dbd3c35
Reuse existing canvases from vector render tiles
2020-01-08 10:53:43 +01:00
Andreas Hocevar
5a8df1d4e2
We no longer need to increase the cache size
2020-01-08 10:53:42 +01:00
Andreas Hocevar
46d98201c3
Store source tiles on render tile instead of source
2020-01-08 10:53:42 +01:00
Dan Lim
21e9601d7b
typo in view.fit
2020-01-07 16:12:06 -08:00
Tim Schaub
8125463e59
Merge pull request #10473 from mike-000/patch-1
...
Fix for undefined source in Vector layer
2020-01-06 18:25:11 -07:00
mike-000
cb665b7ea7
Simplify to return false if layer has no source
2020-01-06 17:31:38 +00:00
Frédéric Junod
c1c256040e
Merge pull request #10484 from fredj/heatmap_gradient_update
...
Use a function to get the value of the gradient
2020-01-06 11:06:43 +01:00
Frederic Junod
5a1921d7bd
Use a function to get the value of the gradient
2020-01-06 10:52:16 +01:00
Frédéric Junod
adea3b48dc
Merge pull request #10480 from openlayers/dependabot/npm_and_yarn/mocha-7.0.0
...
Bump mocha from 6.2.2 to 7.0.0
2020-01-06 10:48:01 +01:00
Frédéric Junod
d60a153ca6
Merge pull request #10482 from openlayers/dependabot/npm_and_yarn/sinon-8.0.2
...
Bump sinon from 8.0.1 to 8.0.2
2020-01-06 10:47:19 +01:00
Frédéric Junod
d1ef920fab
Merge pull request #10481 from openlayers/dependabot/npm_and_yarn/yargs-15.1.0
...
Bump yargs from 15.0.2 to 15.1.0
2020-01-06 10:46:59 +01:00
Frédéric Junod
ff2a33367d
Merge pull request #10479 from openlayers/dependabot/npm_and_yarn/rollup-1.28.0
...
Bump rollup from 1.27.14 to 1.28.0
2020-01-06 10:46:28 +01:00
Olivier Guyot
6d092cf1a6
Merge pull request #10262 from bjornharrtell/lazy-dom-impl
...
Rework to make Document and XMLSerializer lazy and injectable
2020-01-06 09:37:17 +01:00
dependabot-preview[bot]
68de72d1cc
Bump sinon from 8.0.1 to 8.0.2
...
Bumps [sinon](https://github.com/sinonjs/sinon ) from 8.0.1 to 8.0.2.
- [Release notes](https://github.com/sinonjs/sinon/releases )
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sinonjs/sinon/compare/v8.0.1...v8.0.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-06 07:38:58 +00:00
dependabot-preview[bot]
780e4f5fbd
Bump yargs from 15.0.2 to 15.1.0
...
Bumps [yargs](https://github.com/yargs/yargs ) from 15.0.2 to 15.1.0.
- [Release notes](https://github.com/yargs/yargs/releases )
- [Changelog](https://github.com/yargs/yargs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/yargs/compare/v15.0.2...v15.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-06 07:38:20 +00:00
dependabot-preview[bot]
77c2c04ae6
Bump mocha from 6.2.2 to 7.0.0
...
Bumps [mocha](https://github.com/mochajs/mocha ) from 6.2.2 to 7.0.0.
- [Release notes](https://github.com/mochajs/mocha/releases )
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mochajs/mocha/compare/v6.2.2...v7.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-06 07:37:44 +00:00
dependabot-preview[bot]
c840d29f9f
Bump rollup from 1.27.14 to 1.28.0
...
Bumps [rollup](https://github.com/rollup/rollup ) from 1.27.14 to 1.28.0.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v1.27.14...v1.28.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-06 07:36:59 +00:00
Björn Harrtell
05a5f162d4
Move logic from dom to xml module
2020-01-05 13:12:27 +01:00
Björn Harrtell
5b661ed84c
Fix jsdoc
2020-01-05 13:00:44 +01:00
Björn Harrtell
bdc20e0293
Rework to register Document and add XMLSerializer
2020-01-05 13:00:44 +01:00
Björn Harrtell
fc46166821
Fix argument name mixup
2020-01-05 13:00:44 +01:00
Björn Harrtell
90d61033e0
Rework to make DOMImplementation lazy and injectable
2020-01-05 13:00:44 +01:00
Andreas Hocevar
2875685b3c
Use TileCache instead of custom structure
2020-01-05 12:25:44 +01:00
Andreas Hocevar
ae1ee192f3
Avoid misleading bind argument
2020-01-05 12:09:46 +01:00
Andreas Hocevar
bec747e513
Remove unused argument and member
2020-01-05 12:08:43 +01:00
Andreas Hocevar
6affeb0beb
Do not dispose VectorRenderTiles
2020-01-05 11:52:45 +01:00
Andreas Hocevar
da6eed850c
Do not lock label cache entries
2020-01-05 11:24:46 +01:00
Andreas Hocevar
ae336f0a1b
Remove disposeInternal of ImageTile and reproj/Tile
2020-01-05 00:13:05 +01:00
Andreas Hocevar
b91e1a893d
Do not abort and dispose of tiles
2020-01-05 00:05:24 +01:00
mike-000
5b1df4438d
Fix for undefined source in Image layer
...
Prevent error if layer does not have a source. Also clear any existing image if source is set to null or undefined by setSource.
2020-01-01 22:04:10 +00:00
mike-000
f48704cac4
Fix for undefined source in Vector layer
...
A source left or set undefined is equivalent to an empty source so treat it as such to prevent errors in prepareFrame
2020-01-01 21:04:12 +00:00
Tim Schaub
6063021792
Merge pull request #10461 from MoonE/apidocs-objecttypelink
...
Fix link in apidocs to ObjectEvent.
2019-12-31 00:27:27 -05:00
Tim Schaub
ada6ff7290
Merge pull request #10466 from openlayers/dependabot/npm_and_yarn/webpack-4.41.5
...
Bump webpack from 4.41.4 to 4.41.5
2019-12-31 00:25:10 -05:00
Tim Schaub
5b3338b6f7
Merge pull request #10467 from openlayers/dependabot/npm_and_yarn/sinon-8.0.1
...
Bump sinon from 8.0.0 to 8.0.1
2019-12-31 00:24:38 -05:00
dependabot-preview[bot]
e8a17376b6
Bump sinon from 8.0.0 to 8.0.1
...
Bumps [sinon](https://github.com/sinonjs/sinon ) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/sinonjs/sinon/releases )
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sinonjs/sinon/compare/v8.0.0...v8.0.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-30 07:38:28 +00:00
dependabot-preview[bot]
58482c6c64
Bump webpack from 4.41.4 to 4.41.5
...
Bumps [webpack](https://github.com/webpack/webpack ) from 4.41.4 to 4.41.5.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v4.41.4...v4.41.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-30 07:37:37 +00:00
Maximilian Krög
9622a8ca93
Fix link in apidocs to ObjectEvent.
2019-12-27 23:35:19 +01:00
Olivier Guyot
e4ea272799
Merge pull request #10413 from MoonE/zoomsliderextent
...
Limit the ZoomSlider's range to the view's constrained resolution.
2019-12-23 14:59:19 +01:00
Olivier Guyot
b68d5e139d
Merge pull request #10438 from jahow/prevent-layout-reflow
...
Avoid accessing the DOM to read the viewport size too often
2019-12-23 10:57:42 +01:00
Olivier Guyot
4440994ec8
Avoid recomputing the viewport size by reading the DOM everytime
...
Also clarify View#calculateExtent doc & remove the [data-view] attribute
on the viewport element (not needed anymore).
2019-12-23 10:47:54 +01:00
Andreas Hocevar
c66a19c9cc
Merge pull request #10450 from openlayers/dependabot/npm_and_yarn/babel/core-7.7.7
...
Bump @babel/core from 7.7.5 to 7.7.7
2019-12-23 10:43:17 +01:00