Render Multi Point As Mil Std Symbol
fun RenderMultiPointAsMilStdSymbol(id: String, name: String, description: String, symbolCode: String, controlPoints: String, altitudeMode: String, scale: double, bbox: String, modifiers: JsMap, attributes: JsMap): MilStdSymbol
Renders all MilStd 2525 multi-point symbols, creating MilStdSymbol that contains the information needed to draw the symbol on the map. DOES NOT support RADARC, CAKE, TRACK etc... ArrayListindex.getPolylines() and ShapeInfo = milStdSymbol.getModifierShapesindex.
Return
MilStdSymbol
Parameters
id
A unique identifier used to identify the symbol by Google map.
The id will be the folder name that contains the graphic.Content copied to clipboard
name
a string used to display to the user as the name of the
graphic being created.Content copied to clipboard
description
a brief description about the graphic being made and what it
represents.Content copied to clipboard
symbol Code
A 20-30 digit symbolID corresponding to one of the graphics
in the MIL-STD-2525DContent copied to clipboard
control Points
The vertices of the graphics that make up the graphic. Passed
in the format of a string, using decimal degrees separating
lat and lon by a comma, separating coordinates by a space. The
following format shall be used "x1,y1[,z1] [xn,yn[,zn]]..."Content copied to clipboard
altitude Mode
Indicates whether the symbol should interpret altitudes as
above sea level or above ground level. Options are
"clampToGround", "relativeToGround" (from surface of earth),
"absolute" (sea level), "relativeToSeaFloor" (from the bottom
of major bodies of water).Content copied to clipboard
scale
A number corresponding to how many meters one meter of our map
represents. A value "50000" would mean 1:50K which means for
every meter of our map it represents 50000 meters of real
world distance.Content copied to clipboard
bbox
The viewable area of the map. Passed in the format of a string
"lowerLeftX,lowerLeftY,upperRightX,upperRightY." Not required
but can speed up rendering in some cases. example:
"-50.4,23.6,-42.2,24.2"Content copied to clipboard
modifiers
Used like:
modifiers.set(Modifiers.T_UNIQUE_DESIGNATION_1, "T");
Or
modifiers.set(Modifiers.AM_DISTANCE, "1000,2000,3000");Content copied to clipboard
attributes
Used like: attributes.set(MilStdAttributes.LineWidth, "3"); Or attributes.set(MilStdAttributes.LineColor, "#00FF00");