leaflet-styleeditor-minified
Version:
Edit the style of features drawn within Leaflet.
23 lines (22 loc) • 798 B
TypeScript
import { Marker, MarkerOptions } from '.';
import { StyleEditorImpl } from '../StyleEditorImpl';
/**
* The "old" marker style used by L.StyleEditor
* used the mapbox API v3
*/
export declare class DefaultMarker extends Marker {
constructor(styleEdtior: StyleEditorImpl);
createMarkerIcon(iconOptions: MarkerOptions): import("leaflet").Icon<{
iconUrl: string;
iconSize: any;
iconColor: any;
icon: import("leaflet").Icon<import("leaflet").IconOptions> | import("leaflet").DivIcon;
className: string;
iconAnchor: [number, number];
popupAnchor: [number, number];
}>;
createSelectHTML(parentUiElement: any, iconOptions: any, icon: any): void;
private getMarkerUrlForStyle;
private getMarkerUrl;
markers: string[];
}