Skip to content
This repository was archived by the owner on Jun 23, 2025. It is now read-only.

Commit ba7c97e

Browse files
IsaacSomethingsebholstein
authored andcommitted
fix(core/marker): drag and dragStart outputs (#1604)
1 parent 2fc1a21 commit ba7c97e

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

packages/core/directives/marker.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ let markerId = 0;
4141
'latitude', 'longitude', 'title', 'label', 'draggable: markerDraggable', 'iconUrl',
4242
'openInfoWindow', 'opacity', 'visible', 'zIndex', 'animation'
4343
],
44-
outputs: ['markerClick', 'dragEnd', 'mouseOver', 'mouseOut']
44+
outputs: ['markerClick', 'dragStart', 'drag', 'dragEnd', 'mouseOver', 'mouseOut']
4545
})
4646
export class AgmMarker implements OnDestroy, OnChanges, AfterContentInit, FitBoundsAccessor {
4747
/**
@@ -145,9 +145,7 @@ export class AgmMarker implements OnDestroy, OnChanges, AfterContentInit, FitBou
145145
*/
146146
@Output() mouseOut: EventEmitter<MouseEvent> = new EventEmitter<MouseEvent>();
147147

148-
/**
149-
* @internal
150-
*/
148+
/** @internal */
151149
@ContentChildren(AgmInfoWindow) infoWindow: QueryList<AgmInfoWindow> = new QueryList<AgmInfoWindow>();
152150

153151
private _markerAddedToManger: boolean = false;
@@ -224,9 +222,7 @@ export class AgmMarker implements OnDestroy, OnChanges, AfterContentInit, FitBou
224222
}
225223
}
226224

227-
/**
228-
* @internal
229-
*/
225+
/** @internal */
230226
getFitBoundsDetails$(): Observable<FitBoundsDetails> {
231227
return this._fitBoundsDetails$.asObservable();
232228
}

0 commit comments

Comments
 (0)