In iOS when the icon is pressed the “event.nativeEvent.payload” returned has the original FeatureCollection id, but in Android it does not.
Android:
{properties: {…}, geometry: {…}, type: "Feature"}
iOS:
{id: "123456", properties: {…}, type: "Feature", geometry: {…}}
Attached is a sample of the type of GeoJSON file used.
Versions
React Native: 0.54.4
@mapbox/react-native-mapbox-gl: 6.1.1
I fixed the issue with commit https://github.com/mapbox/react-native-mapbox-gl/pull/1200/commits/71be12a84cb77f486ee04575cced6ef291761ad1 this is on branch release/6.1.2, will post back here once we publish a beta for testing
Most helpful comment
I fixed the issue with commit https://github.com/mapbox/react-native-mapbox-gl/pull/1200/commits/71be12a84cb77f486ee04575cced6ef291761ad1 this is on branch
release/6.1.2, will post back here once we publish a beta for testing