neodash icon indicating copy to clipboard operation
neodash copied to clipboard

Map: two points at same location

Open JoridK opened this issue 3 years ago • 4 comments

Hi,

I've been playing around a bit with NeoDash, and most features are very easy to use :)

One minor bug I found is in the map, if I have two nodes at the same location. In that case, only one of them is displayed, and the other just vanishes.

JoridK avatar Feb 08 '22 14:02 JoridK

hi @JoridK , Just tried this as well and it seems to the same for me. How'd you suggest fixing this? I'm having trouble coming up with a nice solution so that both are visible at the same time, any ideas?

nielsdejong avatar Feb 12 '22 16:02 nielsdejong

The best I can think of is to put one point in a slightly wrong place next to the other, if two points have the same location (if there are more than two points, the third point would need to be offset in a slightly different direction, etc) . I think on most maps it will not matter whether it is offset by a couple of centimeters in comparision to real life. In case it is critical for some use case, maybe you could make this feature optional?

JoridK avatar Feb 14 '22 11:02 JoridK

Hi @JoridK ,

I thought a bit about your comment and came up with another idea. What about having a small number below the marker that appears when there's >1 point at this location. The inspect view after clicking will then show details on both nodes. I think this is also how other map libraries do it. What do you think?

image

nielsdejong avatar Feb 16 '22 07:02 nielsdejong

Hi, that would also be good, if it can be displayed concisely. I can imagine that this might be a display problem if the points have too many attributes (>30 in my case, per point), or there are too many points (let's say 10 points with 5 attributes each).

JoridK avatar Feb 16 '22 10:02 JoridK

Closed in 2.3

BennuFire avatar Aug 01 '23 13:08 BennuFire