import { EventEmitter, OnDestroy } from "@angular/core"; import { Control, ControlPosition, LeafletEvent, LeafletMouseEvent, Map } from "leaflet"; import { MapProvider } from "./map.provider"; import * as i0 from "@angular/core"; /** * Angular2 directive for the attribution-control of Leaflet. * * *You can use this directive in an Angular2 template after importing `YagaModule`.* * * How to use in a template: * ```html * * * * * ``` * * @link http://leafletjs.com/reference-1.2.0.html#control-attribution Original Leaflet documentation * @link https://leaflet-ng2.yagajs.org/latest/browser-test?grep=Attribution-Control%20Directive Unit-Test * @link https://leaflet-ng2.yagajs.org/latest/coverage/lcov-report/lib/attribution-control.directive.js.html * Test coverage * @link https://leaflet-ng2.yagajs.org/latest/typedoc/classes/attributioncontroldirective.html API documentation * @example https://leaflet-ng2.yagajs.org/latest/examples/attribution-control-directive/ */ export declare class AttributionControlDirective extends Control.Attribution implements OnDestroy { protected mapProvider: MapProvider; /** * Two-Way bound property for the display status of the control. * Use it with `` * or `` */ displayChange: EventEmitter; /** * Two-Way bound property for the position of the control. * Use it with `` * or `` */ positionChange: EventEmitter; /** * Two-Way bound property for the prefix of the control. * Use it with `` * or `` */ prefixChange: EventEmitter; /** * Two-Way bound property for the list of attributions of the control. * Use it with `` * or `` */ attributionsChange: EventEmitter; /** * From leaflet fired add event. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#control-attribution-add Original Leaflet documentation */ addEvent: EventEmitter; /** * From leaflet fired remove event. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#control-attribution-remove Original Leaflet documentation */ removeEvent: EventEmitter; /** * From leaflet fired click event. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#control-attribution-click Original Leaflet documentation */ clickEvent: EventEmitter; /** * From leaflet fired dblclick event. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#control-attribution-dblclick Original Leaflet documentation */ dblclickEvent: EventEmitter; /** * From leaflet fired mousedown event. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#control-attribution-mousedown Original Leaflet documentation */ mousedownEvent: EventEmitter; /** * From leaflet fired mouseover event. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#control-attribution-mouseover Original Leaflet documentation */ mouseoverEvent: EventEmitter; /** * From leaflet fired mouseout event. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#control-attribution-mouseout Original Leaflet documentation */ mouseoutEvent: EventEmitter; constructor(mapProvider: MapProvider); /** * Internal method to provide the removal of the control in Leaflet, when removing it from the Angular template */ ngOnDestroy(): void; /** * Derived remove function */ remove(): this; /** * Derived addTo function */ addTo(map: Map): this; /** * Derived method of the original setPosition. * @link http://leafletjs.com/reference-1.2.0.html#control-attribution-setposition Original Leaflet documentation */ setPosition(val: ControlPosition): this; /** * Two-Way bound property for the opacity. * Use it with `` * or `` * @link http://leafletjs.com/reference-1.2.0.html#control-attribution-opacity Original Leaflet documentation */ set opacity(val: number | undefined); get opacity(): number | undefined; /** * Two-Way bound property for the display state. * Use it with `` * or `` */ set display(val: boolean); get display(): boolean; /** * Two-Way bound property for the position. * Use it with `` * or `` * @link http://leafletjs.com/reference-1.2.0.html#control-attribution-position Original Leaflet documentation */ set position(val: ControlPosition); get position(): ControlPosition; /** * Input for the zIndex of the control. * Use it with `` */ set zIndex(zIndex: number | undefined); get zIndex(): number | undefined; /** * Derived method of the original setPrefix. * @link http://leafletjs.com/reference-1.2.0.html#control-attribution-setprefix Original Leaflet documentation */ setPrefix(prefix: string): this; /** * Two-Way bound property for the prefix. * Use it with `` * or `` * @link http://leafletjs.com/reference-1.2.0.html#control-attribution-prefix Original Leaflet documentation */ set prefix(val: string); get prefix(): string; /** * Derived method of the original addAttribution. * @link http://leafletjs.com/reference-1.2.0.html#control-attribution-addattribution Original Leaflet documentation */ addAttribution(val: string): this; /** * Derived method of the original removeAttribution. * @link http://leafletjs.com/reference-1.2.0.html#control-attribution-removeattribution * Original Leaflet documentation */ removeAttribution(val: string): this; /** * Two-Way bound property for the attributions. * Use it with `` * or `` * @link http://leafletjs.com/reference-1.2.0.html#control-attribution-attributions Original Leaflet documentation */ set attributions(val: string[]); get attributions(): string[]; /** * Self written method to provide the removal of all attributions in a single step */ removeAllAttributions(silent?: boolean): this; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }