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
Andreas Hocevar
9d5983ee68
Merge pull request #8203 from ahocevar/typechecking-complete
...
Type checking complete
2018-05-18 08:24:01 -05:00
ahocevar
83e00269b7
Document ol/control~defaults in the right place
2018-05-17 18:19:14 -05:00
ahocevar
64e1139230
Fix remaining type issues
2018-05-17 12:29:22 -05:00
Tim Schaub
0e727ae890
Hide attribution control if there are no attributions
2018-05-12 07:39:29 -06:00
Frederic Junod
5b4063fa17
Remove wrong override tags
2018-05-09 12:38:21 +02:00
Tim Schaub
167bc1ec78
Remove externs/oli.js
2018-05-08 08:38:34 -06:00
Tim Schaub
5a9fad218b
Remove *.jsdoc files
2018-05-07 21:53:20 -06:00
Tim Schaub
2fe1cb6ced
Add @module annotation for ol/control/util
2018-04-28 15:45:01 -06:00
Tim Schaub
669672dce8
Break the circular dependency: overview map, map, controls, overview map
2018-04-27 21:49:28 -06:00
ahocevar
440d1ad3e1
Shorter module paths for default exports
2018-04-25 17:25:39 +02:00