import type { GenericGeometry, LngLat } from "../../common/types"; /** * Some active area on the map that can be clicked. * This is not a real MMapEntity, it cannot be added to the map. * But you can check it by `instance of` in MMapListener handlers * For example, in [custom layers](https://mappable.world/docs/js-api/dg/concepts/custom-layers.html) you can pass an object of this type in the `findObjectInPosition` method * Or just listen to the `onEventName` event and check the object: * ```javascript * const map = new mappable.MMap(document.getElementById('map-root'), {...}); * map.addChild(new mappable.MMapListener({ * layer: 'any', * onClick: (object) => { * if (object instanceof mappable.MMapHotspot) { * console.log('Hotspot clicked', object); * } * } * })) * ``` */ declare class MMapHotspot { private static _uid; readonly id: string; readonly geometry?: GenericGeometry; readonly properties: Record; constructor(geometry: GenericGeometry | undefined, properties: Record); } export { MMapHotspot };