leaflet-styleeditor-minified
Version:
Edit the style of features drawn within Leaflet.
16 lines (15 loc) • 637 B
TypeScript
import { Marker } from '.';
import { IconOptions, Size, Color } from '../types';
/**
* Example class showing how to implement new MarkerClasses
* uses the glyphicons given by bootstrap
*/
export declare class GlyphiconMarker extends Marker {
constructor();
getMarkerHtml(size: Size, color: Color, icon: L.Icon): string;
createMarkerIcon(iconOptions: IconOptions): import("leaflet").DivIcon;
setStyle(currentElement: any, styleOption: any, value: any): void;
createSelectHTML(parentUiElement: any, iconOptions: any, icon: any): void;
_getMarkerUrlForStyle(iconOptions: any): string;
private getMarkerUrl;
}