Skip to content
Snippets Groups Projects
Commit 3d09c245 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

pin number for comments

parent c3ea55a3
No related branches found
No related tags found
2 merge requests!223reset the pin numbers before search results are fetch (so the results will be...,!201Resolve "[MIN-114] Browse comments on the map"
......@@ -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 }),
);
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment