Plain Google Map
Uses v3 of the Google Maps API and plain JavaScript to render a map on the page.
What you will need
- Learn the basics of DOM manipulation and about the module pattern.
- Learn the basics of the GoogleMaps API.
Sample Plain Map
This sample implementation is based on the developer documentation.
Include the Libraries
Typically JavaScript libraries should be loaded at the bottom of the page to improve the perceived speed of the site. I usually include them immediately before the closing body tag.
Make sure to include the Google Maps API before your custom code file.