Tim Schaub
371bb85350
Add a map property to layers
2021-11-12 17:54:10 -07:00
Maximilian Krög
5149224354
Improve code and its formatting
2021-11-02 00:21:11 +01:00
andrewcoder002
8f24467ea4
Update PluggableMap.js
2021-11-02 00:21:10 +01:00
andrewcoder002
bc064aba36
Update PluggableMap.js
...
Removing listener when the target is changed again.
2021-11-02 00:21:09 +01:00
andrewcoder002
b51d16b575
Update PluggableMap.js
...
Just changed formatting
2021-11-02 00:21:09 +01:00
andrewcoder002
7d3abbd5ca
Update PluggableMap.js
2021-11-02 00:21:03 +01:00
Tim Schaub
4dc66ef8e3
Enqueue tiles at the next resolution in the animation
2021-09-23 17:28:39 +00:00
Tim Schaub
a63735a649
Add a method to set the map layers
2021-09-21 13:34:35 +00:00
Tim Schaub
d5813deb08
Allow maps to be configured with a promise for view props
2021-09-21 10:25:29 +00:00
Simon Seyock
ce4f6ccb0d
OnSignatures return more specific type
2021-09-10 16:11:38 +02:00
Andreas Hocevar
b588ec8c7f
Re-add accidently removed events
2021-08-26 19:05:27 +02:00
mike-000
0f56eed272
only warn of zero size when map should be visible
2021-08-16 23:43:43 +01:00
Simon Seyock
f636d68cce
Fix typing errors.
2021-08-06 17:14:17 +02:00
Simon Seyock
d6e0eb75fa
Use Source as default parameter for Layer.
2021-08-06 17:14:17 +02:00
Maximilian Krög
8f8027c33a
Fix adding controls with map config
...
If a control like ol.control.Bar adds sub controls when added to a map
it fails during map creating because the listeners are added after the control
was added to the map.
2021-07-15 14:19:08 +02:00
Andreas Hocevar
d7e9cc5285
Fix type of PluggableMap#setTarget() argument
2021-07-12 13:20:10 +02:00
Andreas Hocevar
e9e664f3c9
Add typed signature for Observable#un()
2021-07-10 11:28:50 +02:00
Simon Seyock
d914006d51
Add signatures for once.
2021-07-10 11:28:49 +02:00
Simon Seyock
1870a64984
Add CombinedOnSignature.
2021-07-10 11:28:49 +02:00
Simon Seyock
3365576548
Add PluggableMap.
2021-07-10 11:28:47 +02:00
Simon Seyock
c8f43050c4
Revert "Merge pull request #12416 from ahocevar/eventtype-generics"
...
This reverts commit b6c143deb2 , reversing
changes made to 7777821df5 .
2021-07-10 11:28:46 +02:00
Andreas Hocevar
79f5f46d27
Remove lint
2021-06-28 18:10:51 +02:00
Andreas Hocevar
b6c143deb2
Merge pull request #12416 from ahocevar/eventtype-generics
...
Use generics to limit event types in on(), once() and un()
2021-06-21 09:36:25 +02:00
Andreas Hocevar
4dd75d75e3
Merge pull request #12414 from ahocevar/change-event-type
...
Replace getChangeEventType() with add/removeChangeListener methods
2021-06-21 08:04:23 +02:00
Andreas Hocevar
018ad97f25
Use generics to limit event types in on(), once() and un()
2021-06-20 22:25:47 +02:00
Andreas Hocevar
343e0ffce9
Replace getChangeEventType() with add/removeChangeListener methods
2021-06-19 23:16:26 +02:00
Tim Schaub
f798902ecd
Fix JSDoc generated links
2021-06-17 21:54:07 -06:00
Maximilian Krög
57e4e98757
Fix event handling with shadow-dom and ie11 event handling
2021-04-17 00:43:42 +02:00
MoonE
6f7b6c8141
Merge pull request #12028 from MoonE/overview-map-no-initial-target
...
Overview map no initial target
2021-04-03 23:15:30 +02:00
Andreas Hocevar
1cb89ab991
Merge pull request #12137 from ahocevar/low-frame-budget
...
Load less tiles when low on frame budget
2021-03-26 22:04:54 +01:00
Andreas Hocevar
158f6c7bcd
Fix singleclick and doubleclick events
2021-03-25 21:20:16 +01:00
Andreas Hocevar
54763d2fb0
Load less tiles when low on frame budget
2021-03-23 22:39:08 +01:00
Andreas Hocevar
83ee87581f
Simplify event handling for custom elements
2021-03-04 22:16:28 +01:00
Maximilian Krög
0f64bb7459
Invalid size set when map is not added to document
...
Parsing of an empty string with parseFloat resulted in NaN.
2021-02-15 00:12:37 +01:00
Andreas Hocevar
6fe0d6121c
Warn when map container's width or height are zero
2021-02-06 14:18:23 +01:00
Simon Seyock
2ad5789797
Add descriptions for properties.
2021-02-04 18:19:33 +01:00
Simon Seyock
8facb252f1
Replace google closure syntax = with brackets around name
2021-02-03 14:06:02 +01:00
Maximilian Krög
17659b9a80
Do not fire duplicate postrender events
2020-12-24 02:25:42 +01:00
Greg Gianforcaro
99f23caf03
Initial stopPropagation support for PluggableMap
2020-12-09 00:46:56 -05:00
Andreas Hocevar
8ceaadc7c8
Merge pull request #11781 from ahocevar/hitdetect-geometry
...
Pass geometry to forEachFeatureAtPixel callback
2020-12-01 09:59:43 +01:00
Andreas Hocevar
4e885181b5
Fix forEachFeatureAtPixel apidoc output
2020-11-28 23:55:25 +01:00
Andreas Hocevar
5659397b39
No need to adjust hitTolerance for pixel ratio
2020-11-28 09:18:17 +01:00
Andreas Hocevar
28aaa2e0d3
Pass geometry to forEachFeatureAtPixel callback
2020-11-27 13:43:28 +01:00
Andreas Hocevar
eba0ba6ae0
Merge pull request #11592 from ahocevar/new-declutter
...
New decluttering implementation
2020-10-07 10:33:33 +02:00
elnabo
81103c9253
Allow mouse input if map is rendered in an other window
2020-10-02 09:39:19 +02:00
Andreas Hocevar
8e862766fc
New decluttering implementation
2020-09-27 21:13:26 +02:00
Andreas Hocevar
7a5e0db59f
Remove decluttering for a fresh start
2020-09-18 23:31:20 +02:00
Andreas Hocevar
869206b33d
Only use elementFromPoint with ShadowRoot
2020-09-10 11:22:33 +02:00
Andreas Hocevar
fda93cee23
Updates for TypeScript v4
2020-08-25 13:03:58 +02:00
Andreas Hocevar
c55a3132a4
Checks before calling handleEvent on interactions
2020-08-18 15:39:53 +02:00