UNPKG

@maplibre/ngx-maplibre-gl

Version:
24 lines (23 loc) 1.6 kB
import { type FitBoundsOptions } from 'maplibre-gl'; import type { Position } from '../map/map.types'; import * as i0 from "@angular/core"; /** * `mglGeolocate` - a geolocate control directive * * @category Directives * * @see [Locate user](https://maplibre.org/ngx-maplibre-gl/demo/locate-user) * @see [GeolocateControl](https://maplibre.org/maplibre-gl-js/docs/API/classes/GeolocateControl) */ export declare class GeolocateControlDirective { private readonly mapService; private readonly controlComponent; readonly positionOptions: import("@angular/core").InputSignal<PositionOptions | undefined>; readonly fitBoundsOptions: import("@angular/core").InputSignal<FitBoundsOptions | undefined>; readonly trackUserLocation: import("@angular/core").InputSignal<boolean | undefined>; readonly showUserLocation: import("@angular/core").InputSignal<boolean | undefined>; readonly geolocate: import("@angular/core").OutputEmitterRef<Position>; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration<GeolocateControlDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<GeolocateControlDirective, "[mglGeolocate]", never, { "positionOptions": { "alias": "positionOptions"; "required": false; "isSignal": true; }; "fitBoundsOptions": { "alias": "fitBoundsOptions"; "required": false; "isSignal": true; }; "trackUserLocation": { "alias": "trackUserLocation"; "required": false; "isSignal": true; }; "showUserLocation": { "alias": "showUserLocation"; "required": false; "isSignal": true; }; }, { "geolocate": "geolocate"; }, never, never, true, never>; }