generate_map
Generate a styled map image for a specified location, with customizable radius, markers, routes, and color themes, then save it to Downloads.
Instructions
Generate a styled map image for a given location and save it to Downloads.
Coverage shape:
Default (no radius, no size): circular 500 m radius
radius=N: circular, N meters
size_ew + size_ns: rectangular bounding box
After generation the dataKey is returned in the text result. Use redownload_map(dataKey=...) to get the same map in a different color or format without waiting for regeneration.
If generation is still running after a short wait, this returns a dataKey and asks you to call check_map_status(dataKey=...) after a delay instead of returning the image directly — do not call generate_map again for the same location in that case, it would just start a redundant duplicate job.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | ||
| lng | No | ||
| name | No | ||
| place | No | ||
| route | No | ||
| config | No | ||
| format | No | png | |
| layers | No | ||
| radius | No | ||
| markers | No | ||
| size_ew | No | ||
| size_ns | No | ||
| color_set | No | ||
| canvas_width | No | ||
| canvas_height | No |