Class: ChartSettingS57

ChartSettingS57

S57海图显示参数设置类,继承自ChartSetting类。

new ChartSettingS57(options)

common/iServer/ChartSettingS57.js, line 8
Name Type Description
options Object

参数。

Name Type Default Description
displayModeChart DisplayModeChart DisplayModeChart.STANDARD 可选

海图显示模式。

colourModeChart ColourModeChart ColourModeChart.DAY_BRIGHT 可选

海图显示的颜色模式。

displayTypeName string "S52" 可选

海图显示类型的名称,如 "S52"、"IENC"、"INT"。

fontName string "Arial" 可选

海图上显示文本的字体名称。

simplifiedMarker boolean true 可选

是否使用简单海图符号。

symbolizedAreaBoundary boolean false 可选

是否使用符号化的区域边界。

displayTextMessage boolean false 可选

是否在海图上显示文本信息。

displaySounding boolean false 可选

是否显示水深点。

minVisibleScaleEnabled boolean true 可选

物标的最小可见比例尺是否有效。

localizationDisplayText boolean false 可选

是否对文本进行本地化显示。

displayMetaObject boolean false 可选

是否显示元物标。

displayCellName boolean false 可选

是否显示图幅编号。

displaySafetyContourLabel boolean true 可选

是否显示安全等深线标注。

displayBorder boolean false 可选

是否显示图幅边框。

safetyContour number 30.0 可选

安全等深线。单位以 depthUnit 设置的水深单位为准。

shallowContour number 2.0 可选

浅水等深线。单位以 depthUnit 设置的水深单位为准。

deepContour number 30.0 可选

深水等深线。单位以 depthUnit 设置的水深单位为准。

safetyDepth number 30.0 可选

安全水深值。单位以 depthUnit 设置的水深单位为准。

displayOtherContourLabel boolean false 可选

是否显示其他等深线标注,即安全水深线标注以外的标注。

displayTwoShades boolean false 可选

是否以两色模式显示水深面。

depthUnit Unit Unit.METER 可选

显示水深单位。目前仅支持DECIMETER、METER、FOOT。

fontSize number 10.0 可选

图上文本显示字体的字号。

displayableFeature object 可选

当前地图下所有物标类型是否可显示的对应关系。

selectableFeature object 可选

当前地图下所有物标类型是否可选择的对应关系。

textClipRegionEnabled boolean false 可选

是否启用海图图层的文本显示裁剪区。

displayLowAccurateMarker boolean true 可选

是否显示低精度符号。

displayScaleFactor number 可选

比例尺缩放。

displayableAcronymClassify object 可选

物标分组是否可显示的对应关系。

safetyContour number 30.0 可选

安全等深线。单位以 depthUnit 设置的水深单位为准。

shallowContour number 2.0 可选

浅水等深线。单位以 depthUnit 设置的水深单位为准。

deepContour number 30.0 可选

深水等深线。单位以 depthUnit 设置的水深单位为准。

safetyDepth number 30.0 可选

安全水深值。单位以 depthUnit 设置的水深单位为准。

Version:
  • 12.1.0

Extends

Members

colourModeChartstring

颜色模式,可选值:DAY_BRIGHT(白昼),DUSK(晨昏),NIGHT(夜晚)。

Default Value:
ColourModeChart.DAY_BRIGHT

depthUnitstring

水深单位,参考Unit类。

Default Value:
Unit.METER

displayableAcronymClassifyobject

物标分组是否可显示的对应关系。

displayableFeatureobject

物标类型是否可显示的对应关系。

displayBorderboolean

是否显示边框。

displayCellNameboolean

是否显示图幅编号。

displayLowAccurateMarkerboolean

是否显示低精度编号。

Default Value:
true

displayMetaObjectboolean

是否显示元物标。

displayModeChartstring

海图显示模式,可选值:BASIC(基本显示模式),OTHER(其他显示模式),STANDARD(标准显示模式)。

Default Value:
DisplayModeChart.STANDARD

displayOtherContourLabelboolean

是否显示其他等深线标注,即安全水深线标注以外的标注。

displaySafetyContourLabelboolean

是否显示安全水深线标注。

Default Value:
true

displaySoundingboolean

是否显示水深点。

displayTextMessageboolean

是否在海图上显示文本信息。

displayTwoShadesboolean

是否以两色模式显示水深面。

displayTypeNamestring

海图显示类型名称,如"S52","IENC","INT"。

Default Value:
"S52"

fontNamestring

海图上显示文本的字体名称。

Default Value:
"Arial"

fontSizenumber

海图上显示文本的字体字号。

Default Value:
10.0

localizationDisplayTextboolean

是否对文本进行本地化显示。

minVisibleScaleEnabledboolean

物标最先可见比例尺是否有效。

Default Value:
true

selectableFeatureobject

物标类型是否可选择的对应关系。

simplifiedMarkerboolean

是否使用简单海图符号。

Default Value:
true

symbolizedAreaBoundaryboolean

是否使用符号化的区域边界。

textClipRegionEnabledboolean

是否启用海图图层的文本显示裁剪区。

Methods

destroy()

common/iServer/ChartSettingS57.js, line 229

释放资源,将引用资源的属性置空。