[android] remove unnecessary JSON style declaration in the gradient line example
This commit is contained in:
committed by
Łukasz Paczos
parent
f84019cb89
commit
278347548d
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user