We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I think there is a bug:
First I got this issue react-native-maps/react-native-maps#2507
Then I fixed it by the PR: react-native-maps/react-native-maps#2555
But I got the following error:
The specified child already has a parent. You must call removeView() on the child's parent first. addViewInner ViewGroup.java:4309 addView ViewGroup.java:4145 addView ReactViewGroup.java:432 addView ViewGroup.java:4086 addView ViewGroup.java:4059 addFeature AirMapView.java:546 addView AirMapManager.java:400 addView AirMapManager.java:29 manageChildren NativeViewHierarchyManager.java:437 execute UIViewOperationQueue.java:227 run UIViewOperationQueue.java:894 flushPendingBatches UIViewOperationQueue.java:1001 access$2400 UIViewOperationQueue.java:46 doFrameGuarded UIViewOperationQueue.java:1061 doFrame GuardedFrameCallback.java:29 doFrame ReactChoreographer.java:134 doFrame ChoreographerCompat.java:105 run Choreographer.java:856 doCallbacks Choreographer.java:670 doFrame Choreographer.java:603 run Choreographer.java:844 handleCallback Handler.java:739 dispatchMessage Handler.java:95 loop Looper.java:148 main ActivityThread.java:5417 invoke Method.java run ZygoteInit.java:726 main ZygoteInit.java:616
Any ideas? Thanks a lot!
The text was updated successfully, but these errors were encountered:
Hi. I found out this problem when run the app on Android, the iOS project works well. In my case solution was changing key from object_id to indexer.
<MapView ... > { _.map(clusterData, (item, index) => ( <Marker coordinate={{longitude: item.coordinates[0], latitude: item.coordinates[1]}} onPress={() => this._markerPresed(item)} key={index} /> ) ); } </MapView>
There was key={item.id} I don't know why, but key={index} works well.
Sorry, something went wrong.
No branches or pull requests
Hi,
I think there is a bug:
First I got this issue react-native-maps/react-native-maps#2507
Then I fixed it by the PR: react-native-maps/react-native-maps#2555
But I got the following error:
Any ideas? Thanks a lot!
The text was updated successfully, but these errors were encountered: