<Marker style={{ zIndex: selected ? 1 : 0 }} .../> did not work for me but <Marker style={{ zIndex: selected ? 1000 : 0 }} .../> did 🎉