Commit Graph

13518 Commits

Author SHA1 Message Date
Maximilian Krög
4be657a28f Fix text decluttering when segment length is zero 2021-09-17 23:09:56 +02:00
Tim Schaub
367d77d1dc Merge pull request #12770 from tschaub/avoid-clamped
Use Uint8Array instead of Uint8ClampedArray for increased browser compatibility
2021-09-17 14:29:59 -06:00
Tim Schaub
da256e6c00 Enable WebGL extensions when required 2021-09-17 14:14:12 -06:00
Andreas Hocevar
0d06f7b493 Merge pull request #12759 from jumpinjackie/fix/control-typings
#12758: Allow undefined to be passed to control setMap(). Also fix type of getMap()
2021-09-17 08:07:39 +02:00
Tim Schaub
836aa4900e Use Uint8Array instead of Uint8ClampedArray for browser compatibility 2021-09-16 15:10:35 -06:00
Andreas Hocevar
c57c898381 Merge pull request #12760 from ahocevar/opacity
Fix opacity handling for tile and vector layers
2021-09-16 19:49:47 +02:00
Tim Schaub
a1eb2481ba Merge pull request #12764 from webwitcher/imageinformationresponse-fix
Fix ImageInformationResponse typedef
2021-09-16 10:16:32 -06:00
Martin Hauck
c86841dae0 Update src/ol/format/IIIFInfo.js
Co-authored-by: Simon Seyock <8100558+simonseyock@users.noreply.github.com>
2021-09-16 17:15:11 +02:00
Martin Hauck
e955eeff21 Fix ImageInformationResponse typedef
`TileInfo` should be an array to conform to https://iiif.io/api/image
2021-09-16 11:41:33 +02:00
Andreas Hocevar
2f5e6906b9 Fix opacity handling for tile and vector layers 2021-09-16 08:49:32 +02:00
Duck
05615df1a3 Allow TileTexture to select float or int based textures. 2021-09-15 15:10:55 -07:00
Duck
f2472b7801 Allow DataTile source to include more than four bands. 2021-09-15 15:10:26 -07:00
Duck
17394cc8be Ensure the texture is loaded into the correct index.
The previous code would try to load subsequent textures into the 0th slot.
2021-09-15 15:10:08 -07:00
Duck
5afd25150f Add additional extension requirements for floating point textures. 2021-09-15 09:35:23 -07:00
mike-000
cb6995d71a Various fixes for browser compatibility issues (#12740)
* Replace Math.log2 with ol/math.log2
* TypedArray.from() browser compatibility fallback
* listen for input and change events for range
2021-09-15 08:45:12 -06:00
Tim Schaub
f9454ba8e3 Merge pull request #12741 from mike-000/GMLBase
Minimal documentation for GMLBase
2021-09-15 08:42:08 -06:00
Jackie Ng
67d885d6ef #12758: Allow undefined to be passed to control setMap(). Consequently the return type of getMap() now can also be undefined as well. 2021-09-16 00:05:53 +10:00
mike-000
5d937b8c5b Remove docs reference to unmanaged layer 2021-09-13 10:27:16 +01:00
mike-000
a5ed3ce853 Change Select to Draw to describe unmanaged layers 2021-09-13 10:20:30 +01:00
mike-000
7b725cfdf0 add @api 2021-09-12 16:20:22 +01:00
mike-000
e0c15c28dc Change canvas style from initial to unset 2021-09-10 20:18:20 +01:00
Andreas Hocevar
f0b3ce635a Merge pull request #12731 from ahocevar/user-resolution
Handle resolution and tile loadingstrategy with user projection
2021-09-10 17:52:48 +02:00
Tim Schaub
bb20ca3c23 Merge pull request #12736 from simonseyock/onsignature-return
OnSignatures return more specific type
2021-09-10 08:33:47 -06:00
Simon Seyock
ce4f6ccb0d OnSignatures return more specific type 2021-09-10 16:11:38 +02:00
Andreas Hocevar
50e89080a4 Use view projection tile grid in tile loadingstrategy 2021-09-10 02:01:47 +02:00
Andreas Hocevar
c9593b0cf6 Adjust resolution for user extent 2021-09-10 02:01:46 +02:00
Simon Seyock
c27974b3da Add missing 'boxstart' event to OnSignature
Fixes #12725
2021-09-09 16:48:23 +02:00
Tim Schaub
c0546c5f07 Rename function to avoid minification failure 2021-09-07 14:18:52 -06:00
Andreas Hocevar
cde6417d62 Add convertToRGB option to GeoTIFF source 2021-09-07 17:19:34 +02:00
Frédéric Junod
4c673ce846 Merge pull request #12716 from fredj/spelling
Spelling fix
2021-09-07 14:15:50 +02:00
Frederic Junod
5c212008de Spelling fix 2021-09-07 09:47:47 +02:00
Tim Schaub
be51d0480c Try harder to get the projection from GeoTIFF headers 2021-09-06 16:55:16 -06:00
Tim Schaub
4b340fc9bc Avoid creating duplicate projections in COG examples 2021-09-06 16:08:10 -06:00
Tim Schaub
81fdcd5a38 Merge pull request #12713 from tschaub/geotiff-crs
Check for GeoTIFF CRS starting with last image
2021-09-06 16:05:02 -06:00
Tim Schaub
cbfbe08aaa Merge pull request #12709 from tschaub/unreferenced-geotiff
Support rendering of GeoTIFF images in pixel coordinates
2021-09-06 15:30:35 -06:00
Tim Schaub
fce42dc80f Check for crs starting with last image 2021-09-06 15:26:19 -06:00
Tim Schaub
9ddca3739b Merge pull request #12711 from tschaub/band-number
Use band numbers starting with one
2021-09-06 12:50:17 -06:00
Tim Schaub
0e4c40e315 Use band numbers starting with one 2021-09-06 11:31:08 -06:00
Tim Schaub
39f62f1fa2 Spelling fix 2021-09-06 11:06:46 -06:00
Tim Schaub
eab8dcf7ba Support rendering of GeoTIFF images in pixel coordinates 2021-09-06 09:14:50 -06:00
Tim Schaub
c0bfcfb7ba Move description above type tag 2021-09-05 11:29:15 -06:00
Tim Schaub
69ec9871e2 Merge pull request #12695 from mike-000/KML
Update Google KML icon anchors and correct icon scaling
2021-09-05 08:51:06 -06:00
mike-000
7b8d6c817b Ensure scale used in calculations is numeric 2021-09-05 00:04:14 +01:00
Tim Schaub
c8067bebbb Add supported media type list to feature formats 2021-09-04 11:17:41 -06:00
mike-000
c76e78d0b3 Update Google default icon hotspot anchors
Update Google default icon hotspot anchors
Correct icon scaling
Include icon anchor in textOffset calculation
2021-09-04 17:38:36 +01:00
Tim Schaub
ac4e472353 Use union type for corner of origin 2021-09-04 10:31:36 -06:00
Tim Schaub
7168a26cab Use union types
Co-authored-by: Andreas Hocevar <andreas.hocevar@gmail.com>
2021-09-04 10:21:36 -06:00
Tim Schaub
12795e3923 Slightly smaller functions 2021-09-03 14:21:22 -06:00
Tim Schaub
d8baa87e25 Respect tile matrix set limits 2021-09-03 14:13:06 -06:00
Tim Schaub
58cf9f5f6d Leave as experimental until spec is finalized 2021-09-03 12:28:27 -06:00