MoonE
ef09482505
Merge pull request #13943 from MoonE/scaleline
...
Scaleline
2022-08-07 23:52:26 +02:00
MoonE
2c1c76c24e
Merge pull request #13942 from MoonE/kmz
...
Improve loading of kmz file in example
2022-08-07 23:51:52 +02:00
Maximilian Krög
03a16e3444
Use a range input to select the number of steps (1 to 8)
2022-08-07 00:45:14 +02:00
Maximilian Krög
436a4ca597
Add color invert option to scale-line example
2022-08-07 00:44:31 +02:00
Maximilian Krög
e10432260f
Cleanup scale-line example
2022-08-07 00:43:06 +02:00
Maximilian Krög
f7cb9b9fdf
Invert displayed scale for very high zoom levels
...
This prevents a scale of '1 : 0' being displayed and instead displays
'scale : 1'
2022-08-06 23:16:25 +02:00
Maximilian Krög
564d9d7685
Set pointer-event: none for ScaleLine
...
There is no reason to interact with this control and for the
`bar` option the blocked rect may be unexpectedly large
2022-08-06 23:16:25 +02:00
Maximilian Krög
ff79897f06
Fix default value docs for ScaleLine class option
2022-08-06 23:16:25 +02:00
Maximilian Krög
97f0e70447
Remove unnecessary code
...
Remove unnecessary nested div element
Don't number to string to number
2022-08-06 23:16:25 +02:00
Maximilian Krög
e0cbb6daa8
Cleanup ScaleLine code
2022-08-06 23:16:15 +02:00
Maximilian Krög
4504f139af
Improve loading of kmz file example
...
- The href will always start with path as it is sliced starting from 0
Not sure if it is possible that window locatin does not have a slash
unless its some about:-page.
- Should be possible to query for the file name directly without regex,
if the filename contains special regex characters it may behave
unexpectedly
2022-08-06 21:59:08 +02:00
MoonE
b0306828a7
Merge pull request #13941 from MoonE/kml-default-icon-anchor
...
Fix KML default icon anchor with https icon url
2022-08-06 21:09:01 +02:00
Maximilian Krög
f2e82ba1e4
Fix default icon anchor with https icon url
2022-08-06 11:11:24 +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
Maximilian Krög
403b06b438
Use RegExp#test intead of String#match
2022-08-05 01:49:16 +02:00
Maximilian Krög
81c10fa609
Remove accessing legacy RegExp.$ instead of match return value
2022-08-05 01:49:16 +02:00
Maximilian Krög
bb3c5bf144
Use String#startsWith instead of String#indexOf
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
Maximilian Krög
5e34b9aa20
Fix print-to-scale ignore collapsible attribution
2022-08-05 01:32:50 +02:00
Maximilian Krög
31ed30923d
Remove array.includes
2022-08-05 01:26:25 +02:00
MoonE
f2c4e26468
Merge pull request #13936 from MoonE/array-from
...
Remove workaround for missing TypedArray.from function
2022-08-05 01:10:37 +02:00
Maximilian Krög
e1e19cbd03
Remove workaround for missing TypedArray.from function
2022-08-04 23:36:00 +02:00
MoonE
c6d0d803f9
Merge pull request #13933 from MoonE/set-line-dash
...
Remove check for context.setLineDash
2022-08-04 08:59:24 +02:00
Maximilian Krög
ef82bbd83a
Remove check for context.setLineDash
2022-08-03 22:25:19 +02: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
MoonE
b534368394
Merge pull request #13911 from MoonE/remove-mouse-position-undefined-html
...
Remove MousePosition's deprecated undefinedHTML option
2022-07-31 10:09:31 +02:00
MoonE
0992787d7a
Merge pull request #13912 from MoonE/always-use-global-composite-opertion-for-icon-image-color
...
Remove IconImage color fallback for IE
2022-07-31 09:59:43 +02:00
Maximilian Krög
7c81cb41a8
Remove IconImage color fallback for IE
2022-07-31 02:29:20 +02: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
f276f3f47f
Merge pull request #13907 from MoonE/remove-ms-image-smoothing-enabled
...
Remove IE fallbacks
2022-07-30 23:58:55 +02:00
MoonE
a575631f88
Merge pull request #13910 from MoonE/export-map-codesandbox
...
Fix editing of export-map example on codesandbox
2022-07-30 23:57:22 +02:00
Maximilian Krög
d747216180
Fix editing of export-map example on codesandbox
2022-07-30 23:27:21 +02:00
Maximilian Krög
4c13ef13c9
Remove textContent fallback for IE
2022-07-30 23:06:59 +02:00
Maximilian Krög
5f8a83b6d8
Remove fullscreen handling fallback for IE
2022-07-30 22:59:26 +02:00
Maximilian Krög
e0fd784c16
Remove msSaveBlob fallback for IE
2022-07-30 22:58:47 +02:00
Maximilian Krög
e56bda5848
Remove IE css fallback
2022-07-30 22:57:51 +02:00
Maximilian Krög
6a6d2cd612
Remove IE image smoothing fallback
2022-07-30 22:36:32 +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
75c17e55b1
Improve Collection type-safety
2022-07-30 21:30:35 +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
Maximilian Krög
14c2c31d4c
Replace RasterOperationType enum with typedef
2022-07-30 15:06:13 +02: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
7f2f789d7f
Remove deprecated 'image' render mode option
2022-07-30 15:06:12 +02:00
Maximilian Krög
806843f449
Don't fire remove event when Collection remains unchanged
2022-07-30 03:17:48 +02:00
Maximilian Krög
6f539c9ca4
Test removeAt does not fire event for invalid index
2022-07-30 03:13:37 +02:00
Maximilian Krög
217230172b
Make VectorSource Options generic
2022-07-30 03:13:37 +02:00
MoonE
dce24cfe40
Merge pull request #13901 from MoonE/text-types
...
Make Text options typesafe
2022-07-30 01:34:28 +02:00
Maximilian Krög
a076899470
Make Text options typesafe
2022-07-29 21:24:46 +02:00
MoonE
59d3206173
Merge pull request #13871 from openlayers/dependabot/npm_and_yarn/puppeteer-15.5.0
...
Bump puppeteer from 15.4.0 to 15.5.0
2022-07-28 01:45:33 +02:00
MoonE
6682f45015
Merge pull request #13870 from openlayers/dependabot/npm_and_yarn/webpack-5.74.0
...
Bump webpack from 5.73.0 to 5.74.0
2022-07-28 01:43:38 +02:00
MoonE
14133a05a8
Merge pull request #13868 from MoonE/remove-for-each-layer-at-pixel
...
Remove deprecated method PluggableMap#forEachLayerAtPixel ...
2022-07-26 01:01:42 +02:00
Maximilian Krög
2897f03ea5
Remove deprecated method PluggableMap#forEachLayerAtPixel
2022-07-26 00:57:21 +02:00
MoonE
4b6c3d408a
Merge pull request #13869 from MoonE/remove-unused-assertion-numbers
...
Remove unused assertion numbers
2022-07-25 09:16:52 +02:00
Maximilian Krög
0d178d7baa
Remove unused assertion numbers
2022-07-24 23:34:04 +02:00
MoonE
0f8de89318
Merge pull request #13838 from MoonE/remove-deprecated-overlay-options
...
Remove deprecated Overlay options
2022-07-22 21:43:48 +02:00
Maximilian Krög
e3766222f3
Remove deprecated Overlay options
2022-07-20 21:40:48 +02:00
MoonE
1c68d5093d
Merge pull request #13858 from MoonE/replace-enums-with-typedef
...
Replace enums with typedef
2022-07-20 21:05:02 +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
Maximilian Krög
48e57f4d8c
Replace Zoomify TierSizeCalculation enum with typedef
2022-07-19 23:24:25 +02:00
Maximilian Krög
7004d18519
Replace Draw Mode enum with typedef
2022-07-19 23:24:25 +02:00
Maximilian Krög
185485b0f7
Replace GeometryLayout enum with typedef
2022-07-19 23:24:22 +02:00
Maximilian Krög
ac6edc704a
Replace ScaleLine Units with typedef
2022-07-19 22:56:46 +02:00
Maximilian Krög
69caa06783
Replace TextPlacement enum with typedef
2022-07-19 22:56:45 +02:00
Maximilian Krög
4d2156ff3a
Replace IGCZ enum with typedef
2022-07-19 22:56:45 +02:00
MoonE
d20690394c
Merge pull request #13837 from MoonE/remove-label-cache
...
Remove deprecated label cache
2022-07-19 20:58:17 +02:00
MoonE
ea67c20e1b
Merge pull request #13850 from MoonE/update-dev-version-to-7
...
Update dev version to 7.0.0
2022-07-19 20:57:51 +02:00
Maximilian Krög
2679b51c7a
Update dev version to 7.0.0
2022-07-18 23:42:29 +02:00
Maximilian Krög
1df5afcdbf
Remove deprecated label cache
2022-07-17 04:15:24 +02:00
MoonE
0c2ba05195
Merge pull request #13834 from jipexu/scalebarcolors
...
ability to change the color of the scalebar
2022-07-16 19:01:59 +02:00
Maximilian Krög
d957bdeb86
Fix ScaleLine markup
2022-07-16 18:56:59 +02:00
MoonE
65704f0443
Merge pull request #13787 from jipexu/checkcontenteditable
...
Checkcontenteditable
2022-07-07 01:44:37 +02:00
Maximilian Krög
c2d609c60a
Improve targetNotEditable documentation
2022-07-07 01:32:22 +02:00
MoonE
cbd138f967
Merge pull request #13674 from EvertEt/tilegridnull
...
Add null return type for TileGrid functions
2022-07-07 00:40:45 +02:00
MoonE
5baa86c2fa
Merge pull request #13800 from mike-000/WKB
...
Change WKB readFeature(s) return type to Feature
2022-06-29 21:10:05 +02:00
MoonE
5dc07bd5b7
Merge pull request #13784 from jipexu/main
...
d3 version update
2022-06-21 23:39:23 +02:00
MoonE
1f6d13836b
Merge pull request #13750 from MoonE/gemetry
...
Fix typo in method names
2022-06-11 18:28:40 +02:00
Maximilian Krög
758048f5d8
Fix typo in method names
2022-06-11 17:56:42 +02:00
MoonE
ca48e15d73
Merge pull request #13709 from MoonE/ufo
...
Improve icon-sprite-webgl example
2022-05-27 08:25:51 +02:00
Maximilian Krög
8d8f4fd961
Improve icon-sprite-webgl example code
...
Should load slightly faster now by adding the source only after all
features are available, this avoids dispatching the addfeature event
for each of the 80000 features.
Use webgl tile layer for the background so the canvas can be shared
between both layers.
2022-05-26 20:30:24 +02:00
Maximilian Krög
03f3e619f2
Update ufo example data
...
Downloaded a newer version of the data from
https://www.kaggle.com/datasets/NUFORC/ufo-sightings?select=scrubbed.csv
and fixed the remaining errors in it.
2022-05-26 20:11:40 +02:00
MoonE
599257a144
Merge pull request #13627 from MoonE/hitdetect-origin-pixel-ratio
...
Fix hitdetection for icon with offset and pixelratio != 1
2022-05-25 22:45:03 +02:00
Maximilian Krög
d45e08d197
Fix icon offset for hitdetect image
...
It only worked correctly with pixel ratio of 1
2022-05-25 22:33:57 +02:00
Maximilian Krög
6b3c9cc196
Test hitdetect icon with offset
2022-05-25 22:33:57 +02:00
Maximilian Krög
f5bdc982b5
Improve test coverage for icon clone method
2022-05-25 22:33:54 +02:00
MoonE
bed1e514f9
Merge pull request #13626 from MoonE/rendercomplete-wait-for-icons
...
Wait for icons to be loaded before firing rendercomplete event
2022-05-25 22:32:43 +02:00
Maximilian Krög
e8925a90e5
Test VectorTile layer not ready while loading needed icons
2022-05-24 22:26:17 +02:00
Maximilian Krög
11589f3317
Test rendercomplete with icon for VectorTile
2022-05-24 22:18:36 +02:00
Maximilian Krög
2473e5bd32
Fix vector tile renderer ready
2022-05-24 21:47:09 +02:00
Maximilian Krög
de392a9846
Don't fire rendercomplete event while icons are loading
2022-05-24 21:47:09 +02:00
Maximilian Krög
dc128820c1
Test rendercomplete waits for icon load
2022-05-24 21:47:08 +02:00
Maximilian Krög
5345b80aa1
Remove unused getImageState call
2022-05-24 21:47:08 +02:00
Maximilian Krög
d7ebcf0ef8
Fix error when image state changes on disposed renderer
2022-05-24 21:47:04 +02:00
MoonE
3857e2051c
Merge pull request #13676 from MoonE/test-improvements
...
Test improvements
2022-05-16 23:06:26 +02:00