@expofp/floorplan
Version:
Interactive floor plan library for expos and events
20 lines • 828 B
TypeScript
import './ExpofpLogoControl.scss';
import { type ControlPosition, type IControl } from 'maplibre-gl';
/**
* The "Made with ExpoFP" logo as a MapLibre control, so it shares the
* bottom-right corner with the attribution instead of being an overlay drawn
* on top of it.
*
* Add it before the attribution control: MapLibre puts each new bottom control
* in front of the earlier ones, which leaves the logo after the attribution in
* the DOM. The stylesheet lays the corner out as one row in DOM order, so the
* logo stays in the corner while the attribution expands and collapses beside
* it.
*/
export declare class ExpofpLogoControl implements IControl {
private container;
onAdd(): HTMLElement;
onRemove(): void;
getDefaultPosition(): ControlPosition;
}
//# sourceMappingURL=ExpofpLogoControl.d.ts.map