onCommentAdd
method to incorporate custom metadata into the comment object. This metadata will be used later to position the Comment Pin. Learn more
addManualComment
method to create a comment with custom metadata. Learn more
getAllCommentAnnotations
method to fetch all Comment Annotations with their associated custom metadata.
For React developers, we provide hooks for easier integration. Learn more
3. Rendering comments Pins:
Iterate through the retrieved annotations and render the Comment Pin component, using the custom metadata to set each pin’s position.