Map and motion

Map hero

The hero of the map home pages: a full-width property map with a search panel on top, or with a horizontal search bar along the bottom. On phones the panel sits above the map and the bar under it.

Examples

Map hero

2,400+ homes on the map

Explore homes on the map

Click a pin to see the price, photos and details, or search to narrow the map.

  • 2,400+Properties
  • 120Agents
  • 98%Happy clients

The map needs a Google Maps API key in data-map-key; without it the demo map shows. data-map-offset-left keeps pins clear of the panel.

Search bar along the bottom

2,400+ homes on the map

Find your next home on the map

Pan, zoom and click a price pin, then use the search bar to narrow the results.

Add .map-hero--bar. The bar floats above the bottom edge so the Google logo stays visible. data-map-offset-bottom keeps pins clear of it. On phones the bar sits under the map.

Classes and attributes

NamePurpose
.map-heroWrapper.
.map-view.map-view--heroThe property map at hero height (see Property map).
.map-hero-overlayLayer that holds the panel; lets the map take clicks around it.
.map-hero-panelThe white search card. Holds .map-hero-title, .map-hero-lead, .map-hero-form and .map-hero-stats.
.map-hero--bar, .map-hero-panel--intro, .map-hero-barVariation with a short intro on the left and a horizontal search bar along the bottom (.search-card--inline).
data-map-offset-bottom="150"On the map: pixels covered by the bottom bar (wide screens).
data-map-offset-left="470"On the map: pixels covered by the panel (wide screens).