mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
markers rework - optional pin shapes
This commit is contained in:
parent
3b47efd9a4
commit
1023bb0676
10 changed files with 52 additions and 23 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue