FillExtrusionOffsetChangedEventArgs¶
Namespace: ThinkGeo.Core.Styling
The extrusion layer a style change moved vertically, and how far.
public class FillExtrusionOffsetChangedEventArgs : System.EventArgs
Inheritance object → EventArgs → FillExtrusionOffsetChangedEventArgs
Properties¶
LayerId¶
The fill-extrusion layer's id in the style.
public string LayerId { get; }
Property Value¶
BaseMetersAboveGround¶
How far the layer's base is lifted, in metres. Negative lowers it; 0 restores it.
public double BaseMetersAboveGround { get; }
Property Value¶
TopMetersAboveGround¶
How far the layer's top is lifted, in metres. The same as FillExtrusionOffsetChangedEventArgs.BaseMetersAboveGround for a rigid move; a different value stretches the extrusion between the two.
public double TopMetersAboveGround { get; }
Property Value¶
Constructors¶
FillExtrusionOffsetChangedEventArgs(string, double)¶
Creates the arguments.
public FillExtrusionOffsetChangedEventArgs(string layerId, double metersAboveGround)
Parameters¶
layerId string
The fill-extrusion layer's id in the style.
metersAboveGround double
How far it is lifted, base and top alike; negative lowers it, 0 restores it.
FillExtrusionOffsetChangedEventArgs(string, double, double)¶
Creates the arguments for a lift that moves the top a different distance from the base.
public FillExtrusionOffsetChangedEventArgs(string layerId, double baseMetersAboveGround, double topMetersAboveGround)
Parameters¶
layerId string
The fill-extrusion layer's id in the style.
baseMetersAboveGround double
How far the base is lifted; negative lowers it, 0 restores it.
topMetersAboveGround double
How far the top is lifted; equal to the base lift for a rigid move.