Loading repository data…
Loading repository data…
KerlosSoNy / repository
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
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.
Clone the repository:
git clone https://github.com/KerlosSoNy/Google-Map.git
Navigate to the project directory:
cd Google-Map
Install dependencies:
npm install
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
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.
This project is licensed under the MIT License. See the LICENSE file for more details.
React
Google Maps JavaScript API