UNPKG

ng2-heremaps

Version:
37 lines (36 loc) 1.16 kB
/// <reference types="heremaps" /> import { EventEmitter } from '@angular/core'; import { HereMapsManager } from '../services/maps-manager'; import { BaseMapComponent } from './base-map-component'; import { GeoPoint } from '../interface/lat-lng'; import { MapComponent } from './map'; /** * Renders buble on map. Please note that directive must be placed inside * map component, otherwise it will never be rendered. */ export declare class MapBubbleDirective extends BaseMapComponent<H.ui.InfoBubble> { private _mapsManager; protected mapComponent: MapComponent; /** * This event is fired when the marker icon was clicked. */ click: EventEmitter<any>; /** * Bubble position */ position: GeoPoint; /** * If true, the marker receives mouse and touch events. * Default value is true. */ clickable: boolean; /** * Rollover text */ contentElement: HTMLElement; private _clickable; constructor(_mapsManager: HereMapsManager); hasMapComponent(): boolean; setMapComponent(component: MapComponent, map: H.Map, ui: H.ui.UI): void; private bindEvents(marker); }