diff --git a/src/components/Map/MapViewer/utils/config/commentsLayer/getCommentsFeatures.ts b/src/components/Map/MapViewer/utils/config/commentsLayer/getCommentsFeatures.ts index f1e1a82c25bb1108db56c25703f06786da436477..3fc44fcc18aaaa09e768ea5e53b4a99c18c362f0 100644 --- a/src/components/Map/MapViewer/utils/config/commentsLayer/getCommentsFeatures.ts +++ b/src/components/Map/MapViewer/utils/config/commentsLayer/getCommentsFeatures.ts @@ -50,7 +50,7 @@ export const getCommentsFeatures = ( pointToProjection: UsePointToProjectionResult; }, ): Feature[] => { - return comments.map(comment => - getCommentFeature(comment, { pointToProjection, type: comment.pinType, value: 7 }), + return comments.map((comment, index) => + getCommentFeature(comment, { pointToProjection, type: comment.pinType, value: index }), ); };