summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobrun <tobrun.van.nuland@gmail.com>2018-11-08 14:37:10 +0100
committerTobrun <tobrun@mapbox.com>2018-12-10 16:59:50 +0100
commit1cdbb6e06fd6375f7ab79d0e65d6880770433f0c (patch)
tree9554e906da459d65b6db5659163aea9516248401
parentdedb7404f23b407bd8e0583b0648025a3dc256b6 (diff)
downloadqtlocation-mapboxgl-1cdbb6e06fd6375f7ab79d0e65d6880770433f0c.tar.gz
[android] - don't load mapbox streets automatically
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapboxMap.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapboxMap.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapboxMap.java
index 0c4cbe92d1..aafa033791 100644
--- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapboxMap.java
+++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapboxMap.java
@@ -104,10 +104,6 @@ public final class MapboxMap {
*/
void onStart() {
nativeMapView.update();
- if (TextUtils.isEmpty(nativeMapView.getStyleUrl()) && TextUtils.isEmpty(nativeMapView.getStyleJson())) {
- // if user hasn't loaded a Style yet
- nativeMapView.setStyleUrl(Style.MAPBOX_STREETS);
- }
locationComponent.onStart();
}