You can pass Options props in Marker component and put your image src url in icon property. (Not tested but I think it will work for you)
Example
<GoogleMap
defaultZoom={8}
defaultCenter={{ lat: -34.397, lng: 150.644 }}
>
<Marker
options={{ icon: { url: ...., scaledSize: ...., size: .... } }}
position={{ lat: -34.397, lng: 150.644 }}
/>
</GoogleMap>
scaledSize : The size of the entire image after scaling, if any. Use this property to stretch/shrink an image or a sprite.
size : The display size of the sprite or image. When using sprites, you must specify the sprite size. If the size is not provided, it will be set when the image loads.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.