You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
sp21
changed the title
Can you provide a support a create a Context Menu on Marker Right click.
Can you provide a support to create a Context Menu on Marker Right click.
Aug 25, 2022
Hi Am not able to access the event on marker right click to provide a context menu on x and y values
<agm-marker
*ngFor="let m of markers; let i = index"
(markerClick)="clickedMarker(m, i)"
[latitude]="m.lat"
[longitude]="m.lng"
[label]="m.label"
[markerDraggable]="m.draggable"
[iconUrl]="$any(m.icon)"
(dragEnd)="markerDragEnd(m, $event)"
(mouseOver)="onMouseOver(infoWindow,gm)"
(markerRightClick)="onRightClickMarker(m,$event)"
><
onRightClickMarker(m: marker, $event: MouseEvent){
console.log('onRightClick', m, $event);
}
Hereafter running code am not able to get access to the event on the right click of the marker.
This is what I found in the official doc. unlike dragEnd why there is no support for accessing events on markerRightClick. can you fix that?
markerRightClick
Type : EventEmitter
Defined in packages/core/src/lib/directives/marker.ts:123
This event is fired when the user rightclicks on the marker.
_Use stackblitz.com or similar -- try this template as a starting point: https://stackblitz.com/edit/angular-google-maps-demo
What steps should we try in your demo to see the problem?
Current behavior
Expected/desired behavior
angular-google-maps, Angular, & any other relevant dependency versions
Other information
markerRightClick
Type : EventEmitter
Defined in packages/core/src/lib/directives/marker.ts:123
This event is fired when the user rightclicks on the marker.
The text was updated successfully, but these errors were encountered: