import * as L from 'leaflet'; import { AWCLeafletElement } from '../../internal/awc-leaflet.js'; import type { PropertyValues } from 'lit'; /** * @summary Element which defines an divicon template for markers * @documentation https://webcomponents.adeliom.io/?path=/docs/components-map-icon-divicon--documentation * @status experimental * @since 1.0 * */ export default class AWCMapDivicon extends AWCLeafletElement { /** * The `icon-width` attribute sets the size of the icon image in pixels. */ iconWidth: number; /** * The `icon-height` attribute sets the size of the icon image in pixels. */ iconHeight: number; /** * The `icon-anchor-x` attribute sets the coordinates of the "tip" of the icon (relative to its top left corner). The icon will be aligned so that this point is at the marker's geographical location. Centered by default if size is specified, also can be set in CSS with negative margins. */ iconAnchorX: number; /** * The `icon-anchor-y` attribute sets the coordinates of the "tip" of the icon (relative to its top left corner). The icon will be aligned so that this point is at the marker's geographical location. Centered by default if size is specified, also can be set in CSS with negative margins. */ iconAnchorY: number; /** * The `class-name` attribute sets a custom class name to assign to both icon and shadow images. Empty by default. */ className: string; private icon; getIcon(): L.DivIcon; updated(changed: PropertyValues): void; }