markers rework - optional pin shapes

This commit is contained in:
Azgaar 2021-09-19 02:13:40 +03:00
parent 3b47efd9a4
commit 1023bb0676
10 changed files with 52 additions and 23 deletions

View file

@ -689,6 +689,7 @@ function toggleAddMarker() {
}
function addMarkerOnClick() {
// TODO: rework for new markers system
const point = d3.mouse(this);
const x = rn(point[0], 2);
const y = rn(point[1], 2);