Maximilian Krög
49acb39f72
Return null when not snapped
2022-03-07 08:57:31 +01:00
pala
e47bd0bb93
Snap Interaction can snap to Point on line segment
...
Fixes #13440
2022-03-07 08:57:31 +01:00
Maximilian Krög
1ae1ff26a0
Initialize variable before use in FullScreen control
...
isInFullscreen_ was not initialized in the constructor when setClassName_
is called.
- Only remove the unnecessary classes when state changes instead of removing
all and then adding the necessary classes again
2022-03-04 20:08:02 +01:00
Alan Moffat
87d87a155a
Ensure FullScreen button has classname set on render.
...
When the FullScreen icon is first rendered, the button within it is not having the inactive classname set. The class name is set on toggling fullscreen on/off - just not being set on render.
2022-03-04 11:13:02 +00:00
EvertEt
17033e162d
Guard PluggableMap against null renderer
2022-03-02 12:24:24 +01:00
Maximilian Kroeg
c5edb50557
Fix rendercomplete event with invisible WebGLPoints layer
2022-03-02 11:03:42 +01:00
Andreas Hocevar
20e352111c
Handle layers without renderer properly
2022-02-28 07:36:34 +01:00
Andreas Hocevar
8672e7e97c
Merge pull request #13417 from ahocevar/geotiff-resolution-tolerance
...
Increase GeoTIFF resolutions tolerance
2022-02-27 16:05:35 +01:00
Andreas Hocevar
7b880b27d1
Increase GeoTIFF resolutions tolerance
2022-02-24 17:47:21 +01:00
mike-000
69f8a824ec
Check for resolution change and fix unrotated size
...
Calculate unrotated width and height from frame size and resolution
Check for changes in resolution as well as extent when rendered extent fits inside frame
2022-02-24 10:53:32 +00:00
Andreas Hocevar
18f06b8b9a
Rich text labels
2022-02-23 12:36:56 +01:00
Andreas Hocevar
1f8338d3b8
Merge pull request #13398 from yonda-yonda/update_static_image_change_projection
...
Clear image when source's image is not ready
2022-02-21 08:42:16 +01:00
yonda-yonda
a631e7ba68
clear image when source status is EMPTY.
2022-02-20 00:26:31 +09:00
Maximilian Krög
5a49410d82
Center should remain valid when resolution is not set
2022-02-18 00:55:34 +01:00
Maximilian Krög
19c034fd12
Fix setting center to undefined
...
It only worked when the coordinate warning was shown, but
fromUserCoordinate shouldn't have been called with undefined in
the first place.
2022-02-18 00:06:56 +01:00
MoonE
57e9a4d1a8
Merge pull request #13390 from MoonE/icon-clone
...
Fix clone of icon loses imgSize when cache is full
2022-02-17 20:04:32 +01:00
Andreas Hocevar
b7d022f80e
Use same clipping method for vector and image tiles
2022-02-17 18:12:19 +01:00
Andreas Hocevar
3b4a2d5966
Remove unused clip code
2022-02-17 15:49:21 +01:00
Andreas Hocevar
c9ff07a695
Reduce the number of clip operations
2022-02-17 15:18:23 +01:00
Maximilian Krög
ab5e4f8838
Fix cloning of Icon style when IconImage is not cached
2022-02-17 00:58:35 +01:00
MoonE
f99c43db4d
Merge pull request #13385 from MoonE/jsdoc-references-2
...
Change remaining links to point to class page instead of module
2022-02-15 19:14:00 +01:00
Andreas Hocevar
63fc00902f
Warn once when suspicious coordinate are used
2022-02-15 08:50:05 +01:00
Maximilian Krög
f236ff0086
Lower case first letter for function parameter
2022-02-14 22:04:26 +01:00
Maximilian Krög
5788ce51a5
Fix one more link to a class page
2022-02-14 21:53:47 +01:00
Maximilian Krög
b29ab8f104
Link to class instead of module pages
2022-02-14 21:53:07 +01:00
Andreas Hocevar
75a3adccce
Add useGeographic() and setUserProjection() to the API
2022-02-14 14:09:49 +01:00
Sergi Ávila
f9bc546e1e
Fix type on GeoJSON
2022-02-14 12:50:06 +01:00
Sergi Ávila
7e1bbd1c6d
Fix type on Circle, return null coordinates
2022-02-14 12:49:19 +01:00
Sergi Ávila
087090c07d
Fix wrong array generic type
2022-02-14 12:46:18 +01:00
Maximilian Krög
300cf6c2bb
Replce description for WebGLHelper.DefaultAttrib
2022-02-13 15:53:18 +01:00
Maximilian Krög
b9f9280260
Use code formatting for argument names in jsdoc
2022-02-13 13:39:10 +01:00
Maximilian Krög
a0dd0054a9
Fix jsdoc references
2022-02-13 13:39:06 +01:00
Maximilian Krög
e2c9f62cc6
Fix VectorSource isEmpty without spatial index
2022-02-13 00:08:24 +01:00
Andreas Hocevar
53239f7b1e
Document difference between Vector and VectorImage layers
2022-02-12 12:57:19 +01:00
MoonE
b5fe0f5b86
Merge pull request #12998 from MoonE/fix-cluster-setSource-type
...
Fix `ol/source/Cluster#setSource` type annotation
2022-02-11 22:38:47 +01:00
Tim Schaub
437b2a0fc2
Merge pull request #13357 from tschaub/preload
...
Preload tiles for WebGL tile layers
2022-02-10 14:36:31 -07:00
MoonE
c08f54b5d3
Merge pull request #13358 from MoonE/dispatch-events
...
Avoid event creation when there are no listeners
2022-02-10 20:54:09 +01:00
Tim Schaub
49fc16ef35
Merge pull request #13363 from mike-000/floor-round-ceil
...
Add floor, round and ceil to style expressions
2022-02-10 11:46:28 -07:00
mike-000
57db9a6a12
Add floor, round and ceil
2022-02-10 15:37:45 +00:00
mike-000
bf199bbe38
handle WebGL layers
2022-02-10 11:40:44 +00:00
Maximilian Krög
ac0b8ff4a4
Add hasListener check around dispatchEvent calls
2022-02-09 22:27:42 +01:00
Maximilian Krög
d35d1cc8ad
Avoid creating event object when nobody is listening
2022-02-09 22:27:36 +01:00
Tim Schaub
6f005e1f30
Preload tiles for WebGL tile layers
2022-02-09 14:01:14 -07:00
Tim Schaub
96de98bfbb
Merge pull request #13301 from EvertEt/strictnullchecks-2
...
Improve some null types to prepare for strictNullChecks
2022-02-09 04:51:54 -07:00
Tim Schaub
2526a04f2a
Merge pull request #13338 from tschaub/get-layer-data
...
Get pixel data
2022-02-08 20:46:18 -07:00
Tim Schaub
093f64c07d
Deprecate map.forEachLayerAtPixel()
2022-02-08 18:30:45 -07:00
Maximilian Krög
725729344c
Remove warning for @type annotation by jsdoc
2022-02-08 21:38:41 +01:00
Maximilian Krög
9f8f7afaaa
Fix ol/source/Cluster#setSource type annotation
2022-02-08 21:11:23 +01:00
Tim Schaub
97a1c196cc
Merge pull request #13334 from EvertEt/strictnullchecks-4
...
Improve some null types for strictNullChecks
2022-02-08 10:32:32 -07:00
Tim Schaub
bd86639351
Keep track of when a layer is unrendered
2022-02-08 10:23:55 -07:00