Merge pull request #1083 from maskaravivek/mapbox

Remove attribution for mapbox
This commit is contained in:
Josephine Lim 2018-01-26 00:27:02 +10:00 committed by GitHub
commit 54d761fc62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,6 +76,8 @@ public class NearbyMapFragment extends android.support.v4.app.Fragment {
private void setupMapView(Bundle savedInstanceState) {
MapboxMapOptions options = new MapboxMapOptions()
.styleUrl(Style.OUTDOORS)
.logoEnabled(false)
.attributionEnabled(false)
.camera(new CameraPosition.Builder()
.target(new LatLng(curLatLng.getLatitude(), curLatLng.getLongitude()))
.zoom(11)