New issue
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
Error while updating property 'coordinates' of a view managed by AIRMapPolyLine #1095
Comments
Please provide more information about the error you are getting, and the current project setup you have |
I am trying to draw path on MAP from one location to another in android. For IOS MapView.Polyline working fine, But for android i am getting this error message : Error while updating property 'coordinates' of a view managed by AIRMapPolyLine. i have following versions in my package.json file "react": "15.4.2", Kindly Help me |
@rajeshkos can you provide a stacktrace? The error message is not very helpful. Also, for RN 0.40+ you will need react-native-maps 0.13+ |
@lelandrichardson Thanks for replying. I want to implement Map in my react native app. For that I have used your plugin and Map work great for bot android and IOS. When i am using <MapView.Polyline /> , I am able to draw path on IOS device/simulator successfully, but for android i have the above issue. Even simple map is also not opening when <MapView.Polyline /> used. Code : <MapView.Polyline Do you have any example of polyline drawing for android app ?? |
@lelandrichardson I have resolved this issue.. Thanks for you help . 👍 |
@rajeshkos Can you please tell how did you resolve this issue? |
Hi @tanmaybhatt , I had defined coords like this before : this.state = { and it was giving error. But when i have change it to empty array it worked : this.state = { Hope this helps you too. |
In my case, the problem was appearing because I was giving it an array intead of an object like this
|
This can also happen if you pass extra data to the Marker. In my case I was passing an object which container latitude, longitude and some other fields. |
You have to pass your coordinates like this: If your coordinates are in a variable named for example myLocation, you have to pass them like this (only one curly bracket): |
Hi,
I am getting this error
Error while updating property 'coordinates' of a view managed by AIRMapPolyLine.
When i am creating path on map. In IOS its working fine but in android i am getting this error.
I have already provide the location permission in AndroidManifest.xml file.
Any help ?
The text was updated successfully, but these errors were encountered: