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
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
Frederic Junod
2e60961700
Use 'HTMLElement' type instead of 'Element' in controls
2018-07-19 16:02:58 +02:00
Frederic Junod
f140ff368d
Move jsdoc constructor comments for controls
2018-07-17 16:44:53 +02:00
ahocevar
49c4a75777
Use extends and super for control/Attribution
2018-07-17 14:41:25 +02: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
ahocevar
28409486a5
Make classes in ol/ available as named exports from ol
2018-06-21 18:08:17 +02:00
Tim Schaub
0e727ae890
Hide attribution control if there are no attributions
2018-05-12 07:39:29 -06:00
ahocevar
440d1ad3e1
Shorter module paths for default exports
2018-04-25 17:25:39 +02:00
Tim Schaub
a3ead88c57
Module types for controls
2018-03-18 10:23:01 -06:00
Tim Schaub
2e0fd1c12d
Module type for Control
2018-03-18 09:53:35 -06:00
Tim Schaub
0edbfde4d3
Module type for MapEvent
2018-03-18 09:48:06 -06:00
Frederic Junod
8c58bb4332
Use 'module:ol/PluggableMap~FrameState' instead of 'olx.FrameState'
2018-03-13 16:06:46 +01:00
Frederic Junod
403a7bdfc7
Mark optional property with square brackets
2018-03-13 13:29:21 +01:00
Tim Schaub
cddfd7cb3b
Move AttributionOptions to ol/control/Attribution
2018-03-11 10:41:27 -06:00
Frederic Junod
2e34421c71
Use Element type instead of Node for an html element
2018-03-09 16:59:58 +01:00
Frederic Junod
3435ac575e
Better type definition
...
Fixes the `Invalid type(s) for operator IN.` warnings from the closure compiler.
2018-03-07 16:45:46 +01:00
Tim Schaub
971d2d6f07
Export render from ol/control/Attribution
2018-02-18 22:32:43 -07:00
Marc Jansen
0aac821633
Add and use a constant for the collapsed CSS class
2018-02-15 18:31:13 +01:00
Frederic Junod
ac32311894
Add named exports for visibleAtResolution function
2018-02-14 11:12:56 +01:00
Tim Schaub
7e7631c42a
Named exports from ol/events
2018-01-24 10:09:57 -07:00
Tim Schaub
ad62739a6e
Use blocked scoped variables
...
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
2018-01-12 00:50:30 -07:00
Tim Schaub
f94d69c7a8
Rename _ol_layer_Layer_ to Layer
2018-01-11 12:06:58 -07:00
Marc Jansen
02002082bf
Named exports from ol/array module
2017-12-19 17:22:58 +01:00
Marc Jansen
a7c5897bdb
Named exports from ol/css module
2017-12-19 11:38:56 +01:00
Tim Schaub
b7e9b8b461
Remove logos
2017-12-16 08:46:50 -07:00
Marc Jansen
479c7a4668
Rename _ol_events_EventType_ to EventType
2017-12-15 16:19:03 +01:00
Tim Schaub
681f1285f8
Rename _ol_control_Control_ to Control
2017-12-14 12:57:49 -07:00
Tim Schaub
46e5755f40
Rename _ol_control_Attribution_ to Attribution
2017-12-14 12:57:42 -07:00
Frederic Junod
f6627c4d4e
Named exports from ol/dom
2017-12-14 12:27:09 +01:00
Tim Schaub
7e3d44e35a
Remove ol/Attribution
2017-12-12 19:27:23 -07:00
Tim Schaub
87295a74dd
Use named exports from ol/index.js
2017-12-12 12:34:23 -07:00
Tim Schaub
7f47883c48
Transformed
2017-12-12 06:53:18 -07:00
Tim Schaub
1cdb6a66f0
Imports cased like the filename
2017-12-12 06:53:17 -07:00
Tom Payne
c6343ed2bc
Add experimental controls infrastructure, thanks @elemoine
2012-07-18 15:12:30 +02:00
ahocevar
578f74eb86
Less magic.
...
Each control is responsible for its handlers. And all controls are rendered into an overlay, not any more depending on assumptions about link click handling.
2012-06-29 09:44:52 +02:00
ahocevar
f28fe4912f
I think we decided to name events in a noun+verb fashion.
2012-06-26 13:34:34 +02:00
ahocevar
9c46aadd22
Adding attribution control and attribution.
2012-06-24 22:22:18 +02:00