organicmaps/organicmaps

Parse and encode coordinates in omaps.app links

開放

#7,482 建立於 2024年2月26日

 (12 則留言) (1 個反應) (0 位負責人)C++ (761 個分叉)batch import
APIGood first issue

倉庫指標

星標
 (7,887 顆星)
PR 合併指標
 (平均合併 13天 6小時) (30 天內合併 91 個 PR)

描述

Historically, Organic Maps supports encoded location links: https://omaps.app/0yxdjqU7NK/Amathus

10 years ago it was important to save a few bytes when using SMS for sharing. Now it's better to share clear coordinates like this: https://omaps.app/34.71399,33.14058/Amathus

Coordinates are already supported by omaps.app url parser, but they are not supported yet on iOS and Android. The parser code should be easy to fix in the C++ code, plus add a few unit tests.

After implementing the parser and releasing app updates, the next step is to change/update the link encoder to produce readable links with coordinates instead of encoded sequence.

貢獻者指南