claude.betancourt.us  |  home

Google Map Sample

This demo shows how to use the Google Maps API. See alternate Ext.ux.GMapPanel sample here.

Plain Google Map

Uses v3 of the Google Maps API and plain JavaScript to render a map on the page.

What you will need

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.

Custom Code