dl9rdz / rdz_ttgo_sonde

270 stars 94 forks source link

Geo link ERROR #307

Open lucaswl653 opened 2 years ago

lucaswl653 commented 2 years ago

Hi,

In the last livemap.js the GEOAPP link format has two // after geo:. The correct Geo_URI_scheme should be: geo:' + lat + ', ' + lon + '

cixio commented 2 years ago

Hi,

this is how it works on iOS. Can you explain what exactly is the problem? What device you are using and what error message do you get?

OK2MOP commented 1 year ago

Geo is URI not URL, there should be no // after : according to the specification (RFC5870). Android app parsers cause opened coordinates to be set to 0,0 instead of correct coordinates due to this issue. The correct line in livemap.js should look like this: '<b>Open:</b> <a href="https://www.google.de/maps/?q='+lat+', '+lon+'" target="_blank">GMaps</a> | <a href="https://www.openstreetmap.org/?mlat='+lat+'&mlon='+lon+'&zoom=15" target="_blank">OSM</a> | <a href="geo:'+lat+','+lon+'">GeoApp</a>';