Your proposed implementation should work, as far as I can see. Seems like current code in modRana and in the demo are similar and the both lack flicking support.
In the case of MapboxMap widget, there should be no issue with the floating point errors. Namely, you either plot by defining the map objects (points, roads, ...) or you paint widgets that are moving around according to the map signals (signals tell widgets exact new location in pixels). As such, we have only one center of the map and everything else is relative to that. This prevents different layers to get differently adjusted and works great, as far as I have tested.
Very-very simple (instructions have not been tested in real life, correct as needed): * clone recursively https://github.com/rinigus/pkg-mapbox-gl-native * make subdir build * copy mapbox-gl-native-lib.pro to mapbox-gl-native subdir * in build subdir, qmake5 ../mapbox-gl-native/mapbox-gl-native-lib.pro * make -jXX * clone https://github.com/rinigus/mapbox-gl-qml * open in QtCreator mapbox-gl-qml/app/mapbox-qml.pro * Adjust mapbox-qml.pro (https://github.com/rinigus/mapbox-gl...ox-qml.pro#L12 ) INCLUDEPATH and LIBS to point to pkg-mapbox-gl-native/build and pkg-mapbox-gl-native/mapbox-gl-native location accordingly. * Should compile and run from the creator. To run outside, adjust LD_LIBRARY_PATH if needed. To run in modRana, you would have to install the QML extension. This is done via https://github.com/rinigus/mapbox-gl...box-gl-qml.pro - here you probably can just comment out QMAKE_XXX vars.
NB! I don't know what's gcc is on Fedora - you need decent c++14 support. Probably gcc 4.9 is fine, but I am not 100% sure. If the support is insufficient, pkg-mapbox-gl-native build will fail.