@expofp/floorplan
Version:
Interactive floor plan library for expos and events
14 lines • 445 B
TypeScript
interface AnchorPoint {
x: number;
y: number;
lat: number;
lng: number;
}
/**
* Bearing (degrees, 0..360) that renders a floor plan upright on the map: the
* rotation from the p0->p2 anchor diagonal in plan coordinates to its direction
* in Web Mercator. Returns NaN for non-finite anchors.
*/
export declare function planBearing(p0: AnchorPoint, p2: AnchorPoint): number;
export {};
//# sourceMappingURL=planBearing.d.ts.map