Page MenuHomePhabricator

Add button to move map to current location
Open, LowPublicFeature

Assigned To
Authored By
Nov 5 2018, 10:32 AM
"Like" token, awarded by MartinJacobson."Heartbreak" token, awarded by Traveler100."Like" token, awarded by Naseweis520."Like" token, awarded by Trockennasenaffe."Love" token, awarded by OhanaUnited."Like" token, awarded by Yuriy_kosygin."Like" token, awarded by Liuxinyu970226.


On devices that support it,

add a button to request the users' current location and move and zoom the map to that location.

Easy to do with:

Event Timeline

TheDJ created this task.Nov 5 2018, 10:32 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 5 2018, 10:32 AM
MSantos triaged this task as Low priority.Nov 6 2018, 3:43 PM
MSantos moved this task from Unsorted to Feature requests on the Maps (Kartographer) board.
alexhollender moved this task from Needs triage to Triaged on the Mobile board.Nov 6 2018, 11:08 PM
Yuriy_kosygin added a subscriber: Yuriy_kosygin.

Wikivoyage are about to become a travel guide for any traveler, and I think the destination map needs to add a person's location (like a Google Map) to help travelers find the places they want to visit.

When will it be officially activated? This is very import about Wikivoyage.

@Yuriy_kosygin: Someone needs to volunteer to write a software change, which in theory anyone can do who is interested. You are very welcome to use developer access to submit the proposed code changes as a Git branch directly into Gerrit which makes it easier to review them quickly and provide feedback.

Carlb added a subscriber: Carlb.May 20 2019, 7:11 PM

Because the mobile version of the page does not display the Geo icon, and some pages will display the Mapframe, so I think the Mapframe needs to add the function of Show me where I am; visitors can use the mobile phone to watching the map of the Wikivoyage when they in outdoors, and know which one they are in location and destination location. Can add the Show me where I am function of {{geo}} to {{Mapframe}}?

TheDJ added a comment.May 25 2019, 6:04 PM

Sure, go right ahead implement the feature and submit a patch. Everyone can contribute.

TheDJ updated the task description. (Show Details)Feb 26 2020, 9:27 AM
TheDJ added a project: User-TheDJ.
Abbe98 added a subscriber: Abbe98.

Change 575836 had a related patch set uploaded (by Abbe98; owner: Abbe98):
[mediawiki/extensions/Kartographer@master] wip: Initial support for locate me/gps

Abbe98 added a comment.Mar 2 2020, 7:40 AM

I have created an initial patch for this. GPS locator can now be enabled on a wiki with $wgKartographerGPSLocator = true; Following that the <mapframe> tag now takes an additional argument "gps" that adds the gps button/control to the map.

There is a few things that's needs more work but it would be great if someone could take an early look at the patch to see if I'm at the right track at all.


Abbe98 claimed this task.Mar 2 2020, 7:40 AM
Abbe98 moved this task from Inbox to WiP on the User-Abbe98 board.
TheDJ changed the subtype of this task from "Task" to "Feature Request".Mar 8 2020, 11:55 PM