9 [
Attribute(
"", UIWidgets.Object,
desc:
"Layers config",
"conf class=SCR_MapLayersBase")]
12 [
Attribute(
"", UIWidgets.Object,
desc:
"Map properties config",
"conf class=SCR_MapPropsBase")]
15 [
Attribute(
"", UIWidgets.Object,
"Map modules")]
16 ref array<ref SCR_MapModuleBase> m_aModules;
18 [
Attribute(
"", UIWidgets.Object,
"Map UI components")]
19 ref array<ref SCR_MapUIBaseComponent> m_aUIComponents;
21 [
Attribute(defvalue:
"0", uiwidget: UIWidgets.CheckBox,
desc:
"Legend scale component")]
22 bool m_bEnableLegendScale;
24 [
Attribute(defvalue:
"1", uiwidget: UIWidgets.CheckBox,
desc:
"Grid component")]
27 [
Attribute(
"", UIWidgets.Object,
desc:
"Descriptor visibility config",
"conf class=SCR_MapDescriptorVisibilityBase")]
30 [
Attribute(
"", UIWidgets.Object,
desc:
"Descriptor defaults config",
"conf class=SCR_MapDescriptorDefaults")]
39 int m_iDescriptorType;
41 [
Attribute(
"0", UIWidgets.EditBox,
desc:
"Layer ID, determines up to which layer is this descriptor type visible, 0 means not visible")]
50 override bool _WB_GetCustomTitle(BaseContainer source, out
string title)
53 source.Get(
"m_iDescriptorType",
type);
64 [
Attribute(defvalue:
"1", uiwidget: UIWidgets.EditBox,
desc:
"Determines value at which layer switches to a higher one \n Value is in 1000*units (kilometers) visible per 2000 pixels",
params:
"0.1 100")]
65 float m_fLayerCeiling;
67 [
Attribute(defvalue:
"100", uiwidget: UIWidgets.EditBox,
desc:
"Set map grid square size")]
68 float m_fGridSquareSize;
70 [
Attribute(defvalue:
"50", uiwidget: UIWidgets.EditBox,
desc:
"Set map legend scale size in meters")]
71 float m_fLegendScaleSize;
73 [
Attribute(defvalue:
"10", uiwidget: UIWidgets.EditBox,
desc:
"Set density of minor countours, distance between the contour lines, lower layers should have lower numbers")]
74 float m_fContourDensity;
76 [
Attribute(defvalue:
"50", uiwidget: UIWidgets.EditBox,
desc:
"Set density of major contours, distance between the contour lines")]
77 float m_fMajorContourDensity;
82 layer.SetCeiling(2 / m_fLayerCeiling);
85 gridProps.SetGridStepSize(m_fGridSquareSize);
88 contProps.SetContourDensity(m_fContourDensity);
89 contProps.SetMajorDensity(m_fMajorContourDensity);
92 legendProps.SetTotalSegmentLength(m_fLegendScaleSize);
101 [
Attribute(
"", UIWidgets.Object,
"Map properties configuration")]
102 ref array<ref SCR_MapPropsConfig> m_aMapPropConfigs;
110 [
Attribute(
"", UIWidgets.Object,
"Layers")]
111 ref array<ref SCR_LayerConfiguration> m_aLayers;
119 [
Attribute(
"", UIWidgets.Object,
"Descriptor layers",
"")]
120 ref array<ref SCR_DescriptorViewLayer> m_aDescriptorViewLayers;