3D Point Symbols
Jump to navigation
Jump to search
3D Point symbols can be attached to both tracks and draw object points in 3D. They can be rendered as simple billboard Icons, as 3D models, optionally with text labels or a combination of these.
These options are controlled through the Styling engine in a styling category called `3DModel`. The following is an example of such as style:
<stylecategory name="TrackSymbol">
<style>
<compositeitem name="3D">
<valueitem name="ClampToGround" value="true"/>
</compositeitem>
<compositeitem name="Icon">
<valueitem name="SymbolKeyField" value="symbol.2525code"/>
<valueitem name="Symbology" value="MilStd2525"/>
<valueitem name="ElevationOffset" value="50.0"/>
<valueitem name="Opacity" value="0.5"/>
</compositeitem>
<compositeitem name="3DModel">
<valueitem name="ModelId" value="huge_duck" />
<valueitem name="ModelScale" value="2.0" />
<compositeitem name="GroundLine">
<valueitem name="Color" value="255,255,255,255"/>
</compositeitem>
<compositeitem name="TextLabel">
<valueitem name="FontName" value="Arial Black"/>
<valueitem name="FontSize" value="18.0"/>
<valueitem name="Color" value="255,255,255,255"/>
<valueitem name="OutlineColor" value="0,0,0,255"/>
<valueitem name="OutlineThickness" value="2"/>
<valueitem name="Background" value="128,127,127,127"/>
<compositeitem name="LabelText1">
<valueitem name="Fields" value="name,ais.name"/>
</compositeitem>
</compositeitem>
</compositeitem>
....
</stylecategory>