import Component from '@glimmer/component'; import MapboxGlPopup from '@prysmex-engineering/ember-mapbox-gl/components/mapbox-gl/popup'; import type { MapboxGL } from '../../-private/mapbox-loader'; import type Owner from '@ember/owner'; import type { WithBoundArgs } from '@glint/template'; import type { LngLatLike, Map as MapboxMap, Marker, MarkerOptions } from 'mapbox-gl'; /** * User interface elements that can be added to the map. The items in this section exist * outside of the map's canvas element. * * @class MapboxGlMarker * @argument {Object} initOptions * @argument {array} lngLat * @argument {MapboxGl} MapboxGl * @argument {MapboxGInstance} map */ export interface MapboxGlMarkerArgs { map: MapboxMap; MapboxGl: MapboxGL; initOptions?: MarkerOptions; lngLat: LngLatLike; classes?: string; } export interface MapboxGlMarkerYield { popup: WithBoundArgs; } export interface MapboxGlMarkerSignature { Args: MapboxGlMarkerArgs; Blocks: { default: [MapboxGlMarkerYield]; }; } export default class MapboxGlMarkerComponent extends Component { marker: Marker; domContent: HTMLElement; constructor(owner: Owner, args: MapboxGlMarkerArgs); willDestroy(): void; setLngLat: import("@ember/component/helper").FunctionBasedHelper<{ Args: { Positional: [lngLat: LngLatLike, marker: Marker]; Named: import("@ember/component/helper").EmptyObject; }; Return: void; }>; } //# sourceMappingURL=marker.d.ts.map