Events
viewer2d.markerclick
invoked when the user clicks a marker example usage const onmarkerclick = function (event) { const { marker } = event; console log("viewer2d markerclick", "marker ", marker); }; viewer2d addeventlistener("viewer2d markerclick", onmarkerclick); jquery const onmarkerclick = function (event, marker) { console log("viewer2d markerclick", "marker ", marker); }; $("#viewer 2d") on("viewer2d markerclick", onmarkerclick); parameters onmarkerclick function called when the user clicks a marker 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 marker the marker the user 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 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 clicks a marker true left unhandled content type left unhandled content type event https //api jquery com/category/events/event object/ marker the marker the user 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 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