19 lines
748 B
TypeScript
19 lines
748 B
TypeScript
import {IMapAdapter, MapOptions, LatLng, Zone, Address} from './map-adapter.interface';
|
|
export declare class MapFacade implements IMapAdapter {
|
|
private readonly adapter;
|
|
private readonly leafletZoomOffset;
|
|
constructor(forceRaster: boolean, webglAvailable: boolean);
|
|
init(container: HTMLElement, options: MapOptions): void;
|
|
setCenter(latLng: LatLng): void;
|
|
setZoom(zoom: number): void;
|
|
addMarker(latLng: LatLng, options?: { id?: string; color?: string }): void;
|
|
removeMarker(id?: string): void;
|
|
destroy(): void;
|
|
addZone(zone: Zone[]): void;
|
|
updateZone(zone: Zone[]): void;
|
|
openZonePopup(zone: Zone) : void
|
|
openAddressPopup(address: Address): void;
|
|
closePopup(): void;
|
|
on(type: string, event: (e: any) => void): void;
|
|
}
|