Commit ab2bed3
[Maps] update LayerWizard previewLayer to take layerDescriptor instead of ISource (#64461)
* more changes
* remove unused state argument
* revert change to make diff easier to follow
* migrate pew pew source to new previewLayer
* remove createDefaultLayer from ISource
* migrate EMS boundaries layer wizard
* convert ems tms layer wizard to previewLayer
* convert kibana base map to preview layer
* convert all other sources to previewLayer
* tslint clean-up
* remaining ts lint errors
* i18n clean up
* review feedback
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>1 parent 0e99bd6 commit ab2bed3
51 files changed
Lines changed: 727 additions & 910 deletions
File tree
- x-pack/plugins
- maps/public
- angular
- connected_components/layer_addpanel
- import_editor
- source_editor
- source_select
- layers
- sources
- client_file_source
- ems_file_source
- ems_tms_source
- es_geo_grid_source
- es_pew_pew_source
- es_search_source
- kibana_regionmap_source
- kibana_tilemap_source
- mvt_single_layer_vector_source
- vector_source
- wms_source
- xyz_tms_source
- translations/translations
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 11 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | | - | |
11 | 9 | | |
12 | | - | |
13 | 10 | | |
14 | | - | |
15 | | - | |
16 | | - | |
| 11 | + | |
17 | 12 | | |
18 | | - | |
19 | 13 | | |
20 | | - | |
21 | 14 | | |
22 | | - | |
23 | 15 | | |
24 | | - | |
| 16 | + | |
25 | 17 | | |
26 | | - | |
| 18 | + | |
27 | 19 | | |
28 | | - | |
29 | 20 | | |
30 | 21 | | |
31 | 22 | | |
| |||
35 | 26 | | |
36 | 27 | | |
37 | 28 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
42 | 33 | | |
43 | 34 | | |
44 | 35 | | |
45 | 36 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
50 | 41 | | |
51 | 42 | | |
52 | 43 | | |
| |||
Lines changed: 11 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
| 7 | + | |
| 8 | + | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | | - | |
14 | | - | |
| 12 | + | |
| 13 | + | |
15 | 14 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
32 | 18 | | |
33 | 19 | | |
34 | 20 | | |
35 | 21 | | |
36 | | - | |
| 22 | + | |
| 23 | + | |
37 | 24 | | |
38 | | - | |
39 | 25 | | |
40 | 26 | | |
41 | 27 | | |
42 | 28 | | |
43 | 29 | | |
44 | 30 | | |
45 | | - | |
46 | | - | |
| 31 | + | |
| 32 | + | |
47 | 33 | | |
48 | 34 | | |
49 | 35 | | |
50 | 36 | | |
51 | | - | |
52 | 37 | | |
53 | 38 | | |
54 | 39 | | |
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 0 additions & 40 deletions
This file was deleted.
Lines changed: 2 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 40 | + | |
54 | 41 | | |
0 commit comments