-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Android : Error while updating property 'region' of a view managed by : AIRMap #140
Comments
I was having the same issue! Debbuging the component I realized that region needs latitudDelta and longitudDelta. Once you add those props everything will work just fine.. At least that worked for me. |
I had this issue too, and doing what @DennisMG did resolved the issue. |
I'm having the same issue, I added the deltas coordinates but I still get this error:
|
Ok, I figured it out what was my problem in this case: If you use <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> That worked for me |
@ghamaide are you still getting the error? |
Closing this for now, please reopen if that's still an issue |
Mr@lucasfeliciano , already i added in AndroidManifest.xml still getting this getting error. |
In my case, my issue was that the |
Thanks @tenhsor1 that was my issue too! |
you are a life savior !!!!!! @tenhsor1 |
In my case <MapView
...
camera={{
center: {
latitude: parseFloat(latitude),
longitude: parseFloat(longitude),
},
...
}}> |
In my case it was a typo: I used longTitude instead of longitude |
I am creating an app with expo where I require map. I explored and found the mapView component in react-native-maps npm package. I installed it and just added the below code in a new component from their documentation only see. But it is showing the same error:
And I still found this error How to solve this? |
Uma solução que achei foi substituir initialRegion por initialCamera desta forma:
|
The solution I found for this error was to use a previous version of react native maps, using the command expo doctor --fix-dependencies |
Same problem here, but i realized the warning: "Some dependencies are incompatible with the installed expo package version: react-native-maps - expected version: 0.30.2 - actual version installed: 0.31.1"
|
Worked for me, Thanks |
@DevangMstryls Did you find the solution for this issue ? |
@Saichand13 @DevangMstryls guys we are rocking on the same boat, coz I got the same error while using the "map Polyline" if you find any solution then share it. 💯 |
@logan0900 found a temporary fix change googlePlayServicesVersion = "+" to googlePlayServicesVersion = "17.0.0" in android/build.gradle. |
@Saichand13 Android works fine for me, I got an error in IOS. |
Running this command fixed it for me as well! |
I got this error in EXPO SDK 48 v1.3.1 |
While everything works fine on iOS, I get this error when running on Android :
My MapView component :
The text was updated successfully, but these errors were encountered: