mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
Remove Style class it required updated version of mapbox map
This commit is contained in:
parent
ea2d0cfa60
commit
14f08e24e0
1 changed files with 1 additions and 11 deletions
|
|
@ -26,7 +26,6 @@ import com.mapbox.mapboxsdk.camera.CameraPosition;
|
|||
import com.mapbox.mapboxsdk.maps.MapboxMap;
|
||||
import com.mapbox.mapboxsdk.maps.MapboxMapOptions;
|
||||
import com.mapbox.mapboxsdk.maps.OnMapReadyCallback;
|
||||
import com.mapbox.mapboxsdk.maps.Style;
|
||||
import com.mapbox.mapboxsdk.maps.SupportMapFragment;
|
||||
|
||||
import javax.inject.Inject;
|
||||
|
|
@ -270,16 +269,7 @@ public class NearbyParentFragment extends CommonsDaggerSupportFragment
|
|||
nearbyMapFragment.getMapAsync(new OnMapReadyCallback() {
|
||||
@Override
|
||||
public void onMapReady(MapboxMap mapboxMap) {
|
||||
|
||||
mapboxMap.setStyle(Style.MAPBOX_STREETS, new Style.OnStyleLoaded() {
|
||||
@Override
|
||||
public void onStyleLoaded(@NonNull Style style) {
|
||||
|
||||
// Map is set up and the style has loaded. Now you can add
|
||||
// data or make other map adjustments
|
||||
|
||||
}
|
||||
});
|
||||
Log.d("deneme2","on map ready is finally called, problem is solved!");
|
||||
}
|
||||
});
|
||||
/*if (nearbyMapFragment.getMapboxMap()!=null){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue