* Adds a performance penalty over straight Mapbox-GL.
* No support for animations / flyovers / etc.
* You have to give width/height in pixels for map size.
* Can't introspect map to get layer / point data w/o hacks.
These issues were big enough that I just recently removed this library on a new project in favor of straightforward Mapbox GL JS. The inability to use percentages for height/width is a major drawback. No sense in adding size to the bundle for fewer options.
I have long standing hate-on for the TTC's inefficiency... buses that more-often-than-not travel in clusters where the first one is half full, the remaining ones are empty. The TTC constantly raises fares but does little to utilize technology to make themselves more efficient!
EDIT: Completely misread this as ReactNative instead of React for some reason. Ignore all of the below.
---
This is being released on the back of the "official" Mapbox GL React Native library[0] just having new resources[1] committed to it after having been neglected for 1.5 years[2].
I haven't looked into it at all yet, but I wonder was it borne out of frustration (commits seems to have started shortly after the last MBRNGL release), and what the Mapbox guys' perspective on it in terms of differentiating the libraries.
We expanded our team and are working on improvements to React Native SDK, which was initially a side project from one of our engineers. We’re excited to support the library and get it to feature parity with our native iOS, Android, and Qt SDKs.
Disclaimer: I work with the mobile team at Mapbox.
I contacted Mapbox about their React Native library and they said it's defunct and they won't be supporting it. Been using AirBnBs mapping library for RN. It does the job but def has some rough edges.
Any backstory on why they switched back? Having tried using Google Maps and Earth APIs, they are as opaque and impossible to extend as closed source API/library get.
That's a good library but I had a hard time getting it to work with server side rendering. Ended up having do to a dynamic import with Next.js 3 beta just to get the page to work. This problem affects most mapping libs, not sure if Uber's is any different.
Somewhat related, anyone have a good list of drop-in React components organized in categories? I'm thinking of something like iOS Cookies for React Components.
Just as a heads up for people supporting Safari and all iOS users, there's some sort of a leak in Safari which causes Mapbox-gl type apps to crash with the famous "A problem occurred with this webpage so it was reloaded" problem on iOS