Business Map Image
Changed onOne place — or up to ten — drawn by Google, fetched by us; no key in the browser.
lat/lng centre the picture on one place with one marker, at zoom (16 unless asked). pin=lat,lng (repeated) puts lettered markers on it, A first; with pins and no centre Google fits the frame to them and zoom is only honoured when given. One of the two is required.
The Maps JavaScript API needs a key IN THE PAGE, which is why /v1/maps/browser-key exists and why it refuses to answer in production: our server key is unrestricted and that route is public, so serving it would publish the project. Minting a referrer-restricted browser key is a job in the Google console, not a code change, and until somebody does it a client-rendered map cannot draw on a deployed build.
This route needs none of that. It is authenticated, it renders server-side, and the key stays in the process — so the "is this your shop?" map works in production today. It is a picture, not a map you can drag; for a confirmation that is the right trade, and an interactive map can arrive later behind a proper browser key without this changing.
Request
- Base URL: https://api.stormy.ai (the document declares no server; this is the origin it was published from)
- URL: https://api.stormy.ai/v1/teams/{team_id}/geo/map.png
- Auth: none declared
Path parameters
Query parameters
Headers
Response
Successful Response
Changes
- breaking
for the
queryrequest parameterzoom, default value16was removed - info
added the new optional
queryrequest parameterpin - info
the
queryrequest parameterlatbecame optional - info
the
queryrequest parameterlngbecame optional - info
queryrequest parameterlatlist-of-types was widened by adding typesnull - info
queryrequest parameterlnglist-of-types was widened by adding typesnull - info
queryrequest parameterzoomlist-of-types was widened by adding typesnull - info
for the
queryrequest parameterlat, the type was generalized fromnumberto no type - info
for the
queryrequest parameterlng, the type was generalized fromnumberto no type - info
for the
queryrequest parameterzoom, the type was generalized fromintegerto no type
- breaking