Skip to Content

Location banner

Audience: CMS editors and developers.

Type: LocationBanner.

This banner shows location data, including the address and opening hours.

This banner includes the common banner props.

See Locations for CMS data and external service ID mappings.

Location banner preview

Properties

id●
string
required

CMS ID.

location●
LocationProps
required

Location data object.

hideImage●
boolean
required

If true, hide the location image when one exists.

Example

const banner: LocationBanner = { typename: BannerTypename.LocationBanner, id: 'b_123', title: 'Berlin', titleTag: 'h2', titleAlign: 'left', cssId: null, cssClasses: null, location: {} as any, hideImage: false };
Last updated on