PlotRadarBase

Radar base class, does not require instantiation. Inherits from PlotGeoEffectBase.

new SuperMap3D.PlotRadarBase()

Members

fillColor : Color

Fill Envelope Color
Default Value: new MGIS_SuperMap3D.Color(1, 0, 0, 0.5)

hideFillDis : Number

The minimum distance to hide the envelope

hideLinesDis : Number

Minimum distance to hide grid lines

hideScanDis : Number

Minimum distance to hide the scanning lobe

id : String

Radar ID
Default Value: uuid

isFill : Boolean

Whether to show the fill envelope
Default Value: true

isOutline : Boolean

Whether to display gridlines
Default Value: true

isShowScan : Boolean

Whether to display the scan lobe
Default Value: true

material : Color

Set the envelope and grid line colors uniformly, with the edge line transparency set to twice the value passed in, with a maximum of 1,
Default Value: new MGIS_SuperMap3D.Color(1, 0, 0, 0.5)

offset : MPoint3D

Radar position offset
Default Value: MPoint3D(0,0,0)

outlineColor : Color

Grid line color
Default Value: new MGIS_SuperMap3D.Color(1, 0, 0, 1)

outlineMaterial : Material

Grid line material, mutual exclusion with grid line color, only one can take effect
Default Value: undefined

outlineWidth : Number

Grid line width
Default Value: 0.5

point : MPoint3D

Radar position point
Default Value: MPoint3D(0,0,0)

radii : MPoint3D

Radar radius
Default Value: MPoint3D(0,0,0)

rotate : MPoint3D

Radar rotation angle
Default Value: MPoint3D(0,0,0)

rotateAngle : Number

Radar rotation angle
Default Value: 360

scale : Number

Radar scaling
Default Value: 1

show : Boolean

Whether to show
Default Value: true

slicePartitions : Number

Number of horizontal slices
Default Value: 67

stackPartitions : Number

Number of vertical slices
Default Value: 67

Methods

destroy()

Release resources

getEffectParameter()Object

Get effect properties
Returns:
Effect properties

toGeoJson_Super()Object

Effect object to JSON object
Returns:
Json object

updateEffect(options)

Set effect properties (subclasses need to be overridden)
Name Type Description
options Object Objects have the following properties:
Name Type Description
point MPoint3D optional Location point
rotate MPoint3D optional Rotation
scale Number optional Scaling
visible Boolean optional Show/Hide