diff options
author | Brad Leege <bleege@gmail.com> | 2016-05-25 16:09:19 -0500 |
---|---|---|
committer | Brad Leege <bleege@gmail.com> | 2016-05-25 20:40:17 -0500 |
commit | 50b891561f8cbf31d3ab9d81a3987ff2960b3718 (patch) | |
tree | 47d52b194df9c6b858edd298a3987accc00589b2 /platform | |
parent | e02a753de99016d90f1d9bbb7b088fc9bb7bed59 (diff) | |
download | qtlocation-mapboxgl-50b891561f8cbf31d3ab9d81a3987ff2960b3718.tar.gz |
[android] #5075 - Removing options.accessToken() usage in MapFragmentActivity and SupportMapFragmentActivity
Diffstat (limited to 'platform')
2 files changed, 0 insertions, 2 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/fragment/MapFragmentActivity.java b/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/fragment/MapFragmentActivity.java index 290caa65f7..5987855aac 100644 --- a/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/fragment/MapFragmentActivity.java +++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/fragment/MapFragmentActivity.java @@ -40,7 +40,6 @@ public class MapFragmentActivity extends AppCompatActivity { FragmentTransaction transaction = getFragmentManager().beginTransaction(); MapboxMapOptions options = new MapboxMapOptions(); - options.accessToken(getString(R.string.mapbox_access_token)); options.styleUrl(Style.getOutdoorsStyleUrl(AppConstant.STYLE_VERSION)); options.scrollGesturesEnabled(false); diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/fragment/SupportMapFragmentActivity.java b/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/fragment/SupportMapFragmentActivity.java index 873000f1e5..bb391fc93d 100644 --- a/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/fragment/SupportMapFragmentActivity.java +++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/fragment/SupportMapFragmentActivity.java @@ -40,7 +40,6 @@ public class SupportMapFragmentActivity extends AppCompatActivity { FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); MapboxMapOptions options = new MapboxMapOptions(); - options.accessToken(getString(R.string.mapbox_access_token)); options.styleUrl(Style.getSatelliteStreetsStyleUrl(AppConstant.STYLE_VERSION)); options.scrollGesturesEnabled(false); |