leaflet-styleeditor-minified
Version:
Edit the style of features drawn within Leaflet.
18 lines (17 loc) • 709 B
TypeScript
import { Form } from '.';
import { ColorElement, OpacityElement, WeightElement, DashElement, PopupContentElement } from '../formElements';
/** Form used to enable modification of a Geometry */
export declare class GeometryForm extends Form {
formOptionKey: string;
formElements: {
color: typeof ColorElement;
opacity: typeof OpacityElement;
weight: typeof WeightElement;
dashArray: typeof DashElement;
fillColor: typeof ColorElement;
fillOpacity: typeof OpacityElement;
popupContent: typeof PopupContentElement;
};
/** show the fillOptions (fillColor and fillOpacity) only if the Element can be filled */
showFormElements(): void;
}