If you need your web, Android app or iOS app integrate with a map, geo-location services, extensible, custom maps, location search there are many solutions. For the developer side there are solutions like Google Maps, Mapbox, Open Street Maps and more.
npm install @mapbox/react-native-mapbox-gl
In settings.gradle Include project, so gradle knows where to find the project
In MainApplication.java Add import com.mapbox.rctmgl.RCTMGLPackage; as an import statement and new RCTMGLPackage() in getPackages()
If you get an error like this: No static method toHumanReadableAscii The solution is to edit the compile in build.gradle to this:
Add the ShapeSource and LineLayer Mapbox Components
The complete code is like this: