Commit 58e5605a authored by Deployer's avatar Deployer

Fixed a crash in ForwardGeocoderFragment

parent 36652fa4
...@@ -8,7 +8,7 @@ android { ...@@ -8,7 +8,7 @@ android {
applicationId "com.cedarmaps.sdksampleapp" applicationId "com.cedarmaps.sdksampleapp"
minSdkVersion 15 minSdkVersion 15
targetSdkVersion 26 targetSdkVersion 26
versionCode 1 versionCode 96072501
versionName "1.0" versionName "1.0"
vectorDrawables.useSupportLibrary = true vectorDrawables.useSupportLibrary = true
......
...@@ -89,10 +89,10 @@ public class ForwardGeocodeFragment extends Fragment { ...@@ -89,10 +89,10 @@ public class ForwardGeocodeFragment extends Fragment {
mMapView.getMapAsync(new OnMapReadyCallback() { mMapView.getMapAsync(new OnMapReadyCallback() {
@Override @Override
public void onMapReady(MapboxMap mapboxMap) { public void onMapReady(MapboxMap mapboxMap) {
mMapboxMap = mapboxMap;
mMapboxMap.setMaxZoomPreference(17); mMapboxMap.setMaxZoomPreference(17);
mMapboxMap.setMinZoomPreference(6); mMapboxMap.setMinZoomPreference(6);
mMapboxMap = mapboxMap;
} }
}); });
......
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