Skip to content

Commit c1a8ee1

Browse files
author
Dmitriy Sidukov
committed
uri destination parameter fixed
1 parent d9909b8 commit c1a8ee1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/java/com/omega_r/libs/omegaintentbuilder/builders/MapIntentBuilder.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ class MapIntentBuilder(private vararg var types: MapTypes) : BaseActivityBuilder
179179

180180
if (startLatitude != null && startLongitude != null) {
181181
if (isDrivingModeEnabled) sb.append("google.navigation:q=", latitude, ",", longitude)
182-
else sb.append("http://maps.google.com/maps?saddr=${startLatitude},${startLongitude}&addr=${latitude},${longitude}")
182+
else sb.append("http://maps.google.com/maps?saddr=${startLatitude},${startLongitude}&daddr=${latitude},${longitude}")
183183
} else {
184184
if (viewType == null) {
185185
sb.append("geo:")

0 commit comments

Comments
 (0)