Frédéric Junod
a85099a36b
Merge pull request #8825 from schmidtk/ts-misc-errors
...
Fix TypeScript errors
2018-10-17 09:45:28 +02:00
Kevin Schmidt
49a4bf4248
Fix TypeScript error in ol/control/OverviewMap
2018-10-16 09:24:00 -06:00
Andreas Hocevar
43ca764293
Merge pull request #8806 from notnotse/preserve-fullscreen-button-class-names
...
Preserve button class name list in full screen control on toggle
2018-10-16 16:58:44 +02:00
Andreas Hocevar
6e7558e954
Merge pull request #8804 from notnotse/issue/8621-disable-collapsible-attributions-for-osm
...
Add possibility to disable collapsible attributions from Source
2018-10-14 12:16:36 +02:00
ahocevar
2768884044
Make new behavior overridable; update docs and examples
2018-10-14 12:10:40 +02:00
itjope
50f90cdf61
Preserve button class name list in full screen control on toggle
2018-10-12 11:37:43 +02:00
Bobo Häggström
2f4d31c8f4
Add possibility to disable collapsible attributions from Source
2018-10-12 09:28:34 +02:00
Andreas Hocevar
945f686f8a
Remove 2nd argument of parseFloat
2018-10-11 14:00:15 +02:00
itjope
2c6e80a601
Handle zoom slider position with floating point numbers
2018-10-11 12:50:51 +02:00
Kevin Schmidt
a92c992e1a
Cast to Array to avoid false union mismatch
2018-10-03 13:55:12 -06:00
Frederic Junod
6ce56329dd
Fix wrong type
2018-09-28 08:21:12 +02:00
Andreas Hocevar
d9698dcb06
Merge pull request #8698 from intouch-smartwater/fix-zoom-slider-events
...
Fix zoom slider events
2018-09-24 13:15:43 +02:00
James Cheese
9c5227850f
Remove events causing errors on touch-screen devices.
...
Fix for case #5226
2018-09-24 09:55:13 +01:00
James Cheese
75947a6759
Revert changes from 7b687be
...
Adapted the changes to new class structures introduced since the original
deletion before committing, to ensure that everything compiles correctly.
2018-09-24 09:55:13 +01:00
Frédéric Junod
32dea69f5e
Merge pull request #8688 from fredj/ts_fixes
...
Fix PointerEventHandler event type
2018-09-24 10:02:49 +02:00
Frederic Junod
9b447ef3ed
Fix PointerEventHandler event type
2018-09-21 09:19:05 +02:00
Frederic Junod
821a08ea79
Remove extra imports in jsdoc
...
The symbols are already imported (es6 import)
2018-09-21 09:12:06 +02:00
Frederic Junod
54cdaddf3a
Don't use Chrome only ALLOW_KEYBOARD_INPUT param
2018-09-19 11:12:27 +02:00
Kevin Schmidt
4d26ab751d
Add vendor-specific TS declarations for the Fullscreen API.
...
Fixes #8660 .
2018-09-18 13:22:55 -06:00
ahocevar
3c500e0b4b
Sensible touch behavior of the MousePosition control
2018-09-08 11:10:56 +02:00
Frederic Junod
ea616e7751
Don't import ourselves
2018-09-06 09:05:32 +02:00
Tim Schaub
ccfacc5ee6
Transformed types
...
Using the [ts.js codemod](https://gist.github.com/tschaub/1ea498c9d1e5268cf36d212b3949be4e ):
jscodeshift --transform ts.js src
2018-09-05 08:05:29 -06:00
Frederic Junod
8fdc4cc9fc
Change property test in MousePosition options
...
TypeScript doesn't like the current implementation:
```
src/ol/control/MousePosition.js(82,64): error TS2339: Property 'undefinedHTML' does not exist on type 'never'.
```
2018-09-03 15:25:33 +02:00
Matthias Schiffer
94c6afd65d
Avoid HTML entities like and ©
...
Use numerical entities instead for XHTML compatiblity.
2018-08-18 13:13:27 +02:00
Matthias Schiffer
321166849b
Consistently use lowercase HTML tag names
...
Unlike HTML, XHTML is case-sensitive.
2018-08-18 12:48:14 +02:00
Tim Schaub
6cfa2b22a7
Explicit void
2018-07-26 10:46:39 -06:00
Tim Schaub
2eb07aa081
Use Template<Foo> instead of Template.<Foo>
2018-07-25 18:37:08 -07:00
Tim Schaub
affbf59b77
Use Object<Foo, Bar> instead of Object.<Foo, Bar>
2018-07-25 18:33:49 -07:00
Tim Schaub
d12ef20b12
Use Array<Foo> instead of Array.<Foo>
2018-07-25 18:32:43 -07:00
Tim Schaub
e5493d1288
Add ol/pixel module for Pixel type
2018-07-19 10:17:00 -06:00
Frederic Junod
2e60961700
Use 'HTMLElement' type instead of 'Element' in controls
2018-07-19 16:02:58 +02:00
Tim Schaub
2f4aa5aa05
No inherits in ZoomToExtent
2018-07-17 14:56:19 -06:00
Frederic Junod
f140ff368d
Move jsdoc constructor comments for controls
2018-07-17 16:44:53 +02:00
ahocevar
f5272bb391
Use extends and super for control/ZoomToExtent
2018-07-17 15:02:38 +02:00
ahocevar
6530119918
Use extends and super for control/ZoomSlider
2018-07-17 14:58:37 +02:00
ahocevar
600205f4d9
Use extends and super for control/Zoom
2018-07-17 14:44:27 +02:00
ahocevar
1da14a6d97
Use extends and super for control/ScaleLine
2018-07-17 14:41:27 +02:00
ahocevar
7d5efd0348
Use extends and super for control/Rotate
2018-07-17 14:41:27 +02:00
ahocevar
6ffda39b14
Use extends and super for control/OverviewMap
2018-07-17 14:41:27 +02:00
ahocevar
353a00af89
Use extends and super for control/MousePosition
2018-07-17 14:41:26 +02:00
ahocevar
b9f08c6a2a
Use extends and super for control/FullScreen
2018-07-17 14:41:26 +02:00
ahocevar
322a51d822
Use extends and super for control/Control
2018-07-17 14:41:25 +02:00
ahocevar
49c4a75777
Use extends and super for control/Attribution
2018-07-17 14:41:25 +02:00
Frederic Junod
7e3e0e54ca
Fix comments indentation
2018-07-17 09:15:16 +02:00
Tim Schaub
d0ab8dce38
Lint removal
2018-07-16 17:57:57 -06:00
Tim Schaub
7b4a73f3b9
Automated class transform
...
npx lebab --replace src --transform class
2018-07-16 16:18:16 -06:00
Frederic Junod
6da2e4cef4
More precise Event typing
2018-06-29 12:53:20 +02:00
Frederic Junod
8c4c70e9f0
Change 'Element' type to 'HTMLElement'
2018-06-29 09:31:59 +02:00
ahocevar
28409486a5
Make classes in ol/ available as named exports from ol
2018-06-21 18:08:17 +02:00
Frederic Junod
6444e6989d
Add missing properties in option typedef
2018-06-06 16:14:22 +02:00