Parameters
- heightInfo:
| {
groundLevelOrMinHeight: number;
heightReference: NONE;
layout: GeometryLayout;
perPositionHeight: boolean;
} & ExtrusionHeightInfo
| {
heightReference: CLAMP_TO_GROUND;
layout: GeometryLayout;
}
| {
clampOrigin?: [number, number];
groundLevel?: number;
heightAboveGround?: number;
heightReference: RELATIVE_TO_GROUND;
layout: GeometryLayout;
perPositionHeight: boolean;
} & ExtrusionHeightInfo
| {
heightReference: CLAMP_TO_TERRAIN;
layout: GeometryLayout;
}
| {
clampOrigin?: [number, number];
groundLevel?: number;
heightAboveGround?: number;
heightReference: RELATIVE_TO_TERRAIN;
layout: GeometryLayout;
perPositionHeight: boolean;
} & ExtrusionHeightInfo
| {
heightReference: CLAMP_TO_3D_TILE;
layout: GeometryLayout;
}
| {
clampOrigin?: [number, number];
groundLevel?: number;
heightAboveGround?: number;
heightReference: RELATIVE_TO_3D_TILE;
layout: GeometryLayout;
perPositionHeight: boolean;
} & ExtrusionHeightInfo
Returns ((coord: Coordinate) => Cartesian3)
a callback function accepting a mercator coordinate. it will return a Cartesian3 with its Z value adjusted according to the height info
- (coord): Cartesian3
Returns Cartesian3