Skip to content

JohnBinning/react-google-maps-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-google-maps-docs

documentation for react-google-maps

Please feel free to submit a pull request if you have other code examples or if you see any errors.

Setup

You may have to put your Google Maps script tag in the head of your HTML. This allows Google to load to the window before the HTML renders. Loading a script tag in the head is unconventional, and it is not required when not using React. If you get your app to work without doing this, please feel free to make a PR with a code example.

<!DOCTYPE html>
<html>
  <head>
    <script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY_HERE&libraries=visualization,places"></script>
  </head>
  <body>
    <div id='main'></div>

    <script src='bundle.js'></script>
  </body>
</html>

About

Documentation and code examples for react-google-maps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors