leaflet-styleeditor-minified
Version:
Edit the style of features drawn within Leaflet.
36 lines (35 loc) • 1.21 kB
TypeScript
/// <reference types="leaflet-editable/node_modules/@types/leaflet" />
import { StyleForm } from './StyleForm';
import { Util } from './Util';
import { StyleEditorOptions } from './options';
import { LeafletEvent } from 'leaflet';
export declare class StyleEditorImpl extends L.Class {
private currentElement;
options: StyleEditorOptions;
util: Util;
map: L.Map;
editorUI: HTMLElement;
interiorEditorUI: HTMLElement;
tooltipUI: HTMLElement;
styleForm: StyleForm;
constructor(map: L.Map, options: StyleEditorOptions);
createUi(): void;
addEventListeners(map: L.Map): void;
onEvent(event: L.LeafletEvent): void;
onNext(event: Event): void;
removeIndicators(): void;
addClickEvents(): void;
addClickEvent(layer: L.Layer): void;
removeClickEvents(): void;
removeClickEvent(layer: L.Layer): void;
private layerIsIgnored;
hideEditor(): void;
showEditor(event?: LeafletEvent): void;
showTooltip(): void;
hideTooltip(): void;
fireEvent(eventName: String, layer?: L.Layer): void;
enable(): void;
disable(): void;
getCurrentLayers(): L.StyleableLayer[];
getCurrentMarker(): import("leaflet").StyleableLayer[];
}