merlos / iOS-Open-GPX-Tracker

GPS Tracker app for iOS + WatchOS. Log your tracks without limits and share them; Open source GPX tracker app written in Swift
http://www.merlos.org/iOS-Open-GPX-Tracker/
GNU General Public License v3.0
597 stars 147 forks source link

Option to share location #172

Open chmac opened 4 years ago

chmac commented 4 years ago

Firstly, thanks for this app, awesome to have found an open source GPX tracker now that I’m on iPhone.

I’d love to be able to share my current location via the “share service” on the iPhone. I tried sharing without a trace but that didn’t seem to work. Would it be something y’all would consider adding to the app? I understand it might be outside your core feature set so feel free to ignore this issue if so.

vincentneo commented 4 years ago

Hi @chmac,

Are you referring to the function that the default Apple Maps app provide, where you force press at the current location/blue dot icon on the map, where a "Send My Location" option is there for you to AirDrop or share elsewhere?

chmac commented 4 years ago

@vincentneo Ahh, I didn't know of that feature, thanks. Yes, something like that is what I had in mind.

The Apple Maps app generates a link which includes the location as a GPS point and then a label sharing some text like "Callum Macdonald's location". What I had in mind was something similar but in text format.

I'm thinking of something like this android app generates which is a text like:

I am here 10º10.12345'N 10º10.12345'E followed by a link to the location on Google Maps. In a perfect world, it'd be great to have a choice of linking to Google Maps, Apple Maps, open street map, etc. But I realise that's probably overkill.

The key use case for me is that when I am somewhere and I want to share my location, I want to send a link which is as generally useful to the recipient as possible. WhatsApp, et al have a "share my location", which is great, but doesn't work outside of their platform. I can't post it on a Facebook event, or as a public Twitter post, etc.

vincentneo commented 4 years ago

So something like "I am here 10º10.12345'N 10º10.12345'E https://www.google.com/maps/place/10.12345,10.12345"?

chmac commented 4 years ago

@vincentneo Awesome! I'd suggest something Location instead of I am here might be better. Maybe it would be an option to "share" the markers from the app this way? Then I could add markers, and share them individually. If I was choosing the format, and newlines were possible, I would choose this:

Location
10.123333,10.123333
10º10.12345'N 10º10.12345'E
Link to map: https://geohack.toolforge.org/geohack.php?params=10_10.12345__N_10_10.12345__E

The geohack URL then links to all the various mapping providers, more open and closed. It's used by WikiPedia when clicking on coordinates so that folks can view the same coordinates on whichever map provider they want.

Also, my 10º10 was a confusing example. The following might be a clearer example as a real place.

Location
13° 28' 0" N, 16° 36' 0" W
13.466667, -16.6
Link to map: https://geohack.toolforge.org/geohack.php?params=13_28_0_N_16_36_0_W