diff options
author | Łukasz Paczos <lukas.paczos@gmail.com> | 2019-03-11 11:22:09 +0100 |
---|---|---|
committer | Łukasz Paczos <lukasz.paczos@mapbox.com> | 2019-03-11 13:28:28 +0100 |
commit | 278347548daa7314e2367364d55f1090d5bab9a9 (patch) | |
tree | d32633466fd7c8088625f426671bcaabc8519c7a /platform | |
parent | f84019cb89cc8274be7bb1fda3855b738281bdac (diff) | |
download | qtlocation-mapboxgl-278347548daa7314e2367364d55f1090d5bab9a9.tar.gz |
[android] remove unnecessary JSON style declaration in the gradient line example
Diffstat (limited to 'platform')
-rw-r--r-- | platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/style/GradientLineActivity.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/style/GradientLineActivity.java b/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/style/GradientLineActivity.java index c5225ce96f..9c7c7560ca 100644 --- a/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/style/GradientLineActivity.java +++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/style/GradientLineActivity.java @@ -53,7 +53,6 @@ public class GradientLineActivity extends AppCompatActivity implements OnMapRead try { String geoJson = ResourceUtils.readRawResource(GradientLineActivity.this, R.raw.test_line_gradient_feature); mapboxMap.setStyle(new Style.Builder() - .fromJson(geoJson) .withSource(new GeoJsonSource(LINE_SOURCE, geoJson, new GeoJsonOptions().withLineMetrics(true))) .withLayer(new LineLayer("gradient", LINE_SOURCE) .withProperties( |