I\'m using react-native-maps
but I faced a problem that after a lot of googling without answer makes me ask it here.
I\'m trying to use Custom Marker for the marker
as of Oct 2019, the image can be displayed in the marker as along as the tracksViewChanges is set to true. I use FastImage but the general idea is to set tracksViewChanges to true and then to false as soon as the image is loaded so that there won't be any performance issue.
export const UserMapPin = props => {
const [trackView, setTrackView] = useState(true);
function changeTrackView() {
setTrackView(false);
}
return (
);
};