Page MenuHomePhabricator

Maps: right click on map to determine latitude / longitude
Open, LowPublicFeature

Description

When using WMF maps, it'd be great to be able to right click on the map and get the latitude / longitude of the spot that you've clicked on. This would allow easier additions of nearby locations to articles for editors.

More can be found in this discussion: https://www.mediawiki.org/wiki/Extension_talk:Kartographer#Stub_Question_regarding_retrieving_lat-lon_from_the_map

wikishootme_map_sample-lat_lng_finder.png (430×718 px, 201 KB)

Event Timeline

Thanks for the response- I am willing to contribute but no-longer have the skills to do innovative coding. However I did try to copy the example from the documentation to my en:Sandbox (well I proved that didn't work) so tried to copy an example to my Mediawiki talk page- that did, I changed the lat/lon to London, previewed it and the map changed. I did another change, and previewed and right clicked on the point I wanted- and a pop-up box appeared with the Latitude/ Longitude and the Zoom. Excellent, I saved it, did a right-click and it had gone! I got the usual suspects instead. So it works when in edit preview mode, but not in normal display mode. At least that gives us a lead. I will dual post this

This feature is in the ext.kartographer.preview module, which is load only during page preview. I'm also in favour of activating this feature all the time.

Mholloway lowered the priority of this task from Medium to Low.Oct 2 2018, 3:12 PM
Mholloway moved this task from Unsorted to Feature requests on the Maps (Kartographer) board.
Aklapper changed the subtype of this task from "Task" to "Feature Request".Nov 15 2023, 5:19 PM