Closed damondriscoll closed 2 months ago
Can you share a screenshot showing the behavior?
Yes, I’ll update by tomorrow night
I found out the issue - apparently the default anchor settings (0, 0) are messed up, as for SVGs at least, it completely breaks them! I used anchor settings found on the BlueMap website (25, 45), and they work as intended.
(25, 45), correct
(0, 0), wrong, becomes more obvious when scaled out
I'll create the PR tomorrow shouldn't be that difficult (i think)
I don't think a PR is necessary as this is working as designed. The offsetX
and offsetY
are read from the config and allow users to modify the location for each marker type (https://github.com/tpwalke2/BlueMapSignMarkers?tab=readme-ov-file#marker-groups).
The icon won’t anchor correctly to its relative map location, I assume it’s not applying the correct CSS? Even manually assigning the icon as “assets/poi.svg” breaks it