[android] - expose stylejsoon confiugration on MapboxMapOptions and MapView attributes

This commit is contained in:
Tobrun
2018-08-17 22:23:32 +02:00
committed by Tobrun
parent 5ce64b786c
commit 7ce6af3f55
7 changed files with 82 additions and 38 deletions

View File

@@ -155,9 +155,9 @@ public class MapboxMapOptionsTest {
@Test
public void testStyleUrl() {
assertEquals(Style.DARK, new MapboxMapOptions().styleUrl(Style.DARK).getStyle());
assertNotEquals(Style.LIGHT, new MapboxMapOptions().styleUrl(Style.DARK).getStyle());
assertNull(new MapboxMapOptions().getStyle());
assertEquals(Style.DARK, new MapboxMapOptions().styleUrl(Style.DARK).getStyleUrl());
assertNotEquals(Style.LIGHT, new MapboxMapOptions().styleUrl(Style.DARK).getStyleUrl());
assertNull(new MapboxMapOptions().getStyleUrl());
}
@Test