Skip to content
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

blank map using router-flux #2395

Closed
pedrogoiania opened this issue Sep 18, 2017 · 4 comments
Closed

blank map using router-flux #2395

pedrogoiania opened this issue Sep 18, 2017 · 4 comments

Comments

@pedrogoiania
Copy link

pedrogoiania commented Sep 18, 2017

Version

Tell us which versions you are using:

  • react-native-router-flux v4.0.0-beta.21 (v3 is not supported)
  • react-native v0.48.2

hello,
I have the following issue
react-native-maps/react-native-maps#1653

When I use the Direct MapView component, the map is rendered. But when I use the component in conjunction with the router-flux library I have a blank map.
Only one red line appears on the side of the screen

package.json

"dependencies": { "react": "16.0.0-alpha.12", "react-native": "0.48.2", "react-native-keyboard-aware-scroll-view": "^0.3.0", "react-native-maps": "^0.16.3", "react-native-router-flux": "^4.0.0-beta.21" }

git project
https://gitlab.com/projetosReactNative/enjoyBR

screenshot_1505712370

@hungdev
Copy link

hungdev commented Sep 18, 2017

i dont think cause router flux. you should set height and width for style Mapview.

@pedrogoiania
Copy link
Author

Thanks for the answer @hungdev :D

I have made all the settings that the react-native-maps library shows in the documentation and even then the screen is still blank. I tested in a separate project just the map and it worked ok.

captura de tela 2017-09-18 as 08 46 07

@hungdev
Copy link

hungdev commented Sep 19, 2017

you are resolved. i think you should close the issue.

@pedrogoiania
Copy link
Author

@hungdev I was able to solve using the command react-native link react-native-maps. The problem was not connected to the RNRF library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants