Google Maps embed for local business. iframes are heavy. Optimisation matters.
iframe basics
Google Maps Share โ Embed.
Lazy load
loading=\"lazy\". A simple improvement.
Facade pattern
Preview image โ click โ real Maps.
Static map
Google Static Maps API. Image format. Not interactive.
API key
Embed needs none. Advanced features need one.
Markers and info windows
JavaScript API. Branded markers.
Custom styling
Snazzy Maps, Mapbox Studio.
Mobile
Touch friendly. Native app integration.
Privacy and GDPR
Consent for Google tracking.
Alternatives
OpenStreetMap (Leaflet), Mapbox, Apple Maps.
LocalBusiness schema
Geo coordinates.
Contact page
Maps + address + phone + hours.
Get directions
Button โ Google Maps app.
Multi-location
Store locator. Nearest branch.
Mistakes
No lazy load, public API key, too small on mobile, no consent.
Sayt.uz
Lazy load, schema geo, get directions. Bounce 25%.