An open API service indexing awesome lists of open source software.

https://github.com/kerlossony/google-map

it`s a hand made code for google maps component in React typescrip you only need to download it and put the component in a div
https://github.com/kerlossony/google-map

functions google google-maps-api react reactjs typescript

Last synced: about 1 month ago
JSON representation

it`s a hand made code for google maps component in React typescrip you only need to download it and put the component in a div

Awesome Lists containing this project

README

          

# Google Map Project

This project is a simple implementation of Google Maps using React. It allows users to interact with the map, search for locations, and add custom markers.

## Features

- Displays an interactive Google Map.
- Allows users to search for specific locations.
- Supports adding custom markers to the map.

## Installation

1. Clone the repository:

```bash
git clone https://github.com/KerlosSoNy/Google-Map.git
```

2. Navigate to the project directory:

```bash
cd Google-Map
```
3. Install dependencies:

```bash
npm install
```

4. Obtain a Google Maps API Key:

Visit the Google Cloud Console.
Create a new project or use an existing one.
Enable the Google Maps JavaScript API.
Generate an API key.
Add the API Key to your project:

Create a .env file in the root directory.

Add the following line:
REACT_APP_GOOGLE_MAPS_API_KEY=your_api_key_here

Run the project:
npm start

## **Contributing**

If you'd like to contribute to this project, please follow these steps:

1-Fork the repository.

2-Create a new branch with your feature or bugfix.

3-Make your changes and commit them.

4-Push to your branch.

5-Create a pull request.

## **License**

This project is licensed under the MIT License. See the LICENSE file for more details.

## **Acknowledgments**

React

Google Maps JavaScript API