mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
Merge pull request #1083 from maskaravivek/mapbox
Remove attribution for mapbox
This commit is contained in:
commit
54d761fc62
1 changed files with 2 additions and 0 deletions
|
|
@ -76,6 +76,8 @@ public class NearbyMapFragment extends android.support.v4.app.Fragment {
|
||||||
private void setupMapView(Bundle savedInstanceState) {
|
private void setupMapView(Bundle savedInstanceState) {
|
||||||
MapboxMapOptions options = new MapboxMapOptions()
|
MapboxMapOptions options = new MapboxMapOptions()
|
||||||
.styleUrl(Style.OUTDOORS)
|
.styleUrl(Style.OUTDOORS)
|
||||||
|
.logoEnabled(false)
|
||||||
|
.attributionEnabled(false)
|
||||||
.camera(new CameraPosition.Builder()
|
.camera(new CameraPosition.Builder()
|
||||||
.target(new LatLng(curLatLng.getLatitude(), curLatLng.getLongitude()))
|
.target(new LatLng(curLatLng.getLatitude(), curLatLng.getLongitude()))
|
||||||
.zoom(11)
|
.zoom(11)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue