Commit Graph

2032 Commits

Author SHA1 Message Date
Andreas Hocevar 7b880b27d1 Increase GeoTIFF resolutions tolerance 2022-02-24 17:47:21 +01:00
Maximilian Krög b29ab8f104 Link to class instead of module pages 2022-02-14 21:53:07 +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
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
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
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
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
Maximilian Krög 9f8f7afaaa Fix ol/source/Cluster#setSource type annotation 2022-02-08 21:11:23 +01:00
Tim Schaub eb4d5e0784 Get pixel data 2022-02-07 18:35:47 -07:00
EvertEt 25e1d6c5d6 Improve some null types for strictNullChecks 2022-02-06 19:36:30 +01:00
EvertEt e3d3d24f05 Improve some null types to prepare for strictNullChecks 2022-01-31 19:35:25 +01:00
Andreas Hocevar 528589b163 Update import 2022-01-31 13:14:59 +01:00
Andreas Hocevar 9e4d943239 Merge pull request #13292 from ahocevar/geotiff-2
Update to geotiff@2
2022-01-28 15:57:40 +01:00
Andreas Hocevar 59600a0d68 Merge pull request #13290 from constantinius/geotiff-source-options
Allowing to pass additional options to the geotiff.js source
2022-01-28 07:44:35 +01:00
Andreas Hocevar b5c91b8f05 Update to geotiff@2 2022-01-27 22:31:51 +01:00
Fabian Schindler 441cce8dc7 Update src/ol/source/GeoTIFF.js
Co-authored-by: Andreas Hocevar <andreas.hocevar@gmail.com>
2022-01-27 14:45:25 +01:00
Fabian Schindler aea62119b2 Update src/ol/source/GeoTIFF.js
Co-authored-by: Andreas Hocevar <andreas.hocevar@gmail.com>
2022-01-27 14:44:59 +01:00
Andreas Hocevar 94cc414ea2 Defaults for the Layer, Source and Feature generics 2022-01-26 22:40:27 +01:00
Andreas Hocevar 2e5c1f2af9 Updates for TypeScript v4.6.0-beta 2022-01-26 22:40:27 +01:00
Fabian Schindler 1b71d39292 Adding typedef to declare all possible options for
geotiff.js sources
2022-01-26 16:46:47 +01:00
Fabian Schindler f062b15bd5 Allowing to pass additional options to the
geotiff.js source
2022-01-25 21:52:27 +01:00
mike-000 ec2e3f4f23 Set interpolate for use by VectorImage layers 2022-01-14 10:31:18 +00:00
Maximilian Kroeg 430f354406 Draw VectorTiles with interpolate in hybrid mode again 2022-01-11 12:49:07 +01:00
Andreas Hocevar 83d3bbf0ab Merge pull request #13180 from ahocevar/geotiff-es
Always use ES modules from geotiff.js
2022-01-02 11:02:43 +01:00
Andreas Hocevar 665da47437 Merge pull request #13179 from ahocevar/blob-or-buffer
Use Buffer and data uri when Blob is not available
2022-01-02 11:01:40 +01:00
Andreas Hocevar 00b7bc60ac Use Buffer and data uri when Blob is not available 2022-01-01 22:47:22 +01:00
Andreas Hocevar 93abfe78a3 Always use ES modules from geotiff.js 2022-01-01 22:41:11 +01:00
mike-000 b1b09619bb Add attributions/attributionsCollapsible options 2021-12-31 14:20:33 +00:00
Tim Schaub e2883fb658 Deprecate the imageSmoothing option for sources 2021-12-27 15:30:48 -07:00
Tim Schaub 8d8632bff7 Allow interpolation to be configured for data tile sources 2021-12-27 10:11:36 -07:00
Tim Schaub 0cc3bae8fe Preserve the drawing buffer by default for WebGL layers 2021-12-18 12:25:03 -07:00
Tim Schaub 78bf0a3679 Assume limited precision when rounding 2021-12-11 15:57:42 -07:00
Tim Schaub 04ac30009b Normalize based on GDAL stats metadata 2021-12-01 09:46:37 -07:00
Tim Schaub 3ef40f8e22 Allow wrapX to be set on GeoTIFF sources 2021-11-30 16:49:21 -07:00
Tim Schaub 3bf1aef8e2 Avoid loading tiles outside the grid extent 2021-11-30 16:30:51 -07:00
Andreas Hocevar 8e6f451553 Updates for newer version of the OGC API spec draft 2021-11-29 10:42:28 +01:00
Tim Schaub f6f34f82e5 Allow data tile source loader to return a value or a promise 2021-11-20 13:55:33 -07:00
Andreas Hocevar d4cc76f3f1 Add background to MapboxVector layer 2021-11-19 18:17:55 +01:00
Tim Schaub f336cf30b0 Additional types for WebGL renderer, sources, and tiles 2021-11-16 11:24:41 -07:00
Tim Schaub a2f3c02ac5 Allow canvas reuse for WebGL layers 2021-11-14 12:34:14 -07:00
Tim Schaub 1b17f347c0 Add test for new removeFeature behavior 2021-10-27 14:11:55 -06:00
mike-000 855fc6f5bc removeFeature consistent with other remove methods
Make returning the removed feature a TODO
2021-10-24 20:33:48 +01:00
Tim Schaub 60790fea18 Only trigger change event if animating a tile transition 2021-10-10 13:03:09 -06:00
Tim Schaub 6506efab0c Add more definitions for GeoTIFF types 2021-10-01 17:06:13 -06:00
Tim Schaub 9d709cb3d9 Additional documentation on the nodata property 2021-10-01 13:48:35 -06:00
Tim Schaub ba444117bb Use nodata values in the GeoTIFF headers for fill value 2021-10-01 11:47:27 -06:00
Tim Schaub d7b0191c78 Support a normalize option on the GeoTIFF source 2021-09-29 10:25:22 -06:00