Skip to content

Android: MarkerView and PointAnnotation show bellow RasterLayer? #1423

Answered by ferdicus
James-Firth asked this question in Q&A
Discussion options

You must be logged in to vote

Oh hm, I tried reproducing it and wasn't able to with the example app and through some testing I've managed to get it working in my app too! (confirming on a physical device shortly)

I believe it was because the content within the MapboxGL.MarkerView did not have a width property within its style AND because I was using the icon from import { MaterialIcons } from '@expo/vector-icons'; directly as the child, without a view wrapper, which was causing issues (at least in the emulator, hadn't retried on a physical device yet)

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@James-Firth
Comment options

@ferdicus
Comment options

@James-Firth
Comment options

@ferdicus
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by ferdicus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants