Commit Graph

173 Commits

Author SHA1 Message Date
ahocevar
64e1139230 Fix remaining type issues 2018-05-17 12:29:22 -05:00
Frédéric Junod
8271a51f65 Merge pull request #8194 from fredj/cleanup
miscellaneous code cleanup
2018-05-16 08:31:27 +02:00
Frederic Junod
90ce02941a Better code indentation 2018-05-14 14:58:36 +02:00
ahocevar
8657e31b00 Fix a few doc comment typos 2018-05-13 10:26:29 -05:00
Frederic Junod
af1f6836af Shorter module paths for default exports 2018-05-09 11:24:43 +02:00
ahocevar
59d904e509 Fix some types 2018-04-27 09:30:51 +02:00
Frederic Junod
61067e6c2c Module type for ol.Feature and short notation for ol/render/Feature 2018-04-26 15:38:51 +02:00
Frederic Junod
11d9f6de83 Module type for ol.renderer.* 2018-04-26 15:35:48 +02:00
ahocevar
440d1ad3e1 Shorter module paths for default exports 2018-04-25 17:25:39 +02:00
ahocevar
c23a5086ae Fix enum types 2018-04-21 10:48:38 +02:00
ahocevar
417dd85f83 Fix some jsdoc path types 2018-04-21 10:17:53 +02:00
Tim Schaub
be35f82ae5 Explicit map renderer construction 2018-04-14 09:38:40 -06:00
Frederic Junod
29b37b179c Move olx.ViewState to ol/View 2018-03-23 11:42:46 +01:00
Frederic Junod
bd9e603036 Module type for ol.layer.Layer 2018-03-23 08:44:21 +01:00
Frederic Junod
8a4d60192f Mark optional property with square brackets 2018-03-19 08:29:50 +01:00
Frederic Junod
671af4dd41 Use 'module:ol/plugins~MapRendererPlugin' instead of 'olx.MapRendererPlugin' 2018-03-13 16:38:29 +01:00
Frederic Junod
8c58bb4332 Use 'module:ol/PluggableMap~FrameState' instead of 'olx.FrameState' 2018-03-13 16:06:46 +01:00
Tim Schaub
f306fd0aa0 Move AtPixelOptions to PluggableMap 2018-03-11 10:30:02 -06:00
Frederic Junod
b6695794d3 Fix bad type annotation 2018-03-09 17:09:15 +01:00
Andreas Hocevar
95d6251dbb Get rid of olx.js and typedef.js typedefs for ol 2018-03-08 18:57:24 +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
Andreas Hocevar
9ee79aa6b7 New typedef syntax and constructor options for PluggableMap 2018-03-07 13:56:03 +01:00
Andreas Hocevar
938e475db1 Move MapOptionsInternal to PluggableMap 2018-03-07 13:46:36 +01:00
Frederic Junod
500a017faf Better code indentation 2018-03-05 15:36:40 +01:00
Tim Schaub
b3d915629e Merge pull request #7914 from gberaudo/some_easy_window_cleanups
Some easy window cleanups
2018-03-03 13:04:30 -07:00
Guillaume Beraudo
6280941669 Remove window prefix from event listener functions 2018-02-28 23:28:38 +01:00
Frederic Junod
73b15ef8d7 Better code indentation 2018-02-28 16:46:45 +01:00
Tim Schaub
4e6cf58de1 Remove static members from BaseObject 2018-02-25 08:49:28 -07:00
Frederic Junod
ab28c48338 Only compute the viewState focus when it's needed 2018-02-21 14:42:45 +01:00
Frederic Junod
57a7750924 Named exports from ol/structs/PriorityQueue 2018-02-20 16:13:16 +01:00
Tim Schaub
a480b0065b Named exports from ol/events/Event 2018-02-18 23:08:04 -07:00
Tim Schaub
9aae8aeb26 Export CollectionEvent from ol/Collection 2018-02-18 22:29:50 -07:00
Marc Jansen
183b8e29c4 Named exports from ol/transform 2018-02-15 17:55:54 +01:00
Frederic Junod
017211395a Add new maxTilesLoading option to ol/PluggableMap
To be able to set the maximum number of currently loading tiles.
2018-02-15 13:53:18 +01:00
Frederic Junod
a8f4348add Fix parens grouping in typecasts 2018-02-15 08:44:35 +01:00
Tim Schaub
11a4e1afa6 Named exports from ol/size 2018-02-07 11:47:51 -07:00
Tim Schaub
9cfee0f40b Named exports from ol/has 2018-02-05 10:42:47 -07:00
Tim Schaub
7e7631c42a Named exports from ol/events 2018-01-24 10:09:57 -07:00
Andreas Hocevar
67b7188ba4 Merge pull request #7703 from ahocevar/draw-state
Improved drawing experience on touch devices
2018-01-17 20:25:07 +01:00
Frederic Junod
4c5ca75ca6 Better variables scoping 2018-01-17 10:54:18 +01:00
Andreas Hocevar
6bb88026ea Avoid context menu for long tap when editing on mobile 2018-01-14 23:26:28 +01: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
176021e188 Rename _ol_Collection_ to Collection 2018-01-11 12:06:58 -07:00
Tim Schaub
c6646b1cda Rename _ol_layer_Group_ to LayerGroup 2018-01-11 12:05:59 -07:00
Frederic Junod
356cea1611 Rename _ol_MapProperty_ to MapProperty 2018-01-11 13:48:23 +01:00
Tim Schaub
24dd0ca924 Rename _ol_Object_ to BaseObject 2018-01-10 09:35:43 -07:00
Tim Schaub
1c1f008238 Rename _ol_View_ to View 2018-01-10 09:35:42 -07:00
Tim Schaub
853cecd406 Rename _ol_ViewHint_ to ViewHint 2018-01-10 09:35:42 -07:00
Frederic Junod
72fc1ad81a Rename _ol_PluggableMap_ to PluggableMap 2017-12-21 16:29:28 +01:00
Frederic Junod
194394f7c5 Don't store static variable and function into the exported object 2017-12-21 16:29:28 +01:00