Anand Trivedi
Anand Trivedi

Reputation: 123

Javascript in react

I am a newbie to React. Currently, I'm working on fetching a Google map to my page. I was going through the Samples from the Google Maps platform and stumbled upon this:

https://developers.google.com/maps/documentation/javascript/examples/directions-draggable

I was asking if there is any way to use this code in my React project using only JavaScript, HTML, and CSS to render the map on the browser.

Thank You

Upvotes: 0

Views: 101

Answers (1)

Mahipal
Mahipal

Reputation: 519

You can get the google map api's using npm. npm install --save react-google-maps. For reference, you can check out here

Upvotes: 2

Related Questions