--- title: MapPopover description: >- MapPopover provides additional information or context about a specific location or point of interest on a map. api_version: 2025-07 api_name: checkout-ui-extensions source_url: html: >- https://shopify.dev/docs/api/checkout-ui-extensions/2025-07/components/interactive/mappopover md: >- https://shopify.dev/docs/api/checkout-ui-extensions/2025-07/components/interactive/mappopover.md --- # Map​Popover MapPopover provides additional information or context about a specific location or point of interest on a map. ## MapPopoverProps * id string A unique identifier for the component. * onClose () => void Callback to run when the Popover is closed. * onOpen () => void Callback to run when the Popover is opened. ### Examples * #### Basic MapPopover ##### React ```tsx import { reactExtension, Map, MapMarker, MapPopover, } from '@shopify/ui-extensions-react/checkout'; export default reactExtension( 'purchase.checkout.block.render', () => , ); function Extension() { return ( Blue Mountains National Park store } /> ); } ``` ##### JS ```js import { extension, Map, MapMarker, MapPopover, } from '@shopify/ui-extensions/checkout'; export default extension('purchase.checkout.block.render', (root) => { const popoverFragment = root.createFragment(); const popover = root.createComponent( MapPopover, {}, 'Blue Mountains National Park store', ); popoverFragment.appendChild(popover); const map = root.createComponent( Map, { apiKey: 'YOUR_API_KEY', accessibilityLabel: 'Map', latitude: -28.024, longitude: 140.887, zoom: 4, }, [ root.createComponent(MapMarker, { latitude: -28.024, longitude: 140.887, accessibilityLabel: 'Map marker for Innamincka, Australia', overlay: popoverFragment, }), ], ); root.appendChild(map); }); ``` ## Preview ![](https://shopify.dev/images/templated-apis-screenshots/checkout-ui-extensions/2025-07/mappopover-default.png) ## Best Practices * Use to display relevant details such as the name, address, description, or other pertinent information related to the location. * Ensure that the content displayed in the map popover is brief, relevant, and easy to understand. * Maintain visual consistency with the overall design of the checkout. ## Related [Component - Map](map) [Component - MapMarker](mapmarker)