ui/map/shapes/shapeCommand¶
Interfaces¶
ShapePoint¶
Defined in: ui/map/shapes/shapeCommand.ts:9
A drawn point in {lat, lng} form (BaseDrawingManager's DrawingPoint).
Properties¶
lat¶
Defined in: ui/map/shapes/shapeCommand.ts:10
lng¶
Defined in: ui/map/shapes/shapeCommand.ts:11
ShapeCommandSpec¶
Defined in: ui/map/shapes/shapeCommand.ts:17
Properties¶
name¶
Defined in: ui/map/shapes/shapeCommand.ts:18
type¶
Defined in: ui/map/shapes/shapeCommand.ts:19
points¶
Defined in: ui/map/shapes/shapeCommand.ts:24
The placed points. Areas/lines use all of them; a box is its two opposite corners; a circle is [centre, point-on-rim].
topAltitude¶
Defined in: ui/map/shapes/shapeCommand.ts:26
Top/bottom altitude in feet; both null = no vertical extent.
bottomAltitude¶
Defined in: ui/map/shapes/shapeCommand.ts:27
Type Aliases¶
ShapeType¶
Defined in: ui/map/shapes/shapeCommand.ts:15
The shape kinds offered by the draw modal.
Functions¶
buildShapeCommand()¶
Defined in: ui/map/shapes/shapeCommand.ts:38
Build the BlueSky command for a drawn shape: - line -> POLYLINE name,lat,lon,... - area with alts -> POLYALT name,top,bottom,lat,lon,... - area without alts -> POLY name,lat,lon,... - box -> BOX name,lat0,lon0,lat1,lon1[,top,bottom] - circle -> CIRCLE name,clat,clon,radius_nm[,top,bottom]
Parameters¶
spec¶
Returns¶
string