import { EventEmitter, OnDestroy } from "@angular/core"; import { ImageOverlay, LatLngBounds, LatLngBoundsExpression, LeafletEvent, LeafletMouseEvent, PopupEvent, TooltipEvent } from "leaflet"; import { LayerGroupProvider } from "./layer-group.provider"; import { LayerProvider } from "./layer.provider"; import * as i0 from "@angular/core"; /** * Angular2 directive for Leaflet image overlays. * * *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#imageoverlay Original Leaflet documentation * @link https://leaflet-ng2.yagajs.org/latest/browser-test?grep=Image-Overlay%20Directive Unit-Test * @link https://leaflet-ng2.yagajs.org/latest/coverage/lcov-report/lib/image-overlay.directive.js.html Test coverage * @link https://leaflet-ng2.yagajs.org/latest/typedoc/classes/imageoverlaydirective.html API documentation * @example https://leaflet-ng2.yagajs.org/latest/examples/image-overlay-directive */ export declare class ImageOverlayDirective extends ImageOverlay implements OnDestroy { protected layerGroupProvider: LayerGroupProvider; /** * Two-Way bound property for the URL. * Use it with `` or * `` * @link http://leafletjs.com/reference-1.2.0.html#imageoverlay-seturl Original Leaflet documentation */ urlChange: EventEmitter; /** * Two-Way bound property for the display status of the layer. * Use it with `` * or `` */ displayChange: EventEmitter; /** * Two-Way bound property for the opacity of the layer. * Use it with `` * or `` * @link http://leafletjs.com/reference-1.2.0.html#imageoverlay-opacity Original Leaflet documentation */ opacityChange: EventEmitter; /** * Two-Way bound property for the bounds of the image. * Use it with `` * or `` * @link http://leafletjs.com/reference-1.2.0.html#imageoverlay-setbounds Original Leaflet documentation */ boundsChange: EventEmitter; /** * Two-Way bound property for the north bounds of the image. * Use it with `` * or `` * @link http://leafletjs.com/reference-1.2.0.html#imageoverlay-setbounds Original Leaflet documentation */ northChange: EventEmitter; /** * Two-Way bound property for the east bounds of the image. * Use it with `` * or `` * @link http://leafletjs.com/reference-1.2.0.html#imageoverlay-setbounds Original Leaflet documentation */ eastChange: EventEmitter; /** * Two-Way bound property for the south bounds of the image. * Use it with `` * or `` * @link http://leafletjs.com/reference-1.2.0.html#imageoverlay-setbounds Original Leaflet documentation */ southChange: EventEmitter; /** * Two-Way bound property for the west bounds of the image. * Use it with `` * or `` * @link http://leafletjs.com/reference-1.2.0.html#imageoverlay-setbounds Original Leaflet documentation */ westChange: EventEmitter; /** * From leaflet fired add event. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#imageoverlay-add Original Leaflet documentation */ addEvent: EventEmitter; /** * From leaflet fired remove event. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#imageoverlay-remove Original Leaflet documentation */ removeEvent: EventEmitter; /** * From leaflet fired popupopen event. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#imageoverlay-popupopen Original Leaflet documentation */ popupopenEvent: EventEmitter; /** * From leaflet fired popupclose event. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#imageoverlay-popupclose Original Leaflet documentation */ popupcloseEvent: EventEmitter; /** * From leaflet fired tooltipopen event. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#imageoverlay-tooltipopen Original Leaflet documentation */ tooltipopenEvent: EventEmitter; /** * From leaflet fired tooltipclose event. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#imageoverlay-tooltipclose Original Leaflet documentation */ tooltipcloseEvent: EventEmitter; /** * From leaflet fired click event. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#imageoverlay-click Original Leaflet documentation */ clickEvent: EventEmitter; /** * From leaflet fired dblclick event. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#imageoverlay-dblclick Original Leaflet documentation */ dblclickEvent: EventEmitter; /** * From leaflet fired mousedown event. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#imageoverlay-mousedown Original Leaflet documentation */ mousedownEvent: EventEmitter; /** * From leaflet fired mouseover event. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#imageoverlay-mouseover Original Leaflet documentation */ mouseoverEvent: EventEmitter; /** * From leaflet fired mouseout event. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#imageoverlay-mouseout Original Leaflet documentation */ mouseoutEvent: EventEmitter; /** * From leaflet fired contextmenu event. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#imageoverlay-contextmenu Original Leaflet documentation */ contextmenuEvent: EventEmitter; /** * From leaflet fired load event. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#imageoverlay-load Original Leaflet documentation */ loadEvent: EventEmitter; /** * From leaflet fired error event. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#imageoverlay-error Original Leaflet documentation */ errorEvent: EventEmitter; constructor(layerGroupProvider: LayerGroupProvider, layerProvider: LayerProvider); /** * This function gets called from Angular on destroy of the html-component. * @link https://angular.io/docs/ts/latest/api/core/index/OnDestroy-class.html */ ngOnDestroy(): void; /** * Derived method of the original setUrl method. * @link http://leafletjs.com/reference-1.2.0.html#imageoverlay-seturl Original Leaflet documentation */ setUrl(url: string): this; /** * Two-Way bound property for the URL. * Use it with `` or `` * @link http://leafletjs.com/reference-1.2.0.html#imageoverlay-seturl Original Leaflet documentation */ set url(val: string); get url(): string; /** * Derived method of the original setOpacity method. * @link http://leafletjs.com/reference-1.2.0.html#imageoverlay-setopacity Original Leaflet documentation */ setOpacity(val: number): this; /** * Two-Way bound property for the opacity. * Use it with `` or `` * @link http://leafletjs.com/reference-1.2.0.html#imageoverlay-setopacity Original Leaflet documentation */ set opacity(val: number); get opacity(): number; /** * Two-Way bound property for the display status of the layer. * Use it with `` or `` */ set display(val: boolean); /** * Two-Way bound property for the display status of the layer. * Use it with `` or `` */ get display(): boolean; /** * Derived method of the original setBounds method. * @link http://leafletjs.com/reference-1.2.0.html#imageoverlay-setbounds Original Leaflet documentation */ setBounds(val: LatLngBoundsExpression): this; /** * Two-Way bound property for the bounds of the image. * Use it with `` or `` */ set bounds(val: LatLngBounds); get bounds(): LatLngBounds; /** * Two-Way bound property for the north bounds of the image. * Use it with `` or `` */ set north(val: number); get north(): number; /** * Two-Way bound property for the east bounds of the image. * Use it with `` or `` */ set east(val: number); get east(): number; /** * Two-Way bound property for the south bounds of the image. * Use it with `` or `` */ set south(val: number); get south(): number; /** * Two-Way bound property for the west bounds of the image. * Use it with `` or `` */ set west(val: number); get west(): number; /** * Input for the crossOrigin. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#imageoverlay-crossorigin Original Leaflet documentation */ set crossOrigin(val: boolean); get crossOrigin(): boolean; /** * Input for the alternative text. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#imageoverlay-alt Original Leaflet documentation */ set alt(val: string); get alt(): string; /** * Input for the state of interaction. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#imageoverlay-interactive Original Leaflet documentation */ set interactive(val: boolean); get interactive(): boolean; /** * Input for the attribution. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#imageoverlay-attribution Original Leaflet documentation */ set attribution(val: string); get attribution(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }