-
Notifications
You must be signed in to change notification settings - Fork 62
Expand file tree
/
Copy pathlayer-vector-config.json
More file actions
1683 lines (1682 loc) · 64.2 KB
/
layer-vector-config.json
File metadata and controls
1683 lines (1682 loc) · 64.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"tabs": [
{
"name": "Core",
"rows": [
{
"name": "Core",
"components": [
{
"field": "type",
"name": "Layer Type",
"description": "",
"type": "dropdown",
"width": 2,
"options": [
"data",
"header",
"image",
"model",
"query",
"tile",
"vector",
"vectortile",
"velocity"
]
},
{
"field": "name",
"name": "Layer Name",
"description": "A display name for the layer.",
"type": "textnotrim",
"width": 6
},
{
"field": "kind",
"name": "Kind of Layer",
"description": "A special kind of interaction for the layer. Please see the Kinds page in the documentation for more.",
"type": "dropdown",
"width": 2,
"options": [
"none",
"info",
"waypoint",
"chemistry_tool",
"draw_tool",
"edl_wedge"
]
},
{
"field": "visibility",
"name": "Initial Visibility",
"description": "Whether the layer is on initially.",
"type": "checkbox",
"width": 2,
"defaultChecked": false
}
]
},
{
"components": [
{
"field": "url",
"name": "URL",
"description": "A file path that points to a geojson. If the path is relative, it will be relative to the mission's directory. The URL must contain a proper placeholder ending such as: {z}/{x}/{y}.png.\nAlternatively vectors can be served with Geodatasets or through API calls via the following constructed URLs:\n\t<strong>• 'geodatasets:{geodataset_name}'</strong> - Simply go to 'Manage Geodatasets' at the bottom left, upload a geojson and link to it in this URL field with 'geodatasets:{geodataset_name}'\n\t<strong>• 'api:publishedall'</strong> - Grabs all features published via the DrawTool.\n\t<strong>• 'api:published:{file_intent}'</strong> - Grabs all features published via the DrawTool of a certain intent. Possible values are: roi, campaign, campsite, signpost, trail, all\n\t<strong>• 'api:drawn:{file_id}'</strong> - Grabs a user drawn file from the DrawTool. The file_id is an integer and can be found by hovering over the desired file in the DrawTool. Note that if the file chosen is still private, the file owner will be the only user who can view it.",
"type": "text",
"width": 12
}
]
},
{
"components": [
{
"field": "minZoom",
"name": "Minimum Zoom",
"description": "The lowest (smallest number) zoom level for which to show this layer. If the current Map's zoom level is less than this, the layer will not be rendered even if the layer is still on.",
"type": "number",
"min": 0,
"step": 1,
"width": 2
},
{
"field": "maxZoom",
"name": "Maximum Zoom",
"description": "The highest (greatest number) zoom level for which to show this layer. If the current Map's zoom level is higher/deeper than this, the layer will not be rendered even if the layer is still on.",
"type": "number",
"min": 0,
"step": 1,
"width": 2
},
{
"field": "layer3dType",
"name": "3D Layer Type",
"description": "Whether, in the Globe, to clamp this layer onto the ground textures or to represent with sprites and line objects.",
"type": "dropdown",
"width": 2,
"options": ["clamped", "vector"]
},
{
"field": "initialOpacity",
"name": "Initial Opacity",
"description": "A value from 0 (transparent) to 1 (opaque) of the layer's initial opacity.",
"type": "number",
"min": 0,
"max": 1,
"width": 2
},
{
"field": "controlled",
"name": "Controlled",
"description": "Whether the layer can be dynamically updated via the JavaScript API or not. If true, the layer can be dynamically updated and the URL is not required. If true and a URL is set and Time Enabled is true, the initial url query will be performed.",
"type": "checkbox",
"width": 4,
"defaultChecked": false
}
]
}
]
},
{
"name": "Style",
"rows": [
{
"name": "Style",
"components": [
{
"field": "style.color",
"name": "Color",
"description": "The border color of each feature. If the feature is a line, this field is the color of the line.",
"type": "colorpicker",
"default": "#FFFFFF",
"width": 2
},
{
"field": "style.colorProp",
"name": "Color From Property",
"description": "Color but taken from each individual feature's property. For example 'color' or 'path.to.prop.in.properties.object'. Takes priority over the value in the 'Color' field.",
"type": "text",
"width": 4
},
{
"field": "style.opacity",
"name": "Opacity",
"description": "Stroke Opacity",
"type": "slider",
"default": 1,
"min": 0,
"max": 1,
"step": 0.01,
"width": 2
},
{
"field": "style.opacityProp",
"name": "Opacity From Property",
"description": "Opacity but taken from each individual feature's property. For example 'opacity' or 'path.to.prop.in.properties.object'. Takes priority over the value in the 'Opacity' field.",
"type": "text",
"width": 4
}
]
},
{
"components": [
{
"field": "style.fillColor",
"name": "Fill Color",
"description": "Fill Color",
"type": "colorpicker",
"default": "#FFFFFF",
"width": 2
},
{
"field": "style.fillColorProp",
"name": "Fill Color From Property",
"description": "Fill Color but taken from each individual feature's property. For example 'fill_color' or 'path.to.prop.in.properties.object'. Takes priority over the value in the 'Fill Color' field.",
"type": "text",
"width": 4
},
{
"field": "style.fillOpacity",
"name": "Fill Opacity",
"description": "Fill Opacity",
"type": "slider",
"default": 0.8,
"min": 0,
"max": 1,
"step": 0.01,
"width": 2
},
{
"field": "style.fillOpacityProp",
"name": "Fill Opacity From Property",
"description": "Fill Opacity but taken from each individual feature's property. For example 'fill_opacity' or 'path.to.prop.in.properties.object'. Takes priority over the value in the 'Fill Opacity' field.",
"type": "text",
"width": 4
}
]
},
{
"components": [
{
"field": "style.weight",
"name": "Weight",
"description": "Stroke weight in pixels of point features.",
"type": "slider",
"default": 2,
"min": 0,
"max": 16,
"step": 1,
"width": 2
},
{
"field": "style.weightProp",
"name": "Weight From Property",
"description": "Weight but taken from each individual feature's property. For example 'weight' or 'path.to.prop.in.properties.object'. Takes priority over the value in the 'Weight' field.",
"type": "text",
"width": 4
},
{
"field": "style.radius",
"name": "Radius",
"description": "Radius in pixels of point features.",
"type": "slider",
"default": 6,
"min": 0,
"max": 32,
"step": 1,
"width": 2
},
{
"field": "style.radiusProp",
"name": "Radius From Property",
"description": "Radius but taken from each individual feature's property. For example 'radius' or 'path.to.prop.in.properties.object'. Takes priority over the value in the 'Radius' field.",
"type": "text",
"width": 4
}
]
},
{
"components": [
{
"field": "shape",
"name": "Shape",
"description": "A marker symbol for point features for this layer. When set to 'None', a simple circle is used. Marker icons and other attachments may override this setting.",
"type": "dropdown",
"width": 3,
"options": [
"none",
"circle",
"directional-circle",
"triangle",
"triangle-flipped",
"square",
"diamond",
"pentagon",
"hexagon",
"star",
"plus",
"pin"
]
},
{
"field": "style.shapeIcon",
"name": "Shape From Icon",
"description": "Shape but taken from the Material Design Icon (mdi) library. Takes priority over the value in the 'shape' field. See <a target='_blank' href='https://pictogrammers.com/library/mdi/'>https://pictogrammers.com/library/mdi/</a>",
"type": "text",
"width": 3
},
{
"field": "style.shapeProp",
"name": "Shape From Property",
"description": "Shape but taken from each individual feature's property. For example 'shape' or 'path.to.prop.in.properties.object'. Takes priority over the value in the 'shape' and 'shape from icon' fields. Shape values are formatted like the dropdown options but all lowercase. Material Design Icon (mdi) icon names are also supported values.",
"type": "text",
"width": 3
},
{
"field": "style.shapeRotationOffset",
"name": "Shape Rotation Offset",
"description": "A original offset by which the rotate the original shape/icon so that it is natively pointing up. Useful with Attachment - Marker Bearings where, for instance, a plane with a bearing is desired but the plane icon natively points leftward.",
"type": "number",
"width": 3
}
]
},
{
"subname": "Marker Icons",
"subdescription": "Uses an icon image instead of an svg for all of the layer's point markers. If you're using this as a bearing marker, make sure the base icon is pointing north.",
"components": [
{
"field": "variables.markerIcon.iconUrl",
"name": "Icon URL",
"description": "A URL to an image to use as a marker icon.",
"type": "text",
"width": 12
}
]
},
{
"components": [
{
"field": "variables.markerIcon.shadowUrl",
"name": "Shadow URL",
"description": "An optional URL to an image to use as a marker icon's shadow..",
"type": "text",
"width": 12
}
]
},
{
"components": [
{
"field": "variables.markerIcon.iconSize.0",
"name": "Icon X Size",
"description": "Pixel width of the icon's image.",
"type": "number",
"min": 0,
"step": 1,
"width": 3
},
{
"field": "variables.markerIcon.iconSize.1",
"name": "Icon Y Size",
"description": "Pixel height of the icon's image.",
"type": "number",
"min": 0,
"step": 1,
"width": 3
},
{
"field": "variables.markerIcon.shadowSize.0",
"name": "Shadow X Size",
"description": "Pixel width of the icon's shadow.",
"type": "number",
"min": 0,
"step": 1,
"width": 3
},
{
"field": "variables.markerIcon.shadowSize.1",
"name": "Shadow Y Size",
"description": "Pixel height of the icon's shadow.",
"type": "number",
"min": 0,
"step": 1,
"width": 3
}
]
},
{
"components": [
{
"field": "variables.markerIcon.iconAnchor.0",
"name": "Icon X Anchor",
"description": "X point of the icon which will correspond to marker's center location.",
"type": "number",
"width": 3
},
{
"field": "variables.markerIcon.iconAnchor.1",
"name": "Icon Y Anchor",
"description": "Y point of the icon which will correspond to marker's center location.",
"type": "number",
"width": 3
},
{
"field": "variables.markerIcon.shadowAnchor.0",
"name": "Shadow X Anchor",
"description": "X point of the shadow which will correspond to marker's center location.",
"type": "number",
"width": 3
},
{
"field": "variables.markerIcon.shadowAnchor.1",
"name": "Shadow Y Anchor",
"description": "Y point of the shadow which will correspond to marker's center location.",
"type": "number",
"width": 3
}
]
}
]
},
{
"name": "Time",
"rows": [
{
"name": "Time",
"components": [
{
"field": "time.enabled",
"name": "Time Enabled",
"description": "True if the layer is time enabled. URLs that contain {starttime} or {endtime} will be dynamically replaced by their set values when the layer is fetched. If true and a URL is set and Controlled is true, only the initial url query will be performed.",
"type": "switch",
"width": 3,
"defaultChecked": false
}
]
},
{
"components": [
{
"field": "time.type",
"name": "Time Type",
"description": "When the time changes, whether the layer should requery the source or filter the layer locally based on feature properties.",
"type": "dropdown",
"width": 3,
"options": ["requery", "local"]
}
]
},
{
"components": [
{
"field": "time.format",
"name": "Time Format",
"description": "The string format to be used in the URL for {starttime} and {endtime}. Uses D3 time format specifiers: <a target='_blank' href='https://github.com/d3/d3-time-format'>https://github.com/d3/d3-time-format</a>. Default: %Y-%m-%dT%H:%M:%SZ",
"type": "text",
"width": 6
}
]
},
{
"components": [
{
"field": "time.startProp",
"name": "Start Time Property Name",
"description": "Optional and only in use if Time Enabled = true and Time Type = Local. The starting time property path. Setting this is addition to Main Time Property Name casts the feature's time over a range instead of as a single point in time. Can use dot-notation for nested path. Can be a unix timestamp or an ISO time (end the ISO with a Z to designate that it should be treated as a UTC time).",
"type": "text",
"width": 6
},
{
"field": "time.endProp",
"name": "Main/End Time Property Name",
"description": "Required in Time Enabled = true and Time Type = Local. The main time property path. Can use dot-notation for nested path. Can be a unix timestamp or an ISO time (end the ISO with a Z to designate that it should be treated as a UTC time).",
"type": "text",
"width": 6
}
]
},
{
"components": [
{
"field": "time.refreshIntervalEnabled",
"name": "Refresh Interval Enabled",
"description": "If 'Time Enabled' and 'Refresh Interval Enabled', this layer will automatically refresh/requery its data every 'Refresh Every N Seconds'. This is useful when the layer's data updates at some uniform cadence. Be aware that this may be an expensive operation depending on the amount of data a layer needs and the number of layers that have this enabled.",
"type": "switch",
"width": 5,
"defaultChecked": false
},
{
"field": "time.refreshIntervalAmount",
"name": "Refresh Every N Seconds",
"description": "If 'Time Enabled' and 'Refresh Interval Enabled', this layer will automatically refresh/requery its data every n seconds. If null or 0, defaults to 60.",
"type": "number",
"min": 1,
"width": 3
}
]
}
]
},
{
"name": "Legend",
"rows": [
{
"name": "Legend",
"components": [
{
"new": true,
"field": "legend",
"name": "Legend From URL",
"description": "A URL to a .csv with the following header: 'color,strokecolor,shape,value'. If the path is relative, it will be relative to the mission's directory. This legend is overridden if a legend is also configured below.",
"type": "text",
"width": 12
}
]
},
{
"components": [
{
"field": "variables.legend",
"name": "Legend",
"description": "Configures a legend for the layer. The Legend Tool renders symbologies and gradient scales for any properly configured layer that is on.",
"type": "objectarray",
"width": 12,
"object": [
{
"field": "color",
"name": "Fill Color",
"description": "A color for the main fill of the symbol.",
"type": "colorpicker",
"width": 2
},
{
"field": "strokecolor",
"name": "Border Color",
"description": "A stroke/border color. Note that 'discreet' and 'continuous' shapes have no borders.",
"type": "colorpicker",
"width": 2
},
{
"field": "shape",
"name": "Shape",
"description": "The symbol for which to us for this legend entry. Discreet and continuous describe scales. These scales are broken into groups by a change in shape value. For instance, 'discreet, discreet, discreet, circle, discreet, discreet' represents a discreet scales of three colors, a circle and then a discreet scale of two colors.",
"type": "dropdown",
"width": 5,
"options": [
"circle",
"square",
"rect",
"triangle",
"continuous",
"discreet"
]
},
{
"field": "value",
"name": "Label",
"description": "A label description for this legend entry.",
"type": "text",
"width": 3
}
]
}
]
}
]
},
{
"name": "Interface",
"rows": [
{
"name": "Interface",
"subname": "Hover Feature Label",
"subdescription": "The property key whose value should be the hover text of each feature. If left unset, the hover key and value will be the first one listed in the feature's properties.",
"components": [
{
"new": true,
"field": "variables.useKeyAsName.0",
"name": "Property 1",
"description": "",
"type": "text",
"width": 2
},
{
"new": true,
"field": "variables.useKeyAsName.1",
"name": "Property 2",
"description": "",
"type": "text",
"width": 2
},
{
"new": true,
"field": "variables.useKeyAsName.2",
"name": "Property 3",
"description": "",
"type": "text",
"width": 2
},
{
"new": true,
"field": "variables.useKeyAsName.3",
"name": "Property 4",
"description": "",
"type": "text",
"width": 2
},
{
"new": true,
"field": "variables.useKeyAsName.4",
"name": "Property 5",
"description": "",
"type": "text",
"width": 2
},
{
"new": true,
"field": "variables.useKeyAsName.5",
"name": "Property 6",
"description": "",
"type": "text",
"width": 2
}
]
},
{
"components": [
{
"new": true,
"field": "variables.useKeyAsName.6",
"name": "Property 7",
"description": "",
"type": "text",
"width": 2
},
{
"new": true,
"field": "variables.useKeyAsName.7",
"name": "Property 8",
"description": "",
"type": "text",
"width": 2
},
{
"new": true,
"field": "variables.useKeyAsName.8",
"name": "Property 9",
"description": "",
"type": "text",
"width": 2
},
{
"new": true,
"field": "variables.useKeyAsName.9",
"name": "Property 10",
"description": "",
"type": "text",
"width": 2
},
{
"new": true,
"field": "variables.useKeyAsName.10",
"name": "Property 11",
"description": "",
"type": "text",
"width": 2
},
{
"new": true,
"field": "variables.useKeyAsName.11",
"name": "Property 12",
"description": "",
"type": "text",
"width": 2
}
]
},
{
"subname": "Key Bindings",
"components": [
{
"field": "variables.shortcutSuffix",
"name": "Alt + {letter} Toggle Shortcut",
"description": "A single letter to 'ALT + {letter}' toggle the layer on and off. Please verify that your chosen shortcut does not conflict with other system or browser-level keyboard shortcuts.",
"type": "text",
"width": 6
}
]
},
{
"subname": "Search",
"components": [
{
"field": "variables.search",
"name": "Search Construct",
"description": "When set, this layer will become searchable through the search bar at the top. The search will look for and autocomplete on the properties specified. All properties are enclosed by parentheses and space-separated. 'round()' can be used like a function to round the property beforehand. 'rmunder()' works similarly but removes all underscores instead. For example: '(RMC) rmunder(sol)'",
"type": "text",
"width": 12
}
]
},
{
"subname": "Links",
"components": [
{
"field": "variables.links",
"name": "External Links",
"description": "Configure deep links to other sites based on the properties on a selected feature. Upon clicking a feature, a list of deep links are put into the top bar and can be clicked on to navigate to any other page.",
"type": "objectarray",
"width": 12,
"object": [
{
"field": "name",
"name": "Display Name",
"description": "The name of the deep link. It should be unique.",
"type": "text",
"width": 3
},
{
"field": "link",
"name": "URL",
"description": "A url template. Curly brackets are included. On feature click, all '{prop}' are replaced with the corresponding features[i].properties.prop value. Multiple '{prop}' are supported as an access to nested props using dot notation '{stores.food.candy}'.",
"type": "text",
"width": 9
}
]
}
]
},
{
"subname": "Information",
"components": [
{
"field": "variables.info",
"name": "TopBar Information",
"description": "Creates an informational record at the top of the page. The first use case was showing the value of the latest sol. Clicking this record pans to the feature specified by 'which'. This is used on startup and not when a user selects a feature in this layer.",
"type": "objectarray",
"width": 12,
"object": [
{
"field": "value",
"name": "Information Construct",
"description": "A name to display. All '{prop}'s will be replaced by their corresponding features[which].properties[prop] value.",
"type": "text",
"width": 4
},
{
"field": "icon",
"name": "Icon Name",
"description": "Any Material Design Icon name: <a target='_blank' href='https://pictogrammers.com/library/mdi/'>https://pictogrammers.com/library/mdi/</a>",
"type": "text",
"width": 3
},
{
"field": "which",
"name": "From Feature",
"description": "This only supports the value 'last' at this point meaning that the properties from the last feature in the layer while be used to populate the information in the TopBar. ",
"type": "dropdown",
"width": 3,
"options": ["last"]
},
{
"field": "go",
"name": "Go",
"description": "if true, pans and zooms to the feature of which on initial load. The zoom used is Map Scale Zoom or the current zoom. In the case of multiple layers configured with 'Go', only the first feature with info.go is gone to.",
"type": "checkbox",
"width": 2,
"defaultChecked": false
}
]
}
]
}
]
},
{
"name": "Information",
"rows": [
{
"name": "Information",
"subname": "Layer Tags",
"subdescription": "Assign tags to this layer so that they may be searched upon through the LayersTool. A category may be specified with the following pattern: 'category:tag'",
"components": [
{
"field": "tags.0",
"name": "Tag",
"description": "",
"type": "text",
"width": 2
},
{
"field": "tags.1",
"name": "Tag",
"description": "",
"type": "text",
"width": 2
},
{
"field": "tags.2",
"name": "Tag",
"description": "",
"type": "text",
"width": 2
},
{
"field": "tags.3",
"name": "Tag",
"description": "",
"type": "text",
"width": 2
},
{
"field": "tags.4",
"name": "Tag",
"description": "",
"type": "text",
"width": 2
},
{
"field": "tags.5",
"name": "Tag",
"description": "",
"type": "text",
"width": 2
}
]
},
{
"components": [
{
"field": "tags.6",
"name": "Tag",
"description": "",
"type": "text",
"width": 2
},
{
"field": "tags.7",
"name": "Tag",
"description": "",
"type": "text",
"width": 2
},
{
"field": "tags.8",
"name": "Tag",
"description": "",
"type": "text",
"width": 2
},
{
"field": "tags.9",
"name": "Tag",
"description": "",
"type": "text",
"width": 2
},
{
"field": "tags.10",
"name": "Tag",
"description": "",
"type": "text",
"width": 2
},
{
"field": "tags.11",
"name": "Tag",
"description": "",
"type": "text",
"width": 2
}
]
},
{
"subname": "Description",
"subdescription": "A freeform markdown description of the layer. In the LayersTool, users may click the information icon beside the layer's name to view this information.",
"components": [
{
"field": "description",
"name": "Description",
"description": "",
"type": "markdown",
"width": 12
}
]
}
]
},
{
"name": "Behavior",
"rows": [
{
"name": "Behavior",
"subname": "Dynamic Extent",
"components": [
{
"field": "variables.dynamicExtent",
"name": "Enabled",
"description": "If true, tries to only query the vector features present in the user's current map viewport. This can be very performant for large vector datasets especially if minimum and maximum zooms are set for the layer. Pan and zooming causes requeries. If used with a geodataset, the time and extent queries will work out-of-the-box. Otherwise, if using an external server, the following parameters in {} will be automatically replaced on query in the url: 'starttime={starttime}&endtime={endtime}&startprop={startprop}&endprop={endprop}&crscode={crscode}&zoom={zoom}&minx={minx}&miny={miny}&maxx={maxx}&maxy={maxy}'. This setting is not advised if the data source is a straight geojson file because it expects a server that can crop the data to given extents.",
"type": "switch",
"width": 3,
"defaultChecked": false
},
{
"field": "variables.dynamicExtentMoveThreshold",
"name": "Threshold",
"description": "If dynamicExtent is true, only requery if the map was panned past the stated threshold. Unit is in meters. If a zoom-dependent threshold is desired, set this value to a string ending in '/z'. This will then internally use 'dynamicExtentMoveThreshold / Math.pow(2, zoom)' as the threshold value.",
"type": "text",
"width": 3
}
]
},
{
"subname": "Identification",
"components": [
{
"field": "variables.useKeyAsId",
"name": "Property Key of Unique Id",
"description": "In the case of deep-linking to certain features, a feature.properties key/field name is needed that points to a unique id in order to reselect it. dot.notation.is.supported for nested fields. You must make sure unique key values exist per feature for this to function properly. It is advised to set this if 'Dynamic Extent' is enabled.",
"type": "text",
"width": 3
}
]
},
{
"subname": "Miscellaneous",
"components": [
{
"field": "variables.style.nointeraction",
"name": "Disable Interactivity",
"description": "If checked, no mouse events will trigger on features of this layer.",
"type": "checkbox",
"width": 2,
"defaultChecked": false
}
]
}
]
},
{
"name": "Datasets",
"rows": [
{
"name": "Datasets",
"subname": "Dataset Connections",
"components": [
{
"field": "variables.datasetLinks",
"name": "Connections",
"description": "Datasets are csvs uploaded from the 'Manage Datasets' page accessible on the lower left. Every time a feature from this layer is clicked with datasetLinks configured, it will request the data from the server and include it with it's regular geojson properties. This is especially useful when single features need a lot of metadata to perform a task as it loads it only as needed. A unique value needs to be present in both the feature's 'prop'erties and in the dataset's 'column' in order to combine the metadata.",
"type": "objectarray",
"width": 12,
"object": [
{
"field": "dataset",
"name": "Dataset Name",
"description": "The name of a dataset to link to. A list of datasets can be found in the 'Manage Datasets' page.",
"type": "text",
"width": 3
},
{
"field": "column",
"name": "Connecting Dataset Column",
"description": "This is a column/csv header name within the dataset. If the value of the prop key matches the value in this column, the entire row will be return. All rows that match are returned.",
"type": "text",
"width": 3
},
{
"field": "prop",
"name": "Connecting Feature Property",
"description": "This is a property key already within the features properties. It's value will be searched for in the specified dataset column.",
"type": "text",
"width": 3
}
]
}
]
}
]
},
{
"name": "Attachment - Layers",
"rows": [
{
"name": "Attachment - Layers",
"subname": "Labels",
"components": [
{
"field": "variables.layerAttachments.labels.enabled",
"name": "Enabled",
"description": "Place a label beside each feature. Also applies to 'Coordinate Attachments -> Marker' features.",
"type": "switch",
"width": 3,
"defaultChecked": false
}
]
},
{
"components": [
{
"field": "variables.layerAttachments.labels.initialVisibility",
"name": "Initial Visibility",
"description": "Whether the label sublayer is initially on. Users can toggle sublayers on and off in the layer settings in the LayersTool.",
"type": "checkbox",
"width": 2,
"defaultChecked": false
},
{
"field": "variables.layerAttachments.labels.theme",
"name": "Theme",
"description": "Label theme. Either default or solid. Default is white text with a black border. Solid is white text with a dark-grey background box.",
"type": "dropdown",
"width": 2,
"options": ["default", "solid"]
},
{
"field": "variables.layerAttachments.labels.size",
"name": "Size",
"description": "Label size. Either default or large. Default is 14px, large is 16px.",
"type": "dropdown",
"width": 2,
"options": ["default", "large"]
}
]
},
{
"subname": "Pairings",
"components": [
{
"field": "variables.layerAttachments.pairings.enabled",
"name": "Enabled",
"description": "Links cross-layer features together. Features paired to this layer will attempt to compute the azimuth-elevation relationship between the two to draw in the Viewer's PhotoSphere. Additionally, on the Map, a line will be drawn between the two features.",
"type": "switch",
"width": 3,
"defaultChecked": false
}
]
},
{
"components": [