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
Custom map styles, custom markers and marker pin color not working on Android #2105
Comments
Can you please share what |
Hey,
Still doesn't work. |
Okay. Can you share the code for you MapView component? Also, a new version of react-native-maps was just recently published. Try updating to v0.21.0. (Note that this will require Gradle version 3.0.0 or greater. See here.) |
This is the code for the
Also just realised the following aren't working on Android either:
|
I've also updated to v0.21.0 and Gradle 3.0.1 |
How come your Replace |
Hey, Sorry for the delayed response. Been trying to fix this issue for over a month now. Still nothing. @wbattel4607 I tried what you've suggested. Not working. :/ |
Can you share your MapView component code again, this time with my suggested code included? |
Yup. Here it is:
|
Hmm. Nothing obvious is wrong. Are there any warnings in the debug log? What version(s) of Android have you tried? Try different API levels on the emulator and see if there is any change in behavior. |
Also having this issue, will post my code later this week. |
@gkemp94 could you post your code please. |
@wbattel4607 Have tried many different versions of android and different API levels. Same issue everywhere. It's really hard to figure this out as somethings work on the map and others do not. |
@prathammehta try changing your provider from |
Closing, old issue |
Thanks guys |
Allowed colors for Marker are : red, tomato, orange, yellow, green, gold, wheat, linen, tan, blue, aqua, teal, violet, purple, indigo, turquoise, navy and plum. |
Is this a bug report?
Yes
Have you read the Installation Instructions?
Yes
Environment
react-native: 0.51.0
react: 16.0.0
Steps to Reproduce
Expected Behavior
Actual Behavior
The text was updated successfully, but these errors were encountered: