mapbox/flutter-mapbox-gl

Generate platform channel code from style specification

tobrun opened this issue · 2 comments

Flutter uses the concept of platform channels to allow to execute platform specific code. To streamline integration between iOS and Android, we can use the style specifcation to generate the code.

1ec5 commented

React Native Mapbox GL jumps through some hoops to reverse-engineer the iOS map SDK’s translation from style specification naming conventions to Cocoa naming conventions. Perhaps some of that code could be reused.

Putting on this for now, might revisit in context of https://github.com/tobrun/flutter-mapbox-gl and future auto generated binding work happening on the gl-native side.