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 779211 - Add thumbnail in place popover
Add thumbnail in place popover
Status: RESOLVED FIXED
Product: gnome-maps
Classification: Applications
Component: map view
git master
Other Linux
: Normal normal
: ---
Assigned To: gnome-maps-maint
gnome-maps-maint
Depends on:
Blocks:
 
 
Reported: 2017-02-25 07:27 UTC by Marcus Lundblad
Modified: 2017-12-20 21:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add module to query the Wikipedia API (5.49 KB, patch)
2017-10-08 20:46 UTC, Marcus Lundblad
committed Details | Review
placeBubble: Fetch Wikipedia thumbnails for place (5.46 KB, patch)
2017-10-08 20:46 UTC, Marcus Lundblad
none Details | Review
placeBubble: Fetch Wikipedia thumbnails for place (7.59 KB, patch)
2017-11-30 22:06 UTC, Marcus Lundblad
none Details | Review
placeBubble: Fetch Wikipedia thumbnails for place (8.59 KB, patch)
2017-12-06 21:23 UTC, Marcus Lundblad
committed Details | Review

Description Marcus Lundblad 2017-02-25 07:27:54 UTC
The mockups for the place popover talks about showing an image of the place, for example obtained from Wikipedia in place of the generic place icons if one is found.

An API call such as: https://sv.wikipedia.org/w/api.php?action=query&titles=Uppsala&prop=pageimages&format=json&pithumbsize=128 can be used to fetch a thumbnail for a given Wikipedia article. The URL to the thumbnail is returned in the resulting JSON, if one is found.
Comment 1 Marcus Lundblad 2017-05-16 09:15:39 UTC
For UI review (if we want this), this is currently in the wip/mlundblad/place-thumbnails branch.
Comment 2 Marcus Lundblad 2017-10-08 20:46:29 UTC
Created attachment 361153 [details] [review]
Add module to query the Wikipedia API

Contains functionallity to query for article thumbnails and
functions to extract language and article parts from raw
OpenStreetMap tag values.
Comment 3 Marcus Lundblad 2017-10-08 20:46:42 UTC
Created attachment 361154 [details] [review]
placeBubble: Fetch Wikipedia thumbnails for place

Also use the new utility functions for getting language
and article parts when formatting Wikipedia links.
Comment 4 Marcus Lundblad 2017-11-30 22:06:34 UTC
Created attachment 364701 [details] [review]
placeBubble: Fetch Wikipedia thumbnails for place

Also use the new utility functions for getting language
and article parts when formatting Wikipedia links.
Comment 5 Marcus Lundblad 2017-12-06 21:23:06 UTC
Created attachment 365162 [details] [review]
placeBubble: Fetch Wikipedia thumbnails for place

Also use the new utility functions for getting language
and article parts when formatting Wikipedia links.
Comment 6 Marcus Lundblad 2017-12-20 21:35:36 UTC
Attachment 361153 [details] pushed as ad24f30 - Add module to query the Wikipedia API
Attachment 365162 [details] pushed as 82ad818 - placeBubble: Fetch Wikipedia thumbnails for place