Port symbol-z-order symbol layout style-spec property to Native

This commit is contained in:
ryanhamley
2018-08-30 17:18:29 -07:00
parent 79bf0e8af6
commit 31cca05fc6
25 changed files with 300 additions and 4 deletions

View File

@@ -159,6 +159,20 @@ public class SymbolLayerTest extends BaseActivityTest {
});
}
@Test
public void testSymbolZOrderAsConstant() {
validateTestSetup();
setupLayer();
Timber.i("symbol-z-order");
invoke(mapboxMap, (uiController, mapboxMap) -> {
assertNotNull(layer);
// Set and Get
layer.setProperties(symbolZOrder(SYMBOL_Z_ORDER_VIEWPORT_Y));
assertEquals((String) layer.getSymbolZOrder().getValue(), (String) SYMBOL_Z_ORDER_VIEWPORT_Y);
});
}
@Test
public void testIconAllowOverlapAsConstant() {
validateTestSetup();