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

@ -494,6 +494,7 @@ window.Markers = (function () {
}
function addMarkerGroup(id, icon, x, y, size) {
// TODO: remove and replace with individual markers rendering
const markers = svg.select("#defs-markers");
if (markers.select("#marker_" + id).size()) return;