Skip to content

Commit

Permalink
fix(core/marker): drag and dragStart outputs (#1604)
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacSomething authored and sebholstein committed Feb 28, 2019
1 parent 2fc1a21 commit ba7c97e
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions packages/core/directives/marker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ let markerId = 0;
'latitude', 'longitude', 'title', 'label', 'draggable: markerDraggable', 'iconUrl',
'openInfoWindow', 'opacity', 'visible', 'zIndex', 'animation'
],
outputs: ['markerClick', 'dragEnd', 'mouseOver', 'mouseOut']
outputs: ['markerClick', 'dragStart', 'drag', 'dragEnd', 'mouseOver', 'mouseOut']
})
export class AgmMarker implements OnDestroy, OnChanges, AfterContentInit, FitBoundsAccessor {
/**
Expand Down Expand Up @@ -145,9 +145,7 @@ export class AgmMarker implements OnDestroy, OnChanges, AfterContentInit, FitBou
*/
@Output() mouseOut: EventEmitter<MouseEvent> = new EventEmitter<MouseEvent>();

/**
* @internal
*/
/** @internal */
@ContentChildren(AgmInfoWindow) infoWindow: QueryList<AgmInfoWindow> = new QueryList<AgmInfoWindow>();

private _markerAddedToManger: boolean = false;
Expand Down Expand Up @@ -224,9 +222,7 @@ export class AgmMarker implements OnDestroy, OnChanges, AfterContentInit, FitBou
}
}

/**
* @internal
*/
/** @internal */
getFitBoundsDetails$(): Observable<FitBoundsDetails> {
return this._fitBoundsDetails$.asObservable();
}
Expand Down

0 comments on commit ba7c97e

Please sign in to comment.