refs #6779: mobile & Mac SDK style transition options (#7711)

This commit is contained in:
Justin R. Miller
2017-01-18 12:43:08 -08:00
committed by GitHub
parent d076ba0567
commit f6715694f9
16 changed files with 205 additions and 24 deletions

View File

@@ -239,6 +239,8 @@ public class RuntimeStyleActivity extends AppCompatActivity {
private void setWaterColor() {
Layer water = mapboxMap.getLayer("water");
if (water != null) {
mapboxMap.setTransitionDuration(5);
mapboxMap.setTransitionDelay(1);
water.setProperties(
visibility(VISIBLE),
fillColor(Color.RED)