import * as L from 'leaflet'; import { AWCLeafletElement } from '../../internal/awc-leaflet.js'; declare const AWCMapMarker_base: typeof AWCLeafletElement & (new (...args: any[]) => import("../../internal/leaflet/popup-content.js").LeafletPopupContentMixinElement); /** * @summary Element which defines a [marker](http://leafletjs.com/reference.html#marker). The content is used as popup window, unless it is empty. * @documentation https://webcomponents.adeliom.io/?path=/docs/components-map-ui-layers-marker--documentation * @status experimental * @since 1.0 * * @slot - The default slot for popup content. * * @event awc-map - type : move - Fired when the marker is moved via setLatLng or by dragging. Old and new coordinates are included in event arguments as oldLatLng, latlng. * @event awc-map - type : dragstart - Fired when the user starts dragging the marker. * @event awc-map - type : movestart - Fired when the marker starts moving (because of dragging). * @event awc-map - type : drag - Fired repeatedly while the user drags the marker. * @event awc-map - type : dragend - Fired when the user stops dragging the marker. * @event awc-map - type : moveend - Fired when the marker stops moving (because of dragging). * @event awc-map - type : click - Fired when the user clicks (or taps) the layer. * @event awc-map - type : dblclick - Fired when the user double-clicks (or double-taps) the layer. * @event awc-map - type : mousedown - Fired when the user pushes the mouse button on the layer. * @event awc-map - type : mouseup - Fired when the user releases the mouse button pushed on the layer. * @event awc-map - type : mouseover - Fired when the mouse enters the layer. * @event awc-map - type : mouseout - Fired when the mouse leaves the layer. * @event awc-map - type : contextmenu - Fired 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). * @event awc-map - type : popupopen - Fired when a popup bound to this layer is opened * @event awc-map - type : popupclose - Fired when a popup bound to this layer is closed * @event awc-map - type : add - Fired after the layer is added to a map * @event awc-map - type : remove - Fired after the layer is removed from a map */ export default class AWCMapMarker extends AWCMapMarker_base { static readonly events: string; static isLeafletMarker(node: Node): node is AWCMapMarker; feature: L.Marker; /** * The `latitude` attribute sets the positions of the marker. */ latitude: number; /** * The `longitude` attribute sets the positions of the marker. */ longitude: number; /** * The `icon` attribute sets the Icon class to use for rendering the marker. * This attribute may be refer to an id-attribute of an leaflet-icon-element, * contain json syntax or it be assigned an instance of L.icon. * See Icon documentation for details on how to customize the marker icon. Set to new L.Icon.Default() by default. */ icon: string | L.Icon; /** * The `draggable` attribute sets the whether the marker is draggable with mouse/touch or not. */ draggable: boolean; /** * The `no-keyboard` attribute disables whether the marker can be tabbed to with a keyboard and clicked by pressing enter. */ keyboard: boolean; /** * The `title` attribute sets the text for the browser tooltip that appear on marker hover (no tooltip by default). */ title: string; /** * The `alt` attribute sets the text for the alt attribute of the icon image (useful for accessibility). */ alt: string; /** * The `z-index-offset` attribute sets the zIndexOffset. By default, marker images zIndex is set automatically based on its latitude */ zIndexOffset: number; /** * The `opacity` attribute sets the opacity of the marker. */ opacity: number; /** * The `rise-on-hover` attribute sets the whether the marker will get on top of others when you hover the mouse over it. */ riseOnHover: boolean; /** * The `rise-offset` attribute sets the z-index offset used for the riseOnHover feature. */ riseOffset: number; get latLng(): L.LatLng; containerChanged(): void; draggableChanged(): void; iconChanged(): void; private walkDOMForIcon; onMove(event: L.LeafletEvent): void; positionChanged(): void; zIndexOffsetChanged(): void; opacityChanged(): void; disconnectedCallback(): void; } export {};