avoid | directions | no | tolls, ferries, highways | tolls and ferries shape driving routes. highways is not available and says so. Samples: Directions |
|---|
card | place | no | none | Extension, not in Google’s API. card=none hides the place card over the map; without it the card shows. Samples: Map without the place card |
|---|
center | place, search, view | place: no, view: yes | "lat,lng" | Map center. Overrides the marker position as center in place mode. Samples: Place by coordinates, View: a map without a marker, Search |
|---|
colorScheme | place | no | auto, light, dark | Not in Google’s embed. auto (default) follows the visitor’s light or dark setting and switches live; light and dark fix it, for example to match your section. Samples: Dark and light host pages, Map styles, light and dark |
|---|
controls | place, view | no | layers, none | none hides the Layers button. Default layers: the button is shown. Samples: Layers: satellite, relief, 3D and globe |
|---|
daynight | place, view | no | 1 | Shades night and the civil, nautical and astronomical twilight bands, computed in the browser from the visitor’s clock, refreshed every minute. Flat or on the globe. Samples: Globe, day and night |
|---|
destination | directions | yes | "lat,lng" or an address | End of the route, marked with the pin. Samples: Directions |
|---|
key | directions, place, search, view | no | any | Accepted and ignored. There is no API key; drop it when you migrate. Samples: Place by coordinates, Place by address, View: a map without a marker, Search, Place by business name, Directions, Use case: partner profile |
|---|
language | directions, place, view | no | BCP 47 tag, e.g. de, ja, zh-Hant | Label language where the basemap has one, else local names. Default: the browser language. Samples: View: a map without a marker, Directions, Language and region |
|---|
layers | place, view | no | relief, 3d (comma list) | Switched on at start. relief shades the terrain; 3d raises terrain and buildings and tilts the view. Unknown entries are ignored. Samples: Layers: satellite, relief, 3D and globe |
|---|
maptype | place, view | no | roadmap, satellite, hybrid | roadmap is the street map. satellite is aerial imagery (AWS, HERE). hybrid adds street and place labels on top. Directions always use roadmap. Samples: View: a map without a marker, Map type, Globe, day and night, Layers: satellite, relief, 3D and globe |
|---|
mode | directions | no | driving, walking, transit, bicycling, flying | driving (the default) and walking get a route. The others show the stops and a visible notice. Samples: Directions |
|---|
origin | directions | yes | "lat,lng" or an address | Start of the route. An address is resolved by our /geocode, like q in place mode. Samples: Directions |
|---|
overlay | view | no | a layer id, or several as a comma list (up to 5) | Draws each published layer above the street map and below its labels. Unknown ids are ignored with one console warning. Samples: Your own data on the map |
|---|
overlayoff | view | no | layer ids (comma list) | Layers that start switched off. The Layers button writes it when a visitor turns a layer off. Samples: Your own data on the map |
|---|
projection | place, view | no | mercator, globe | globe draws a sphere with an atmosphere up to continent zoom and turns into the flat map from about country zoom (Google zoom 9) on. Default mercator. Samples: Globe, day and night, Layers: satellite, relief, 3D and globe |
|---|
q | place | yes | "lat,lng" or an address | Coordinates are drawn directly. An address is resolved once by our /geocode and cached. Samples: Place by coordinates, Place by address, Place by business name, Missing or invalid locations, Use case: partner profile |
|---|
q | search | yes | free text | Up to 10 places from Amazon Location, as markers and a list in the card. Selecting one shows it in the card. Samples: Search |
|---|
region | place, search, view | no | CLDR region, e.g. jp | Biases geocoding and search to that country, as on Google. Borders do not change with it. Samples: Search, Place by business name, Language and region |
|---|
space | place, view | no | stars, none | A dark star field behind the zoomed-out globe, fading out as you zoom in. On by default with projection=globe; space=none turns it off. Samples: Globe, day and night |
|---|
style | place | no | siemens, minimal, contrast, bold | Not in Google’s embed. siemens (default) is Sand & Petrol by day and Deep Blue by night; minimal is quiet for maps that carry their own data; contrast keeps every label at 7:1 or more; bold is for showcases. Short forms like siemens-dark set the scheme too. Unknown values show siemens. Samples: Map styles, light and dark |
|---|
units | directions | no | metric, imperial | Without it: miles for US, GB, LR and MM (from region or the language), else kilometers. Samples: Directions |
|---|
waypoints | directions | no | places separated by | | Up to 20 stops in between, lettered B, C, ... on the map. Samples: Directions |
|---|
zoom | directions, place, search, view | no | 0 to 21 | Google's zoom scale. Default 15. Out-of-range values are clamped, fractions floored. Samples: Place by coordinates, Place by address, View: a map without a marker, Search, Directions, Zoom levels |