Hi,
Trying to use the textOffset on a SymbolLayer and it does not work. Below is a screenshot of the error.

Here is my style object:
const styles = Mapbox.StyleSheet.create({
clusterLabel: {
textSize:12 ,
textColor: BLACK,
textHaloColor: WHITE,
textHaloWidth: 1,
textField: '{point_count}',
textOffset: [2, 2],
}
})
I wanted to test with the demo application, but I ran into issues with a babel-preset-react-native transformation trying to start it.
Thanks!
Theres's a bug with the version of babel-preset-react-native in the demo app, if you switch to node 8 it will run.
I'll look into textOffset and probably the rest of the SymbolLayer styles to make sure they're working correctly.
I already see the problem. Some offsets require NSValue that is a CGVector others require NSArray<NSNumber *> *.
Thanks @nitaliano ! Ready to test as soon as you have a patch.
@karlguillotte I added the fix for this on the PR that fixes the iconImage token not working. https://github.com/mapbox/react-native-mapbox-gl/pull/674. Let me know how it goes.
It is working! Thanks @nitaliano.
The fix has been merged into the v6 branch closing out