Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Show overflow quest points as dot at some zoom levels #1615

Closed
pkoby opened this issue Oct 22, 2019 · 17 comments
Closed

Feature Request: Show overflow quest points as dot at some zoom levels #1615

pkoby opened this issue Oct 22, 2019 · 17 comments

Comments

@pkoby
Copy link

pkoby commented Oct 22, 2019

Use case
When I am walking to work, I want to hit areas with a lot of unanswered quests. As it stands, it is hard to find a route with a lot of quests while at a low(ish) zoom level for a good overview. Say I have a choice of walking around a block. One direction has a lot of houses with unanswered level and roof quests, the other direction is all answered. If I zoom out to view the block and adjacent areas, one or two missed quests will show as densely as a whole row of quests.

In this example, it is hard to tell whether 10th St or 10th Avenue has more quests available, or how many there might be.
image

Zoom in a little more on 10th Ave; still hard to tell if this is a good choice.:
image

Finally, at full zoom we can see that there are a lot of quests!
image

Proposed Solution
At some zoom levels (i.e. not city or neighborhood level, but perhaps block and street level), where there are quests that are hidden because of collision/overlap, show some tiny icon to show that there is a quest there.

Now it's obvious that the north side of 10th Ave is a good goal.
image

And now we can see 10th St has nothing going for it at all.
image

The icons could be smaller, and I would definitely suggest layering them beneath the main icon layer (so some dots would be hidden behind the big point icons). Also, this layer should not be selectable.

Also, I understand there might be a UI/UX issue with users not understanding what the layer represents. But in practice (not just screenshots), I think it might be more clear: as you zoom in, small points appear, and as you zoom farther, some of them pop into a large icon.

I could also see this as being useful for motivation: if a user sees many points as possible options, it can seem like a good goal. For me, I like to clear the map. Sometimes there is one point left in a block, but at higher zoom levels, that block looks the same as a very dense one.

@westnordost
Copy link
Member

Would be nice, but as far as I know, it is not possible. Maybe what would be possible would be to always show these points and additionally the quest pin if there is enough space.
Would this work too?

@pkoby
Copy link
Author

pkoby commented Oct 23, 2019

That would be fine with me. My thought about that was that it might be difficult to design a point that would be hidden by the big pin. Perhaps if the small points were quite small and just a bit vertically offset, the big pin would cover it suitably. (Or very small Xs? So the pin point lands on the center of the x?)

I assume you would still have two layers? One for small points, showing all at all times, and one for the big pins working as usual? If there are two layers, could the small points be hidden when zoomed out? I don't think it would be helpful to show all points for a whole city at once.

@westnordost
Copy link
Member

Yes, it would be possible to show the dots only at a later zoom level.

@pkoby
Copy link
Author

pkoby commented Oct 23, 2019

I threw together some possible ideas:
image

I'm partial to the orange dots. The color is based off of the loading bar/location locked icon.

@westnordost
Copy link
Member

Interesting. I already implemented it. It looks like this currently. The image can be exchanged easily, it is in app\src\main\assets\map_theme\images\quest_dot@2x.png. Maybe you'd like to experiment with other graphics.

Note that there is also the dark mode. A black X or + will be very difficult to see. This is why the color of the quest pin doesn't change in dark mode.
Just round solid dot, regardless of the color, may be confused for a map feature of the background map (f.e. a bollard). This is why the quest pin has a shadow and no element on the map has a shadow.

device-2019-10-23-233339
device-2019-10-23-233320
device-2019-10-23-233410

@pkoby
Copy link
Author

pkoby commented Oct 23, 2019

Wow, that was quick! I think this is looking good, but I fear that at this size, the dots look a little bit too much like a selectable icon. Also, the overlap of many close points is maybe not clearer than no points. I might give it a go with playing around with size/color if I can remember how to use Android Studio.

EDIT: I don't suppose they could scale at different zooms?

@westnordost
Copy link
Member

They could scale, and I tried it out, but it doesn't feel good. (They don't scale seamlessly).

Also, regarding the size, compare with the size of a button. I think this is safely below the side one would expect to click. Besides, it is possible to click them - doubleclicking! It zooms the map with it at the center! ;-)

@pkoby
Copy link
Author

pkoby commented Oct 23, 2019

Viewing it on a desktop is deceptive. I looked at your screenshots on my phone, and you're right, the dots don't seem crazy large. And I suppose areas that look super dense would be good places to visit and clean up!

@westnordost
Copy link
Member

Wow, that was quick!

Yeah I realized that the idea is very cool and the effort is really rather low. It also solves the problem some people have that want to see quests at higher zoom levels already to know if it is worth cycling/going there.

From the screenshots above, I now further changed now:

  • moved dots a px up, so one doesn't see them behind the pin anymore
  • show dots one zoom level (13) before quest pins, so one can see where there are quests
  • dots collide with each other and pins from zoom level 13-16, starting with zoom level 17, all are shown. So, a heap of dots like in the 2nd screenshot is never shown

@Katzenstreu
Copy link

A additionally idea is: a slider on the screen for the size of all quests or a slider for the count of the small dots.

I like the idea of seeing all possible solvable quests. Then it's a more exiting game.

@Katzenstreu
Copy link

Thanks @westnordost for beta 15! But there are too less pins in my case:

"In this area I'm seeing only one quest (house number) but no small white dots/pins. If I zoom-in, see second sscreenshot, there are a lot of quests. Why here are no pins?

1

2

@pkoby
Copy link
Author

pkoby commented Nov 1, 2019

Thanks for the update; I was so looking forward to seeing it working!

I do agree that at some zoom levels the map seems a little empty, but I assume that's due to the collisions? Perhaps the small dot always shows up underneath a big quest pin, and thus the dot collides away all nearby dots.

I had one small idea: the dots look a little weird offset from the actual location (to hide them behind the big pin). Perhaps the bottom of the dot could be a point of the same angle as the big pins. Then the dots would point to their actual location, look like a tiny version of the big pins (to associate the two), and still hide perfectly.

@westnordost
Copy link
Member

As said, the dots still collide with the pins. Only starting at zoom level 17, all dots are shown no matter what.

Perhaps the bottom of the dot could be a point of the same angle as the big pins.

Yeah, tried that, didn't look good.

@Katzenstreu
Copy link

What about another idea?

Do you know heatmaps? See attachment. If there are many quests for one area, or the same element, the pins get bigger. Or the color of the pins is changing similar to heatmaps. https://www.patrick-wied.at/static/heatmapjs
front
Heatmap

@westnordost
Copy link
Member

westnordost commented Nov 2, 2019 via email

@matkoniecz
Copy link
Member

It turned out to be extremely useful for finding places crowded with quests! It turns out that were some alternatives routes of my trips across city that were never taken* judging by number of quests that were still available. It ended more useful than I expected.

*at least not on trips where I was able to solve some SC quests

@pkoby Thanks for the idea! @westnordost Thanks for the implementation!

@Echolon
Copy link

Echolon commented Nov 20, 2019

@pkoby Wow, you just formulated what I had in mind for months! THANKS!

@westnordost THANKS for implementing this! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants