GoogleMapsEmbed
An @next/third-parties component that embeds a Google Map and lazy-loads its iframe by default.
In more detail
It needs a Maps Embed API key restricted to your domain. Loading the map iframe only when it scrolls into view saves bandwidth.
Related terms
- @next/third-parties — A Next.js package of ready-made, performance-tuned components for popular third-party services.
- iframe — An HTML element that shows another web page inside a box on the current page, such as a video or map.
Taught in
- Script Optimization: next/script & Lazy Third Parties — Next.js 15 & Modern App Router Architecture