Skip to content

Commit d2cd6df

Browse files
authored
use correct geo: URI format (commons-app#5268)
(like OsmAnd, StreetComplete etc do), which works with all apps, and not only some.
1 parent 4ec08e8 commit d2cd6df

File tree

1 file changed

+1
-1
lines changed
  • app/src/main/java/fr/free/nrw/commons/location

1 file changed

+1
-1
lines changed

app/src/main/java/fr/free/nrw/commons/location/LatLng.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public double getLatitude() {
168168
}
169169

170170
public Uri getGmmIntentUri() {
171-
return Uri.parse("geo:0,0?q=" + latitude + "," + longitude);
171+
return Uri.parse("geo:" + latitude + "," + longitude + "?z=16");
172172
}
173173

174174
@Override

0 commit comments

Comments
 (0)