mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
fix: show maps pin when clicking on node coords (#1093)
This commit is contained in:
parent
7a81a92713
commit
8c53908eb5
1 changed files with 3 additions and 1 deletions
|
|
@ -40,7 +40,9 @@ fun LinkedCoordinates(
|
|||
val annotatedString = buildAnnotatedString {
|
||||
pushStringAnnotation(
|
||||
tag = "gps",
|
||||
annotation = "geo:${position.latitude},${position.longitude}?z=17&label=${
|
||||
// URI scheme is defined at:
|
||||
// https://developer.android.com/guide/components/intents-common#Maps
|
||||
annotation = "geo:0,0?q=${position.latitude},${position.longitude}&z=17&label=${
|
||||
URLEncoder.encode(name, "utf-8")
|
||||
}"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue