google map react search place 1

google map react search place

npm install google-map-react

Here is what the above code is Doing:
1. Importing the GoogleMapReact component from the google-map-react package.
2. Creating a Map component that renders a GoogleMapReact component.
3. Passing the center and zoom props to the GoogleMapReact component.
4. Passing the GoogleMapReact component a child component that renders a marker.

Similar Posts