Commit Graph

4208 Commits

Author SHA1 Message Date
Tim Schaub
ca90dd6fd7 Merge pull request #13973 from mike-000/bandcount
Fix bandcount per texture for 8, 12, 16, etc. bands
2022-08-12 06:08:58 -06:00
Andreas Hocevar
3e707d4ded Merge pull request #13955 from mike-000/immediate-icons
Do not apply #12467 change to Icons
2022-08-12 13:05:33 +02:00
mike-000
b5b53b244f fix bandcount per texture for 8, 12, 16, etc bands 2022-08-12 10:47:27 +01:00
Maximilian Krög
5c4339f367 Remove more IE compatibility 2022-08-12 00:26:25 +02:00
mike-000
8bbeb31cfb correct setting of pixelRatio 2022-08-08 23:48:50 +01:00
Maximilian Krög
5b8d810f80 Use const in more places 2022-08-09 00:25:30 +02:00
Olivier Guyot
5e88b55d5a Webgl points test / unregister listener to avoid failures 2022-08-07 21:20:44 +02:00
MoonE
854300181a Merge pull request #13937 from MoonE/use-nicer-functions
Use nicer functions, remove old code
2022-08-05 21:19:38 +02:00
Andreas Hocevar
b96a69e11d Test for correct sequence of context calls and render events 2022-08-05 16:38:59 +02:00
Maximilian Krög
403b06b438 Use RegExp#test intead of String#match 2022-08-05 01:49:16 +02:00
Maximilian Krög
0b945f2321 Use includes instead of indexOf 2022-08-05 01:49:01 +02:00
Tim Schaub
58ca0d8098 Merge pull request #13930 from mike-000/remove-deprecated-tilePixelRatio
Remove deprecated DataTile source `tilePixelRatio`
2022-08-03 11:11:12 -06:00
mike-000
02807c8f95 Remove deprecated tilePixelRatio 2022-08-03 17:48:24 +01:00
mike-000
27a9f056e0 remove deprecated imageSmoothing 2022-08-03 13:25:43 +01:00
MoonE
15329aad00 Merge pull request #13915 from MoonE/fix-map-render-test
Fix map render test
2022-07-31 21:17:42 +02:00
Maximilian Krög
e3987dfdbf Fix Map render test
The value set to id2 was never read, postrender fires in renderSync
2022-07-31 20:04:59 +02:00
Maximilian Krög
b2d2f44f43 No need to wait for postrender in Map test 2022-07-31 20:04:55 +02:00
Tim Schaub
85ef563ba8 Remove PluggableMap 2022-07-31 10:08:13 -06:00
Maximilian Krög
417753422e Remove unused 2nd parameter for querySelector call
I guess the intention was to only serch for nodes contained in the
2nd parameter. That should have been `node.querySelector('...')`
but it doesn't matter in the test environment.
2022-07-31 02:23:35 +02:00
Maximilian Krög
c90c4c84c5 Remove MousePosition's deprecated undefinedHTML option
Simplify the placeholder option to only accept strings or undefined.
2022-07-31 02:23:35 +02:00
MoonE
37aaf8ed4b Merge pull request #13902 from MoonE/type-safe-collection
Improve Collection type-safety
2022-07-30 21:38:48 +02:00
Maximilian Krög
6e4e49644d Prevent inserting undefined into Collection 2022-07-30 20:27:36 +02:00
MoonE
e17640c95a Merge pull request #13905 from MoonE/replace-enums
Replace enums with typedefs
2022-07-30 18:12:34 +02:00
Tim Schaub
ab48290bd7 Accept an object literal for static layer styling 2022-07-30 09:48:10 -06:00
Maximilian Krög
2caa071a08 Replace MouseWheelZoom Mode enum with typedef 2022-07-30 15:06:12 +02:00
Maximilian Krög
7ac61fdc70 Replace proj/Units enum with typedef 2022-07-30 15:06:12 +02:00
Maximilian Krög
361f1ab837 Replace VectorTileRenderType enum with typedef 2022-07-30 15:06:12 +02:00
Maximilian Krög
6f539c9ca4 Test removeAt does not fire event for invalid index 2022-07-30 03:13:37 +02:00
Tim Schaub
55e3ed6f74 Merge pull request #13893 from tschaub/grat
Omit minutes and seconds from HDMS formatting if zero
2022-07-28 13:47:29 -06:00
Tim Schaub
25d47ed752 Use Object.assign 2022-07-28 13:23:16 -06:00
Tim Schaub
82dfba2520 Omit minutes and seconds if zero 2022-07-28 08:13:05 -06:00
Tim Schaub
70acfc99e5 Merge pull request #13892 from tschaub/unused-worker
Remove unused worker
2022-07-27 18:10:04 -06:00
Tim Schaub
1dc4f85ed1 Merge pull request #13887 from tschaub/array-find
Remove find and findIndex from array module
2022-07-27 18:09:42 -06:00
Tim Schaub
2da8f62da1 Merge pull request #13890 from tschaub/math
Use Math.cosh and Math.log2
2022-07-27 18:09:15 -06:00
Tim Schaub
c9b2b3d76a Remove unused worker 2022-07-27 15:51:34 -06:00
Tim Schaub
fab4e83745 Use Math.log2 2022-07-27 15:11:14 -06:00
Tim Schaub
f32517a77f Use Math.cosh 2022-07-27 15:09:43 -06:00
Tim Schaub
641bd7af33 Use Object.values 2022-07-27 15:03:47 -06:00
Tim Schaub
82ceaea4ab Use Array.prototype.findIndex 2022-07-27 14:00:06 -06:00
Tim Schaub
157bdc5208 Use Array.prototype.find 2022-07-27 13:57:35 -06:00
Maximilian Krög
2897f03ea5 Remove deprecated method PluggableMap#forEachLayerAtPixel 2022-07-26 00:57:21 +02:00
Olivier Guyot
7d56c56210 Merge pull request #13461 from jahow/webgl-shape-renderer
WebGL vector renderer for polygons, lines and points
2022-07-22 10:05:31 +02:00
Andreas Hocevar
e83ecdeb96 Merge pull request #13863 from ahocevar/tile-error-handling
Fix reloading tiles in case of an error with tile.load()
2022-07-22 00:43:37 +02:00
Andreas Hocevar
02c73e3e69 Merge pull request #13860 from ahocevar/geojson-empty-coordinate-arrays
Handle multipolygons with empty polygons
2022-07-22 00:25:40 +02:00
Andreas Hocevar
a1d68b4f66 Fix reloading tiles in case of an error with tile.load() 2022-07-21 23:23:40 +02:00
Tim Schaub
7e424be66b Only pass the feature to the attribute getter 2022-07-21 13:49:06 -07:00
Tim Schaub
5182b16452 Private if not used elsewhere; underscore suffix only if private 2022-07-21 13:03:10 -07:00
Andreas Hocevar
c8508bcf97 Handle multipolygons with empty polygons 2022-07-20 13:18:41 +02:00
Maximilian Krög
62e335ceda Replace IconOrigin enum with typedef 2022-07-19 23:24:25 +02:00
Maximilian Krög
7ec2725c1e Replace IconAnchorUnits enum with typedef 2022-07-19 23:24:25 +02:00