I’m developing a mobile application using React Native and Mapbox that should include traffic. I’ve found a Mapbox module that offers this traffic extension for React Mapbox maps, but I’m unsure how to make it compatible with React Native or if there’s another module available. After extensive research, the Mapbox-Gl-Traffic module is the only module I’ve come across.
-React Native Mapbox: https://github.com/rnmapbox/maps
- Mapbox-Gl-Traffic: https://github.com/mapbox/mapbox-gl-traffic
- Mapbox Traffic Data: https://docs.mapbox.com/data/traffic/guides/
The map that I use is RNMapbox module which is a non-official Mapbox Maps SDK for React Native, I’m not using the Mapbox-Gl-Js which is the official Mapbox Maps for React.