It's the 15th anniversary of Google Maps Platform - Check out the latest news and announcements

Overview

The Local Context Library, Maps JavaScript API is a simple and flexible UI widget that shows users key places of interest near a location that you specify. The Local Context Library consists of an interactive map with a side panel containing a place chooser consisting of a gallery of photos. You can filter the list of places based on type, provide walking directions, and customize the visual appearance of the widget.

When the Local Context Library loads, the map is populated with markers for the nearby places, and the place chooser displays a photo for each place. When a user clicks a marker or place photo, the Local Context Library displays more information about the selected place.

The following example shows the basic Local Context Library map with no customization: