Commit Graph

894 Commits

Author SHA1 Message Date
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
e9a161740a controls and interactions. 2021-07-10 11:28:48 +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
Jakob Miksch
bfe5afe069 MousePosition: allow rendering of empty string 2021-07-08 20:54:45 +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
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
MoonE
99aa3b2640 Correctly initialize attribution aria state
Co-authored-by: Marc Jansen <jansen@terrestris.de>
2021-05-14 21:03:51 +02:00
Maximilian Krög
fc9e3e5610 Improve attribution accessibility
Tab order of attribution text should be after the toggle button
Add aria-expanded state to the toggle button.
2021-05-13 16:42:56 +02:00
Maximilian Krög
f999f1a675 Fix zoomslider layout with padding 2021-04-16 00:29:06 +02:00
Maximilian Krög
59c76334b1 Draw box if OverviewMap is added to an existing map 2021-02-15 00:45:46 +01:00
Maximilian Krög
73d288c191 Fix initially empty overview map 2021-02-15 00:12:52 +01:00
Maximilian Krög
0d5d346bcd Update links to external resources 2021-02-08 19:40:05 +01:00
Simon Seyock
8facb252f1 Replace google closure syntax = with brackets around name 2021-02-03 14:06:02 +01:00
Tim Schaub
19bb3f8c88 Consistent use of Array and Object types 2021-02-02 13:53:10 -07:00
Simon Seyock
f590cb3473 Harmonize jsdoc 2021-02-02 12:14:56 +01:00
Andreas Hocevar
19aeed3e3c Fix typo that prevents Rotate icon from indicating the view rotation 2020-11-22 10:35:31 +01:00
Andreas Hocevar
de5287a9ec Merge pull request #11403 from cazacugmihai/main
#11402 add CSS class name support for control buttons
2020-10-10 19:41:06 +02:00
elnabo
81103c9253 Allow mouse input if map is rendered in an other window 2020-10-02 09:39:19 +02:00
mike-000
cb77784d2a also restore collapsed state to last user setting 2020-09-30 10:36:53 +01:00
mike-000
09a1dd43c6 reset to collapsible when no uncollapsible sources 2020-09-28 14:05:23 +01:00
mike-000
857f4e01ac use precise international inchesPerMeter
test scalebar text
2020-08-07 10:49:31 +01:00
Mihai CAZACU
49f883664a fix comments 2020-08-06 21:30:10 +03:00
Mihai CAZACU
2a683a2672 format code 2020-08-06 21:27:13 +03:00
Mihai CAZACU
bd22d427ab add CSS class name support for full-screen button 2020-08-06 21:23:16 +03:00
Mihai CAZACU
7cbdf16a64 format code 2020-08-06 20:34:54 +03:00
Mihai CAZACU
c53ff622f2 add CSS class name support for rotate button 2020-08-06 20:32:26 +03:00
Mihai CAZACU
97568b21cd remove typos 2020-08-06 20:14:16 +03:00
Mihai CAZACU
fd264f86a6 format code 2020-08-06 20:11:37 +03:00
Mihai CAZACU
ec1a87443d format code 2020-08-06 20:09:27 +03:00
Mihai CAZACU
ebf0d87aa8 add CSS class name support for attribution button 2020-08-06 20:06:28 +03:00
Mihai CAZACU
fe3295b469 format code 2020-08-06 16:40:45 +03:00
Mihai CAZACU
763629382e format code 2020-08-06 16:36:08 +03:00
Mihai CAZACU
1aa33085c1 add CSS class name support for zoom buttons 2020-08-06 16:15:59 +03:00
Andreas Hocevar
886ca26c6a Remove elm-pep dependency 2020-06-11 13:11:28 +02:00
Maximilian Krög
c4c790a2be Defer ZoomSlider initialization until its size is available 2020-05-26 09:20:09 +02:00
Tim Schaub
bfee5c00c9 Update function return types 2020-05-18 17:11:13 -06:00
Andreas Hocevar
e5167f4e12 Fix custom controls with user-provided element 2020-05-15 17:50:44 +02:00
Andreas Hocevar
c6341bbcd9 Fix types for events 2020-05-10 18:19:45 +02:00
Andreas Hocevar
2d38390e58 Do not rely on custom type overrides 2020-05-02 17:03:12 +02:00
Andreas Hocevar
7f6258dd0d Set pointerEvents style programmatically instead of relying on ol.css 2020-04-16 17:34:40 +02:00
Andreas Hocevar
f4d64700ef Fix private scope type issues in controls 2020-04-15 10:53:24 +02:00
Andreas Hocevar
b0f20d6bd6 Use imports for enum types 2020-04-15 10:53:23 +02:00
Tim Schaub
054af09032 Make code prettier
This updates ESLint and our shared eslint-config-openlayers to use Prettier.  Most formatting changes were automatically applied with this:

    npm run lint -- --fix

A few manual changes were required:

 * In `examples/offscreen-canvas.js`, the `//eslint-disable-line` comment needed to be moved to the appropriate line to disable the error about the `'worker-loader!./offscreen-canvas.worker.js'` import.
 * In `examples/webpack/exapmle-builder.js`, spaces could not be added after a couple `function`s for some reason.  While editing this, I reworked `ExampleBuilder` to be a class.
 * In `src/ol/format/WMSGetFeatureInfo.js`, the `// @ts-ignore` comment needed to be moved down one line so it applied to the `parsersNS` argument.
2020-04-06 12:54:09 -06:00
Frédéric Junod
d8cbda18a7 Merge pull request #10840 from fredj/remove_inheritDoc
Remove inherit doc
2020-04-04 14:06:43 +02:00
mike-000
fb84426411 use constant for default dpi 2020-04-03 17:17:11 +01:00
mike-000
6aa953b571 base minWidth on default dpi & remove setMinWidth 2020-04-03 17:11:25 +01:00
Frederic Junod
706dd3c87c Remove all inheritDoc tags from src/ol/control 2020-04-03 07:52:51 +02:00