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
philip
e35795c5a3
Rework code to pass eslint
2019-12-30 16:46:20 +00:00
philip
89ed757273
Fix indentation
2019-12-30 16:22:44 +00:00
philip
f457093baf
Handle the zoomed out case where the source extent is infinite. This
...
does raise the question of whether an Infinite extent intersects a
finite extent. It appears not to, but maybe it should.
2019-12-28 22:31:30 +00:00
philip
4040d03ae6
Fix problem with zero size canvas drawing
2019-12-28 18:09:07 +00:00
philip
a6b1df3574
Fix missing corners of the world
2019-12-28 17:47:53 +00:00
philip
b71b87d7bb
Fix issue with reprojection and double drawing pixels.
2019-12-28 03:40:10 +00: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
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
Maximilian Krög
33389969ce
Limit the ZoomSlider's range to the view's constrained resolution.
2019-12-20 23:13:41 +01:00
Maximilian Krög
d7eaacf923
Small performance improvement by saving the calculated logarithm.
2019-12-20 23:13:19 +01:00
Olivier Guyot
6c46eb1dd0
Webgl / add support for a rotation parameter in LiteralStyle
...
The ShaderBuilder can now take a rotation expression.
2019-12-20 17:39:40 +01:00
Olivier Guyot
6f000e3155
Add missing documentation in ol/style/expressions
2019-12-20 17:13:15 +01:00
mike-000
560931e976
Set reprojection canvas context options
...
Add example of disabling image smoothing
Add test for reprojection context options
2019-12-20 11:41:42 +00:00
mike-000
ab8e80fc98
Control button span element pointer events
...
Prevent pointer events on span elements within control buttons
2019-12-14 13:47:05 +00:00
mike-000
9d8609dd08
Modify and snap to circle in user coordinates
...
Correct modify interaction at center and at drawn circle circumference
Correct snap interaction at drawn circle circumference
Test circle geometry in a user projection
2019-12-13 16:40:39 +00:00
Olivier Guyot
cae32edb02
WebGL Postprocess / fix viewport computation with pixelratio != 1
2019-12-13 10:34:31 +01:00
Olivier Guyot
ca0ce4986d
Merge pull request #10119 from mike-000/patch-8
...
Add crossOrigin option to ol/format/KML for icons
2019-12-13 09:26:56 +01:00
mike-000
f13ebbee3f
Add crossOrigin option for icons
...
Add * @this {KML} to functions invoked using .call
2019-12-12 17:21:14 +00:00
Andreas Hocevar
c1857efd81
Use render feature compatible extent check
2019-12-11 22:21:15 +01:00
Andreas Hocevar
8e0a8114d7
Merge pull request #10340 from mike-000/patch-7
...
Draw circles and custom geometry in user coordinates
2019-12-11 10:07:12 +01:00
mike-000
2e544cb677
Circles and custom geometry in user coordinates
...
Pass the view projection to the geometry function so circles and other custom geometry can be given the expected shape/size in the view while being defined in user coordinates.
Add tests to draw circles in a user projection and along both axes
Draw regular polygon in a user projection
Draw box in a user projection
2019-12-10 19:47:37 +00:00
Andreas Hocevar
bbc1de280d
getFeaturesInExtent() for VectorTile source
2019-12-10 14:07:37 +01:00
Andreas Hocevar
f460198850
Simpler tileLoadFunction for vector tiles
2019-12-10 13:50:35 +01:00
Andreas Hocevar
8911b96d3c
Do not preventDefault on pointerdown
2019-12-10 12:25:23 +01:00
Andreas Hocevar
02b34a4c23
Merge pull request #10394 from ahocevar/cleanup-maprenderer
...
Remove map renderer element when disposing
2019-12-09 09:30:55 +01:00
Andreas Hocevar
dc3e515c0e
Merge pull request #10392 from ahocevar/interim-vectortiles
...
Fix interim tile handing for vector tiles
2019-12-09 09:29:01 +01:00
Andreas Hocevar
cefc57622b
Remove map renderer element when disposing
2019-12-08 17:52:28 +01:00
Andreas Hocevar
174dea3232
Fix interim tile handing for vector tiles
2019-12-07 15:18:18 +01:00
Frédéric Junod
f9f8f9c7c5
Merge pull request #10384 from mike-000/patch-4
...
Include Transform typedef in API
2019-12-06 09:42:00 +01:00
Matt Walker
a389903749
Import transpiled rbush. Resolves #10379
2019-12-05 12:09:42 +00:00
mike-000
35b2a92c10
Include Transform typedef in API
2019-12-05 12:06:03 +00:00
Andreas Hocevar
fb73bbaa00
Merge pull request #10363 from ahocevar/svg-layer
...
Interactive SVG layer example
2019-12-03 14:51:37 +01:00
Andreas Hocevar
d3b492d175
Interactive SVG layer example
2019-12-03 14:39:44 +01:00
Olivier Guyot
3530b4cf12
Merge pull request #10120 from mike-000/patch-9
...
Resolve constraints using anchor if following a cancelled animation
2019-12-03 09:37:48 +01:00
Andreas Hocevar
2b6925dc1e
Remove line that was accidently added with #10332
2019-11-30 18:16:54 +01:00
Andreas Hocevar
057650fe7d
Merge pull request #10309 from ahocevar/vectortile-rendermode-vector
...
Bring back vector render mode for vector tile layers
2019-11-29 11:51:38 +01:00
Andreas Hocevar
10a6284b0b
Merge pull request #10332 from ahocevar/no-touch-action-css
...
Conditional default prevention instead of touch-action: none
2019-11-29 09:52:29 +01:00
Andreas Hocevar
0a319ea2a2
Merge pull request #10301 from ahocevar/getfeatures-fixes
...
Create hit detection data per layer and without requestAnimationFrame
2019-11-29 09:44:09 +01:00
Alexandre Dubé
d87caed50f
Set utfgrid tile as loaded after load instead of empty
2019-11-27 11:37:52 -05:00
Andreas Hocevar
cda01cfeb9
Merge pull request #10344 from ahocevar/preemptive-tilejson
...
Fix lazy UTFGrid loading
2019-11-27 10:21:30 +01:00
Andreas Hocevar
79074d31c1
Fix lazy UTFGrid loading
2019-11-27 09:44:43 +01:00
Andreas Hocevar
e2c4670d6a
Merge pull request #10321 from greggian/touch-dragbox
...
Support touch events for DragBox interaction
2019-11-26 18:34:28 +01:00
Andreas Hocevar
a66734dd20
Merge pull request #10330 from greggian/modify-circle
...
Fix modifying circle geometries
2019-11-26 17:42:33 +01:00
Andreas Hocevar
88b8b2f7cb
Conditional default prevention instead of touch-action: none
2019-11-25 01:09:05 +01:00
Greg Gianforcaro
93d3ddb033
Fix modifying circle geometries
...
The Snap interaction may have altered the event coordinate, so Modify
should use the event coordinate whenever available.
Resolves #10316
2019-11-23 00:36:42 -05:00