mapa-gcba
Version:
Mapa Interactivo de la Ciudad de Buenos Aires
23 lines (22 loc) • 1 kB
TypeScript
import L from "leaflet";
import { IMapaInteractivoOptions, IMapOptions, ITypeOptions } from "../config/interfaces/option.interface";
declare class MapaInteractivo {
map: L.Map;
private config;
private loadingControl;
constructor(id: string, options?: IMapaInteractivoOptions);
getParamsOptions: () => IMapOptions | undefined;
setOptions: (options: IMapOptions) => void;
getReverseOptions: () => ITypeOptions | undefined;
setReverseOptions: (options: ITypeOptions) => void;
applyOptions: () => void;
copyCoordinates: (lat: number, lng: number, button: HTMLElement) => void;
_onClick: (event: L.LeafletMouseEvent) => void;
_onContextMenu: (event: L.LeafletMouseEvent) => void;
_onDblClick: (event: L.LeafletMouseEvent) => void;
setMarkerView: (lat: number, lng: number, popupContent?: string) => void;
reverseGeocoding: (e: L.LeafletMouseEvent) => Promise<void>;
private setLanguage;
private cleanMap;
}
export default MapaInteractivo;