import { EventEmitter } from "@angular/core"; import { Icon, LeafletEvent, Point } from "leaflet"; import { MarkerProvider } from "./marker.provider"; import * as i0 from "@angular/core"; /** * Angular2 directive for Leaflet icons. * * *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#icon Original Leaflet documentation * @link https://leaflet-ng2.yagajs.org/latest/browser-test?grep=Icon%20Directive Unit-Test * @link https://leaflet-ng2.yagajs.org/latest/coverage/lcov-report/lib/icon.directive.js.html Test coverage * @link https://leaflet-ng2.yagajs.org/latest/typedoc/classes/icondirective.html API documentation * @example https://leaflet-ng2.yagajs.org/latest/examples/icon-directive/ */ export declare class IconDirective extends Icon { markerProvider: MarkerProvider; /** * This is an EventEmitter used to notify on any change in this object. It is mainly created to provide reactions * of the marker directive on changes. */ updateEvent: EventEmitter; constructor(markerProvider: MarkerProvider); /** * Input for the DOM class name. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#icon-classname Original Leaflet documentation */ set className(val: string | undefined); get className(): string | undefined; /** * Input for the icon-url. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#icon-iconurl Original Leaflet documentation */ set iconUrl(val: string); get iconUrl(): string; /** * Input for the icon-retina-url. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#icon-iconretinaurl Original Leaflet documentation */ set iconRetinaUrl(val: string | undefined); get iconRetinaUrl(): string | undefined; /** * Input for the icon-size. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#icon-iconsize Original Leaflet documentation */ set iconSize(val: Point); get iconSize(): Point; /** * Input for the icon-anchor. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#icon-iconanchor Original Leaflet documentation */ set iconAnchor(val: Point); get iconAnchor(): Point; /** * Input for the popup-anchor. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#icon-popupanchor Original Leaflet documentation */ set popupAnchor(val: Point); get popupAnchor(): Point; /** * Input for the tooltip-anchor. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#icon-tooltipanchor Original Leaflet documentation */ set tooltipAnchor(val: Point); get tooltipAnchor(): Point; /** * Input for the shadow-url. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#icon-shadowurl Original Leaflet documentation */ set shadowUrl(val: string | undefined); get shadowUrl(): string | undefined; /** * Input for the shadow-url for retina displays. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#icon-shadowretinaurl Original Leaflet documentation */ set shadowRetinaUrl(val: string | undefined); get shadowRetinaUrl(): string | undefined; /** * Input for the shadow-size. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#icon-shadowsize Original Leaflet documentation */ set shadowSize(val: Point); get shadowSize(): Point; /** * Input for the shadow-anchor. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#icon-shadowanchor Original Leaflet documentation */ set shadowAnchor(val: Point); get shadowAnchor(): Point; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }