@mocanvas/mocanvas · interface

GoogleMapsEmbedConfig

interface GoogleMapsEmbedConfig extends EmbedSettings

Google Maps needs a key to embed anything beyond a basic map, so it is the one built-in with settings worth naming.


Properties · 3

apiKey?: string

Maps Embed API key. Ends up in the iframe url, so it must be a browser-restricted key.

language?: string

Two-letter language for the map's labels.

region?: string

Two-letter region, biasing place names and borders.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.