Select to view content in your preferred language

View On double-click does not work

276
1
08-15-2024 07:24 AM
GerardLanphear
Emerging Contributor

I am using version 4.28 in an Angular 15 application.  The reference for the JavaScript API states clearly that there is a double-click event on the View object, but I am unable to get it to fire.

I have read that the click event is delayed to allow for the double click to fire first.

I have tried putting a double click listener on the div which is the parent of the map and responding to it.  This works haphazardly, firing after the click event on some users machines.

I want to specifically capture the double-click and place a marker at that point.

Please help, I am being driven crazy and I am running out of time.

1 Reply
GerardLanphear
Emerging Contributor

It has been determined that only I have this issue. For some reason my mouse does not fire the double-click on the View object. When I double click on the map somewhere it does nothing.  When I have someone else take control of my machine in Teams it works fine.  Mysterious hardware/OS issue.

0 Kudos