elpwc / EldenRingOnlineMap

Elden Ring online map / 老头环在线多人协作编辑地图

Home Page:https://www.elpwc.com/eldenringmap/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Positioning of the Marker

Abbadon999 opened this issue · comments

The positioning of the marker and cursor is not clear to me, I would like to set the marker more accurately. Just after setting the marker, it is shifted to the right relative to the cursor. It seems that the anchor(main point) to the upper left corner of the marker image. I also noticed that when the map is zoomed in, the markers move from the starting point

Yes I didn't add archors to icons, and I just add it
You can find my changes in:f3ec524

Markers are now more convenient to put, thank you very much! But I have one more suggestion regarding markers: When I zoom the map the markers get larger as I zoom out, and I would like them to be able to lock in at about half their size even if I zoom out the map as far as possible. It's just that when I zoom out the map, the markers take up too much space on the screen.
In general, to put it simply - is it possible to make the markers not constantly increase when moving away?

Make sense. I've tried to achieve this, but it's a little hard for me and I don't have much time to continue it. Maybe you can see some about map cluster, this could be the way to achieve your idea. (If my comprehension is not wrong)
Anyway, thanks for having interest in my project!