##########################
In above code i want to handle zoom in and out functionality according to selected origin and destination .user can dynamically select destination lat lng and according to that map can handle zoom in and out to fit source and destination Marker in window area
i go through the document but not able to find way to handle dynamic zoom in zoom out after selecting destination point to fit both marker on window
node --version- v14.18.0
code Base
<GoogleMap id="direction-example" mapContainerStyle={containerStyle} center={{ lat: origin_latitude, lng: origin_longitude }} zoom={12}>
########################## In above code i want to handle zoom in and out functionality according to selected origin and destination .user can dynamically select destination lat lng and according to that map can handle zoom in and out to fit source and destination Marker in window area i go through the document but not able to find way to handle dynamic zoom in zoom out after selecting destination point to fit both marker on window node --version- v14.18.0
react version "17.0.2
webpack version
@babel version
@react-google-maps/api version 2.12.1