This is what React Native does, they didnt build it from scratch like in Flutter. They integrated with an existing library. You cant build a new engine in an app sandbox on a mobile device than integrate things like Map Views without writing them from scratch.
Qt has to be a whole reimplementation, because it is the native framework for many systems, in particular in embedded (but also for e.g. KDE) so it cannot rely on some system API being here.
~~Clearly theyre made using available c++ libraries like osm and mapbox. ~~ Guess they are made from scratch.
Either way, if you wanted Google Maps or Apple Maps on a mobile device, the amount of effort required to replicate a Map View in Dart or C++ would not be worth it. Also I’m pretty sure Apple Maps doesn’t have any sort of API that you can use to create your own MapView for.
I say replicate because people dont want Mapbox, they want the same map provider with the same exact features that are available everywhere else in their mobile app ecosystem.
I’m not saying it cant work but like, why rebuild ARKit and ARCore? They already exist.
6
u/pknopf May 06 '19
Qt does this just fine.