import * as L from 'leaflet'; import { AWCLeafletElement } from '../../internal/awc-leaflet.js'; declare const AWCMapImageOverlay_base: typeof AWCLeafletElement & (new (...args: any[]) => import("../../internal/leaflet/ilayer.js").LeafletILayerMixinElement); /** * @summary Element which defines a image overlay. * @documentation https://webcomponents.adeliom.io/?path=/docs/components-map-raster-layers-image-overlay--documentation * @status experimental * @since 1.0 * * @event awc-map - type : load - Emitted when the ImageOverlay layer has loaded its image. * @event awc-map - type : error - Emitted when the ImageOverlay layer fails to load its image. * @event awc-map - type : click - If interactive, emitted when the user clicks (or taps) the layer. * @event awc-map - type : dblclick - If interactive, emitted when the user double-clicks (or double-taps) the layer. * @event awc-map - type : mousedown - If interactive, emitted when the user pushes the mouse button on the layer. * @event awc-map - type : mouseup - If interactive, emitted when the user releases the mouse button pushed on the layer. * @event awc-map - type : mouseover - If interactive, emitted when the mouse enters the layer. * @event awc-map - type : mouseout - If interactive, emitted when the mouse leaves the layer. * @event awc-map - type : contextmenu - If interactive, emitted when the user right-clicks on the layer, prevents default browser context menu from showing if there are listeners on this event. Also fired on mobile when the user holds a single touch for a second (also called long press). */ export default class AWCMapImageOverlay extends AWCMapImageOverlay_base { static readonly events = "load error click dblclick mousedown mouseup mouseover mouseout contextmenu"; layer: L.ImageOverlay; /** * The attribute `latLngBounds` represents a rectangular geographical area on a map.. */ latLngBounds?: L.LatLngBoundsExpression; /** * Instantiates an image overlay object given the URL of the image and the geographical bounds it is tied to. */ url?: string; /** * Text for the alt attribute of the image (useful for accessibility). * */ alt: string; /** * URL to the overlay image to show in place of the overlay that failed to load. * */ errorOverlayUrl: string; /** * The `attribution` attribute sets the attribute. As html code needs to be escaped here, it is preferable to define it as child element. */ attribution: string; /** * The `opacity` attribute sets the opacity of the tile layer. */ opacity: number; /** * The `z-index` attribute sets the explicit zIndex of the tile layer. Not set by default. * */ zIndex: number; /** * If `true`, the image overlay will emit mouse events when clicked or hovered. * */ interactive: boolean; /** * If `true`, the image overlay will emit mouse events when clicked or hovered. * */ crossOrigin: boolean | 'anonymous' | 'use-credentials' | ''; containerChanged(): void; urlChanged(): void; latLngBoundsChanged(): void; opacityChanged(): void; zIndexChanged(): void; disconnectedCallback(): void; } export {};