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
Maximilian Krög
ecf90a49c8
Improve browser tests
...
- Listen for image change event instead of waiting 200 ms
- Properly fake fetch response, can never be undefined on resolve
2022-05-15 22:30:40 +02:00
Maximilian Krög
302a9d51e1
Fix WebGLTile browser tests
...
The loader has to return a TypedArray, not ImageData
2022-05-15 22:30:40 +02:00
Maximilian Krög
744324859e
Fix font rerender test when font is a system font
2022-05-15 22:30:40 +02:00
Maximilian Krög
72d61f887d
Use document.head instead of getElementByTagName
2022-05-15 21:34:26 +02:00
MoonE
05d7cd62b7
Merge pull request #13455 from MoonE/snap-load
...
Improve Snap interaction performance
2022-03-08 01:16:16 +01:00
Maximilian Krög
3b637a7939
Improve input form on snap example
...
Put the geometry type select input next to the 'draw' radio and select this
whenever the geometry type is changed.
2022-03-07 19:54:43 +01:00
Maximilian Krög
bcebd73388
Improve performance when adding features to Snap
2022-03-07 19:54:43 +01:00
Maximilian Krög
444763f47b
Set correct extent for multipoint points in Snap
2022-03-07 19:54:40 +01:00
MoonE
b50b9bd887
Merge pull request #13446 from T-MAPY/interaction-snap-bug-13440
...
Snap Interaction can snap to Point on line segment
2022-03-07 19:30:13 +01:00
Maximilian Krög
49acb39f72
Return null when not snapped
2022-03-07 08:57:31 +01:00
Maximilian Krög
8b5b5db00f
Add test for snap to vertex placed on line
2022-03-07 08:57:31 +01:00
MoonE
e42555af6e
Merge pull request #13447 from MoonE/fullscreen-uninitialized
...
Initialize variable before use in FullScreen control
2022-03-05 22:19:56 +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
MoonE
10eb834337
Merge pull request #13393 from MoonE/view-fixes
...
Fix setting View resolution or center to undefined
2022-02-19 13:55:08 +01: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
ab786cff73
Test setting resolution to undefined
2022-02-18 00:52:40 +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
Maximilian Krög
ab5e4f8838
Fix cloning of Icon style when IconImage is not cached
2022-02-17 00:58:35 +01:00
Maximilian Krög
c74d0a8957
Test cloning IconImage without cache
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
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
MoonE
50c144cea2
Merge pull request #13374 from MoonE/jsdoc-references
...
Fix JsDoc references
2022-02-13 19:05:39 +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
MoonE
1abd9951d2
Merge pull request #13373 from MoonE/vector-source-is-empty
...
Fix VectorSource isEmpty without spatial index
2022-02-13 13:34:43 +01:00
Maximilian Krög
e2c9f62cc6
Fix VectorSource isEmpty without spatial index
2022-02-13 00:08:24 +01:00
Maximilian Krög
9bfb0c1b9d
Test VectorSource isEmtpty without spatial index
2022-02-13 00:06:26 +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
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
MoonE
ce3b59b963
Merge pull request #13350 from MoonE/fix-type-annotation-no-comment
...
Remove warning for `@type` annotation by jsdoc
2022-02-09 00:38:36 +01: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
MoonE
cd45663996
Merge pull request #13336 from MoonE/dispose-webgl
...
Dispose of webgl contexts
2022-02-07 22:38:36 +01:00
MoonE
27a5103f3f
Merge pull request #13337 from MoonE/fix-rendering-test
...
Fix error when accessing ready property of renderer
2022-02-07 22:38:05 +01:00
Maximilian Krög
eaa6146156
Fix error when accessing ready property of renderer
2022-02-07 00:26:53 +01:00
Maximilian Krög
700cdad1e2
Add missing dispose calls for webgl renderer tests
2022-02-07 00:17:32 +01:00
Maximilian Krög
a86f0704f3
Fix error when disposing ol/renderer/webgl/TileLayer
...
- helper may not exist
- tileTextureCache not cleared when canvasCacheKey changes
2022-02-07 00:17:32 +01:00
Maximilian Krög
a10872baa4
No need to update the style when no source is set
2022-02-07 00:17:29 +01:00
Maximilian Krög
93c08784af
Only set renderer to ready when all messages are received
2022-02-02 22:54:16 +01:00
Maximilian Krög
613d083e46
Test points layer ready state
2022-02-02 22:54:16 +01:00
MoonE
b255e85be9
Merge pull request #13297 from MoonE/from-render-feature
...
Add function to convert RenderFeature to Feature
2022-01-30 13:53:47 +01:00
Maximilian Krög
f0e768bb9a
Remove case of MulitPolygon RenderFeature
2022-01-29 21:51:29 +01:00
Maximilian Krög
856f239280
Add function to convert RenderFeature to Feature
2022-01-29 17:52:07 +01:00
Maximilian Krög
f2d65ba0ab
Only set id if it is defined when creating feature
2022-01-29 16:06:01 +01:00
MoonE
239a082dbf
Merge pull request #13229 from MoonE/apidoc-dyn-navigation-loading
...
Load api navigation dynamically to reduce needed disk space
2022-01-23 11:21:31 +01:00
Maximilian Krög
14c5e9a7e8
Load api navigation dynamically to reduce needed disk space
2022-01-22 22:29:33 +01:00
MoonE
9b0878a94a
Merge pull request #13175 from MoonE/nodejs-12-compatibility
...
Allow nodejs 12 to build the examples again
2021-12-31 23:00:24 +01:00
Maximilian Krög
d63a7ae497
Allow nodejs 12 to build the examples again
2021-12-31 11:06:43 +01:00
MoonE
ea2e87c563
Merge pull request #13030 from MoonE/geographic-popover-fix
...
Correctly set popover position in geographic example
2021-11-21 22:37:32 +01:00
Maximilian Krög
89baa4aa01
Correctly set popover position in geographic example
2021-11-20 17:47:55 +01:00