visgl / react-google-maps

React components and hooks for the Google Maps JavaScript API
https://visgl.github.io/react-google-maps/
MIT License
1.01k stars 65 forks source link

[Bug] AdvancedMarker className prop should also be applied when using a Pin instead of custom content #374

Closed usefulthink closed 1 month ago

usefulthink commented 1 month ago

Description

The way it is implemented at the moment, the className prop will only be applied to the advMarker.content element when custom html-content is used. It should also get applied when using a Pin component or no child at all.

Steps to Reproduce

n/a

Environment

Logs

No response