Skip to content

Function: getCommentZoomThreshold()

ts
function getCommentZoomThreshold(comment): number;

Get the effective zoom threshold for a comment Uses explicit threshold if set, otherwise calculates from dimensions

Parameters

comment

Comment

Comment annotation

Returns

number

Effective zoom threshold