Profile
ProfileMap
Embedded Google Maps iframe card for the restaurant's address.
Profile
Profile components build the restaurant detail pages.
Components
<XRdProfileMap />
Embedded Google Maps iframe card using the Google Maps Embed API. Constructs the query from location.address, location.city, and location.state.
<XRdProfileMap :restaurant="restaurant" />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
restaurant | Restaurant | required | Restaurant with location.address, location.city, location.state |
Note: Requires a valid Google Maps API key configured in the embed URL.
AI Context
category: Profile
package: "@xenterprises/nuxt-x-restaurants"
components:
- XRdProfileMap
use-when: >
Embedding a Google Maps iframe showing the restaurant location on a
profile page. Requires a valid Google Maps API key.
typical-page-section: Map section on the restaurant profile page.
