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
mike-000
e2ac566c05
Correct resolution used for scale. Add dpi option.
...
Also add setDpi and setMinWidth methods
Add Print to scale example
2020-04-02 14:59:54 +01:00
Augustus Kling
da7f51c085
Get default projection for overview map from main map.
...
Changes OverviewMap such that it will use whatever projection the
hosting map is using unless a view was specified explicitly.
Fixes #2998 #5188 #10670
2020-02-19 23:10:15 +01:00
Frédéric Junod
1481ec7d85
Merge pull request #10683 from fredj/fs_events
...
Dispatch enterfullscreen and leavefullscreen from the FullScreen control
2020-02-18 08:26:44 +01:00
Frederic Junod
9a03ca8417
Dispatch enterfullscreen and leavefullscreen from the FullScreen control
2020-02-17 10:48:29 +01:00
mike-000
2e1e0dba54
document that views must use same projection
2020-02-16 11:11:37 +00:00
Andreas Hocevar
f8f7f83be7
Do not expose static render function of controls
2020-01-29 20:21:08 +01:00
mike-000
0512c690f8
Fix for reset north when rotation is 360 degrees
...
Animated reset north doesn't work and isn't needed if rotation is 360 degrees (or a multiple of 360)
2020-01-10 13:39:29 +00:00
Andreas Hocevar
88b8b2f7cb
Conditional default prevention instead of touch-action: none
2019-11-25 01:09:05 +01:00
Andreas Hocevar
569deddd06
Use elm-pep instead of PEP as pointer events polyfill
2019-11-20 07:59:32 +01:00
Brian Helba
c5ad886d7c
Ensure that OverviewMap respects the initial rotation of attached Maps
2019-11-18 05:33:28 -05:00
Frederic Junod
daaaff5ac7
Remove unnecessary typecast
...
Remove typecast where typescript is able to correctly deduce the type.
2019-10-02 10:44:06 +02:00
mike-000
4f83392b76
Remove offsets from mouse position calculation
...
and remove space
2019-10-01 15:55:30 +01:00
mike-000
8a04f5059d
Remove offsets from mouse position calculation
...
Fixes #10073
Remove unneeded offsets from mouse position calculation as box position was centered in #9919
2019-10-01 15:47:36 +01:00
Frederic Junod
f67476dd8f
Mark properties as nullable
2019-09-27 13:57:59 +02:00
Frédéric Junod
0c8775b3c8
Merge pull request #9982 from fredj/css_vendor
...
Don't use vendor prefixes for the transform property
2019-09-25 08:26:11 +02:00
Tobias Kohr
b1196e7601
fix linting
2019-09-24 17:58:56 +02:00
Tobias Kohr
5711cd30d0
Seperate getEventCoordinate into internal/external method
2019-09-24 17:58:56 +02:00