After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 722864 - Provide more details on results
Provide more details on results
Status: RESOLVED DUPLICATE of bug 748304
Product: gnome-maps
Classification: Applications
Component: general
3.10.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-maps-maint
gnome-maps-maint
: 719586 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2014-01-23 23:11 UTC by Jean-François Fortin Tam
Modified: 2016-02-02 11:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
mapView: improve ensureLocationsVisible (1.28 KB, patch)
2014-03-07 21:29 UTC, Jonas Danielsson
none Details | Review
Go to search result on cursor-changed (4.88 KB, patch)
2014-03-07 21:29 UTC, Jonas Danielsson
none Details | Review

Description Jean-François Fortin Tam 2014-01-23 23:11:34 UTC
Search for the following:
5334 de Gaspé, Montreal

Result: you get 5 different results in the popover/dropdown, with no indication at all which one is right. This is a bit of a problem, especially since it takes ages to programmatically scroll and zoom onto something.

A potential solution would be to add a bunch of points on the map (A, B, C, D, etc.) and identify them in the drop down; zoom out, and when the mouse hovers over any of the items in the dropdown, highlight the item on the map (maybe with a big shadow except a circle around the point?). That way I can tell what I'm clicking on.
Comment 1 Zeeshan Ali 2014-01-24 13:34:00 UTC
I don't see any map implementations doing that. Regarding scroll/zoom being slow, thats already fixed and if there is still room for improvements there, we'll look into those but we shouldn't drastically change a UI because of an unrelated bug.

I think what we need is better results. I think this will mostly be needing fixes in Nomanitim (which is the same as that of openstreetmap) database.
Comment 2 Jonas Danielsson 2014-01-24 17:03:36 UTC
You get the postal codes for each of the options at least?

If not try to run the latest of geocode-glib, but yeah, street names are not good from Nominatim. :(
Comment 3 Jean-François Fortin Tam 2014-01-24 20:16:00 UTC
> I don't see any map implementations doing that

Google Maps and Bing maps.

The problem is that most map search systems are too damn good/accurate so searching for "5334 de gaspé montréal" yields only one search result. But if you fuzzy things a bit, for example:

https://maps.google.com/maps?q=de+gasp%C3%A9&hl=en&ie=UTF8&sll=45.526165,-73.594868&sspn=0.012522,0.01929&t=m&z=16

Or go to http://bing.com/maps and search for "gaspé montréal"

...you'll end up with multiple choices shown on the map.
Comment 4 Zeeshan Ali 2014-01-24 20:35:56 UTC
Hmm.. probably makes sense to ensure all results are visible upon showing the search results and then hilighting the place on map (somehow) when cursor hovers over the associated row in the search results popup.

Although I wonder if this would be the case of 'loosing the context without explicit action from user that clearly implies such change of context', which IIRC is bad UI pattern.
Comment 5 Jonas Danielsson 2014-03-03 13:39:35 UTC
*** Bug 719586 has been marked as a duplicate of this bug. ***
Comment 6 Jonas Danielsson 2014-03-07 21:29:05 UTC
Created attachment 271272 [details] [review]
mapView: improve ensureLocationsVisible

The ensureLocationsVisible method does nothing if we are zoomed out far
enough so that all locations are visible. Improve this by first zooming
to the max zoom level. So that we ensure visibility but nothing more.
Comment 7 Jonas Danielsson 2014-03-07 21:29:09 UTC
Created attachment 271273 [details] [review]
Go to search result on cursor-changed

In order to get a better feel of where the search result is located have
the mapView go to the location when cursor is on it.
Comment 8 Jonas Danielsson 2014-03-07 21:32:03 UTC
A problem is that the search popup covers a lot of the map :)

These (rfc) patches makes some effort in showing where the locations are. Not tested all that much but could make a difference, at least in feeling.

The first patch could stand on its own I guess.
Comment 9 Jonas Danielsson 2014-03-08 08:31:28 UTC
This approach tho makes the actually going to the place awkward. If we really want something like this, or some kind of highlighting of the places, then the search result might want to move to the sidebar. Thoughts?
Comment 10 santra.sanchita13 2014-03-12 07:06:52 UTC
I use google maps and I find their idea about this quite convenient. After a search, first, lets say 5 results are indicated by pins on the map regardless of what the user clicks on. When the user clicks on one result only that result's popup is shown but the other results are still present. The user can click on the each of the 5 pins to check the popup information and zoom on the one they want.
Comment 11 Jonas Danielsson 2016-02-02 11:46:08 UTC

*** This bug has been marked as a duplicate of bug 748304 ***