UNPKG

@metadev/lux

Version:

Lux: Library with User Interface components for Angular.

40 lines (39 loc) 1.77 kB
import { AfterViewInit, EventEmitter, OnInit } from '@angular/core'; import { OpenLayerLoaderService } from '../geolocation/openlayer-loader.service'; import { GeoPoint } from './geopoint'; import * as i0 from "@angular/core"; export declare class MapComponent implements OnInit, AfterViewInit { static idCounter: number; private loaded$; private _map; mapId: any; _zoom: number; set zoom(zoom: number); get zoom(): number; _center: GeoPoint; set center(center: GeoPoint); get center(): GeoPoint; _readonly: boolean; set readonly(readonly: boolean); get readonly(): boolean; private _marker; private _markerInteraction; private _markerCoordinates; private set markerCoordinates(value); private get markerCoordinates(); set markerPoint(markerPoint: GeoPoint); get markerPoint(): GeoPoint; valueChange: EventEmitter<GeoPoint>; private _markerSource; private _markerStyle; constructor(olLoader: OpenLayerLoaderService); ngOnInit(): void; ngAfterViewInit(): void; private initMap; private addMarkerAtCoordinates; private removeMarker; private getMarkerCoordinates; onResize(): void; static ɵfac: i0.ɵɵFactoryDeclaration<MapComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<MapComponent, "lux-map", never, { "mapId": { "alias": "mapId"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "center": { "alias": "center"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "markerCoordinates": { "alias": "markerCoordinates"; "required": false; }; "markerPoint": { "alias": "markerPoint"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>; }