UNPKG

@maplibre/ngx-maplibre-gl

Version:
22 lines (21 loc) 1.09 kB
import { OnChanges, SimpleChanges } from '@angular/core'; import { type Unit } from 'maplibre-gl'; import * as i0 from "@angular/core"; /** * `mglScale` - a scale control directive * * @category Directives * * @see [Scale](https://maplibre.org/ngx-maplibre-gl/demo/ngx-scale-control) * @see [ScaleControl](https://maplibre.org/maplibre-gl-js/docs/API/classes/ScaleControl) */ export declare class ScaleControlDirective implements OnChanges { private readonly mapService; private readonly controlComponent; readonly maxWidth: import("@angular/core").InputSignal<number | undefined>; readonly unit: import("@angular/core").InputSignal<Unit | undefined>; constructor(); ngOnChanges(changes: SimpleChanges): void; static ɵfac: i0.ɵɵFactoryDeclaration<ScaleControlDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<ScaleControlDirective, "[mglScale]", never, { "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; "unit": { "alias": "unit"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>; }