Events
viewer2d.dblclick
invoked when the user double clicks inside the viewer example usage const ondoubleclick = function (event) { const { intersects } = event; console log("viewer2d dblclick", "intersects ", intersects); }; viewer2d addeventlistener("viewer2d dblclick", ondoubleclick); jquery const ondoubleclick = function (event, location, objectid) { console log("viewer2d dblclick", "location ", location, "objectid ", objectid); }; $("#viewer 2d") on("viewer2d dblclick", ondoubleclick); parameters ondoubleclick function called when the user double clicks inside the viewer true left unhandled content type left unhandled content type event true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type intersects true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type function called when the user double clicks inside the viewer true left unhandled content type left unhandled content type event https //api jquery com/category/events/event object/ location coordinates of the position clicked true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type objectid id of the object clicked, undefined if no object under cursor