react-google-maps-api icon indicating copy to clipboard operation
react-google-maps-api copied to clipboard

No custom icon prop for both zoomControlOptions and fullscreenControlOptions

Open MONTYYYYY opened this issue 1 year ago • 1 comments

Allow custom icon for both zoomControlOptions and fullscreenControlOptions . i would like to change the SVGs or images displayed on the both zoom and Fullscreen controls. Currently only position prop is provided.

Screenshot 2023-04-13 at 12 22 03

Your Environment

os: mac/linux/windows/android/ios

node --version : 19

react version : 18

webpack version : 5

@babel version

@react-google-maps/api version : ^2.18.1

How does it behave?

How should it behave correctly?

provide icon props for both zoomControlOptions and fullscreenControlOptions google.maps.MapOptions in order to provide custom icons.

Basic implementation of incorrect behavior in codesandbox.com

MONTYYYYY avatar Apr 13 '23 10:04 MONTYYYYY