Commit Graph

666 Commits

Author SHA1 Message Date
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 fb22c587f8 Rename _ol_style_Icon_ to Icon 2018-01-11 13:25:01 -07:00
Tim Schaub 4f4c90fc20 Rename _ol_style_Style_ to Style 2018-01-11 13:22:43 -07:00
Tim Schaub 176021e188 Rename _ol_Collection_ to Collection 2018-01-11 12:06:58 -07:00
Tim Schaub 5337dc31d9 Rename _ol_layer_VectorTile_ to VectorTileLayer 2018-01-11 12:06:58 -07:00
Tim Schaub f94d69c7a8 Rename _ol_layer_Layer_ to Layer 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
Tim Schaub ba206c9683 Rename _ol_layer_Base_ to BaseLayer 2018-01-11 12:01:21 -07:00
Frederic Junod 7157de3851 Rename _ol_layer_Property_ to LayerProperty 2018-01-11 13:59:43 +01:00
Tim Schaub 453b79dad7 Rename _ol_layer_Image_ to ImageLayer 2018-01-10 09:36:28 -07:00
Tim Schaub 45c6e43b42 Rename _ol_layer_Vector_ to VectorLayer 2018-01-10 09:36:23 -07:00
Tim Schaub 24dd0ca924 Rename _ol_Object_ to BaseObject 2018-01-10 09:35:43 -07:00
Ron Young a11208d126 rename _ol_math_ imports 2017-12-20 19:31:00 -06:00
Frédéric Junod 2d58ef4c1d Merge pull request #7635 from fredj/named_export
More module renaming
2017-12-19 16:41:14 +01:00
Marc Jansen 1aa7313a7b Merge pull request #7634 from marcjansen/tilelayer-rename
Rename _ol_layer_Tile_ to TileLayer
2017-12-19 10:06:15 +01:00
Marc Jansen 25946b4541 Rename _ol_layer_Tile_ to TileLayer 2017-12-19 08:45:00 +01:00
Frederic Junod d0728a5e65 Rename _ol_source_State_ to SourceState 2017-12-19 08:33:14 +01:00
Frederic Junod 277e470bd3 Rename _ol_render_EventType_ to RenderEventType 2017-12-18 17:23:05 +01:00
Frederic Junod c64aada38f Rename _ol_LayerType_ to LayerType 2017-12-18 16:43:10 +01:00
Frederic Junod 904f197c06 Rename _ol_layer_Group_.Property_ to Property 2017-12-18 13:40:30 +01:00
Frederic Junod ae7fb85ef0 Rename _ol_layer_Vector_.Property_ to Property 2017-12-18 13:36:19 +01:00
Frederic Junod d35b4b8be4 Rename _ol_layer_Heatmap_ to Heatmap 2017-12-18 13:29:52 +01:00
Frederic Junod b35d464cc8 Rename _ol_layer_Heatmap_.Property_ to Property 2017-12-18 13:29:52 +01:00
Frederic Junod e23d0bf907 Rename _ol_ObjectEventType_ to ObjectEventType 2017-12-18 13:29:52 +01:00
Frederic Junod 64e7ae6eb8 Rename _ol_CollectionEventType_ to CollectionEventType 2017-12-18 10:50:52 +01:00
Frederic Junod 9349ba5403 Named export for ol/asserts 2017-12-18 10:33:41 +01:00
Marc Jansen 479c7a4668 Rename _ol_events_EventType_ to EventType 2017-12-15 16:19:03 +01:00
Frederic Junod 0bc28323c8 Simplify default export
This removes unnecessary variable declarations where the default object is an object.
2017-12-15 15:21:25 +01:00
Frederic Junod 2ca60292bb Simplify default export 2017-12-14 12:23:06 -07:00
Frederic Junod f6627c4d4e Named exports from ol/dom 2017-12-14 12:27:09 +01:00
Andreas Hocevar c0c43bca84 Use named imports from extent 2017-12-13 14:05:42 +01: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
Andreas Hocevar dad5cb6166 Fix case of vectorrendertype.js 2017-12-06 17:14:51 +01:00
Andreas Hocevar 3c806f924e Address review comments 2017-11-27 17:54:16 +01:00
Andreas Hocevar dde81d8585 Add renderMode option to ol.layer.Vector
This also deprecates ol.source.ImageVector.
2017-11-27 09:48:52 +01:00
Andreas Hocevar 08af207724 Add decluttering for images and text 2017-10-31 11:33:48 +01:00
Tim Schaub 8a08ab6463 Correct types 2017-08-15 15:37:37 -04:00
Tim Schaub 9271df7e1d Pluggable renderers 2017-08-15 15:37:37 -04:00
Aleš Jiránek e52ca96dc3 Fix return type annotation of ol.layer.VectorTile.getSource 2017-08-04 12:05:17 +02:00
Guillaume Beraudo 63b14f5f32 Make ol.layer.Group change handling consistent
Changes to the layer were only propagated in some cases like addition/removal of a
layer to the group.

To make it consistent both with the rest of the group.js file and with the
layer.js file, the changes are now always notified.
2017-08-03 11:44:06 +02:00
Marc Jansen 7d6929c710 Manual adjustment of indentation 2017-06-20 10:41:03 +02:00
Marc Jansen d0ef05977b Autofix indentation issues (eslint --fix) 2017-06-19 11:58:00 +02:00
Tim Schaub 64b3302883 Require that map layers are unique 2017-04-13 05:38:49 -06:00
Ilia Choly 2dc656c098 Add ol.RenderOrderFunction typedef 2017-03-09 13:02:39 -05:00
Andreas Hocevar 302087b4ec Reuse properties from ol.layer.TileProperty 2017-02-14 22:19:38 +01:00
Tim Schaub f5aea97d3b All @api annotations imply stability 2017-02-06 09:22:05 -07:00
Frederic Junod b470220405 Add empty ol.layer.Group.createRenderer 2017-01-30 17:16:01 +01:00
Frederic Junod 546fc97cd4 Add abstract tag at class level 2017-01-30 17:16:01 +01:00