fix: show maps pin when clicking on node coords (#1093)

This commit is contained in:
AddisonTustin 2024-06-13 03:20:52 -07:00 committed by GitHub
parent 7a81a92713
commit 8c53908eb5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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")
}"
)