All of the examples contained in the Google Maps API documentation set are listed below for quick reference.
Basics
- Simple map
- Visual Refresh
- Showing pixel and tile coordinates
- Geolocation
- Localizing the map
- Right-to-left languages
- Asynchronous loading
- Custom map projections
Events
- Simple click event
- Using closures in event listeners
- Accessing arguments in UI events
- Getting properties with event handlers
- Listening to DOM events
Controls
- Disabling the default UI
- Adding controls to the map
- Control options
- Control positioning
- Custom controls
- Adding state to controls
Styles
Overlays
- Circles
- Ground overlays
- Simple icons
- Complex icons
- Info windows
- Info window with
maxWidth
- Marker animations
- Marker animations with
setTimeout()
- Simple markers
- Add an overlay
- Remove an overlay
- Showing/hiding overlays
- Simple polygons
- Polygon arrays
- Polygon auto-completion
- Draggable polygons
- Simple polylines
- Complex polylines
- Animating symbols
- Arrows (symbols)
- Custom symbols
- Dashed lines (symbols)
- Rectangles
- User-editable shapes
Layers
- KML layers
- KML feature details
- Heatmaps
- Fusion Tables layers
- Fusion Tables queries
- Fusion Tables heatmaps
- Fusion Tables styling
- GeoRSS layers
- Traffic layer
- Transit layer
- Weather layer
- Bicycle layer
- Panoramio layer
- Restricting photos by tag (Panoramio layer)
- Panoramio Widget API
MapTypes
- Basic map types
- Overlay map types
- Image map types
- Overlaying an image map type
- 45° imagery
- Rotating 45° imagery
Services
- Geocoding service
- Reverse geocoding
- Region code biasing (ES)
- Region code biasing (US)
- Directions service
- Displaying text directions with
setPanel()
- Directions service (complex)
- Travel modes in directions
- Waypoints in directions
- Draggable directions
- Distance Matrix service
- Elevation service
- Showing elevation along a path
- Street View service
- Street View containers
- Overlays within Street View
- Street View events
- Street View controls
- Directly accessing Street View data
- Custom Street View panoramas
- Custom Street View panorama tiles
- Maximum Zoom imagery service
Libraries
Adsense
Drawing
Geometry
Panoramio
Places
Weather