Commit 90b30c9e authored by Mrunzzz's avatar Mrunzzz Committed by GitHub

Minor change to zoom preference

parent a63abba4
...@@ -54,7 +54,7 @@ public class MapFragment extends Fragment implements OnMapReadyCallback { ...@@ -54,7 +54,7 @@ public class MapFragment extends Fragment implements OnMapReadyCallback {
LatLngBounds iitbBounds=new LatLngBounds(new LatLng(19.1249000, 72.9046000),new LatLng(19.143522, 72.920000)); LatLngBounds iitbBounds=new LatLngBounds(new LatLng(19.1249000, 72.9046000),new LatLng(19.143522, 72.920000));
googleMap.setLatLngBoundsForCameraTarget(iitbBounds); googleMap.setLatLngBoundsForCameraTarget(iitbBounds);
googleMap.setMaxZoomPreference(30); googleMap.setMaxZoomPreference(30);
googleMap.setMinZoomPreference(18); googleMap.setMinZoomPreference((float) 14.5);
// Position the map's camera near Mumbai // Position the map's camera near Mumbai
LatLng iitb = new LatLng(19.1334, 72.9133); LatLng iitb = new LatLng(19.1334, 72.9133);
googleMap.addMarker(new MarkerOptions().position(iitb) googleMap.addMarker(new MarkerOptions().position(iitb)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment