for react 18+ you have to import MarkerF
instead of Marker and use in it as a tag(of course)
import {MarkerF} from '@react-google-maps/api'
Source
for react 18+ you have to import MarkerF
instead of Marker and use in it as a tag(of course)
import {MarkerF} from '@react-google-maps/api'
Source