import { AfterContentInit, EventEmitter, OnChanges, OnDestroy, SimpleChange } from '@angular/core'; import { MouseEvent } from '../map-types'; import { MarkerManager } from '../services/managers/marker-manager'; import { SebmGoogleMapInfoWindow } from './google-map-info-window'; /** * SebmGoogleMapMarker renders a map marker inside a {@link SebmGoogleMap}. * * ### Example * ```typescript * import { Component } from 'angular2/core'; * import { SebmGoogleMap, SebmGoogleMapMarker } from 'angular2-google-maps/core'; * * @Component({ * selector: 'my-map-cmp', * directives: [SebmGoogleMap, SebmGoogleMapMarker], * styles: [` * .sebm-google-map-container { * height: 300px; * } * `], * template: ` * * * * * ` * }) * ``` */ export declare class SebmGoogleMapMarker implements OnDestroy, OnChanges, AfterContentInit { private _markerManager; /** * The latitude position of the marker. */ latitude: number; /** * The longitude position of the marker. */ longitude: number; /** * The title of the marker. */ title: string; /** * The label (a single uppercase character) for the marker. */ label: string; /** * If true, the marker can be dragged. Default value is false. */ draggable: boolean; /** * Icon (the URL of the image) for the foreground. */ iconUrl: string; /** * If true, the marker is visible */ visible: boolean; /** * Whether to automatically open the child info window when the marker is clicked. */ openInfoWindow: boolean; /** * The marker's opacity between 0.0 and 1.0. */ opacity: number; /** * All markers are displayed on the map in order of their zIndex, with higher values displaying in * front of markers with lower values. By default, markers are displayed according to their * vertical position on screen, with lower markers appearing in front of markers further up the * screen. */ zIndex: number; /** * This event emitter gets emitted when the user clicks on the marker. */ markerClick: EventEmitter; /** * This event is fired when the user stops dragging the marker. */ dragEnd: EventEmitter; /** * This event is fired when the user mouses over the marker. */ mouseOver: EventEmitter; /** * This event is fired when the user mouses outside the marker. */ mouseOut: EventEmitter; /** * @internal */ infoWindow: SebmGoogleMapInfoWindow; private _markerAddedToManger; private _id; private _observableSubscriptions; constructor(_markerManager: MarkerManager); ngAfterContentInit(): void; /** @internal */ ngOnChanges(changes: { [key: string]: SimpleChange; }): void; private _addEventListeners(); /** @internal */ id(): string; /** @internal */ toString(): string; /** @internal */ ngOnDestroy(): void; }