mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-29 22:03:55 +01:00
maps intent: preserve zoom and show red pin (#6160)
Co-authored-by: Nicolas Raoul <nicolas.raoul@gmail.com>
This commit is contained in:
parent
41170d81d9
commit
e01ecb20fa
5 changed files with 36 additions and 13 deletions
|
|
@ -2309,7 +2309,8 @@ public class NearbyParentFragment extends CommonsDaggerSupportFragment
|
|||
updateBookmarkButtonImage(selectedPlace);
|
||||
break;
|
||||
case R.drawable.ic_directions_black_24dp:
|
||||
Utils.handleGeoCoordinates(this.getContext(), selectedPlace.getLocation());
|
||||
Utils.handleGeoCoordinates(this.getContext(), selectedPlace.getLocation(),
|
||||
binding.map.getZoomLevelDouble());
|
||||
break;
|
||||
case R.drawable.ic_wikidata_logo_24dp:
|
||||
Utils.handleWebUrl(this.getContext(), selectedPlace.siteLinks.getWikidataLink());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue