lite-googlemaps-embed

Uses Maps Static API to start, loads in the Maps Embed API on interaction.

Test pages:

Notes

Embed API is free to use. Static API costs money, despite being less capable. (Seems weird, but oh well)

The static API doesn't visually match the basemap that is used for Embed API. (not cool) There's a private api for a static image that does and that image is preloaded within the embed iframe, prior to the map tiles. (cool)

Google-internal discussions 🔒: go/lwmrb and go/ieijb




https://github.com/paulirish/lite-googlemaps-embed repo.