[core] Enable 'text-radial-offset' property

This commit is contained in:
Mikhail Pozdnyakov
2019-03-07 18:52:00 +02:00
parent a6d8742e63
commit 2b9a52f5e4
10 changed files with 98 additions and 6 deletions

View File

@@ -577,6 +577,19 @@ public class SymbolLayerTest extends BaseLayerTest {
assertEquals(layer.getTextJustify().getExpression(), expression);
}
@Test
@UiThreadTest
public void testTextRadialOffsetAsConstant() {
Timber.i("text-radial-offset");
assertNotNull(layer);
assertNull(layer.getTextRadialOffset().getValue());
// Set and Get
Float propertyValue = 0.3f;
layer.setProperties(textRadialOffset(propertyValue));
assertEquals(layer.getTextRadialOffset().getValue(), propertyValue);
}
@Test
@UiThreadTest
public void testTextVariableAnchorAsConstant() {