rdz_ttgo_sonde icon indicating copy to clipboard operation
rdz_ttgo_sonde copied to clipboard

Geo link ERROR

Open lucaswl653 opened this issue 2 years ago • 2 comments

Hi,

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

lucaswl653 avatar Jun 01 '22 07:06 lucaswl653

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?

cixio avatar Jul 21 '22 11:07 cixio

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>';

OK2MOP avatar Apr 01 '23 09:04 OK2MOP