我正在使用https://github.com/recogito/annotorious在图像上绘制注释。

我想始终显示注释文本。

下面是我正在尝试的代码。
const anno = Annotorious.init({
image: 'test',
locale: 'auto',
widgets: [{ widget: 'COMMENT' }],
});
// This is I am trying, but, this is not that function, Is there other option or plugin ?
anno.setVisible(true);还有没有其他的选择或者插件?
发布于 2021-08-16 05:00:13
如果您希望文本始终显示,则应查看形状标签插件:https://github.com/recogito/recogito-client-plugins/tree/main/packages/annotorious-shape-labels
它将在注释中显示三个第一个标签,但您可以轻松地调整代码以显示注释等内容。
https://stackoverflow.com/questions/68457723
复制相似问题