MapNetwork
v6.4.0Generate styled PNG/SVG map images of places in Japan with 9 customizable color themes.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
generate_map
Generate a styled map centered on a single place. Example: generate_map(place="Tokyo Station")
| Parameter | Type | Description |
|---|---|---|
place * | string | Place name to center the map on (geocoded server-side). |
name | Optional: display name for the map. If omitted, the server derives one automatically from place. |
generate_markers_map
Generate a map with multiple pinned locations. Example: generate_markers_map(markers=[{"label": "Tokyo Tower", "link": "https://www.tokyotower.co.jp/"}, {"label": "Zojoji Temple"}])
| Parameter | Type | Description |
|---|---|---|
markers * | array | Locations to pin on the map. At least one required. |
name | Optional: display name for the map. If omitted, the server derives one automatically from place/markers. | |
place | Optional: place to center the map on. If omitted, the center is computed automatically from the markers. |
generate_route_map
Compute a walking/driving route between two places and generate a map with it overlaid. Both endpoints are pinned on the map automatically — do not also call generate_markers_map for them. Example: generate_route_map(from="Tokyo Station", to="Tokyo Tower", mode="walking")
| Parameter | Type | Description |
|---|---|---|
from * | string | Route start. Place name to geocode. |
to * | string | Route end. Place name to geocode. |
mode | string | Default 'walking'. |
name | Optional: display name for the map. If omitted, the server derives one automatically from place/route. | |
place | Optional: place to center the map on. If omitted, the center is computed automatically from the route. |
download_map
Check a pending generate_* job and download it once ready. If it's already done, returns the image immediately; otherwise waits internally (checking periodically) before returning — no need to wait between calls yourself. If still not ready when it returns, call it again with the same dataKey. Example: download_map(data_key="20260618aBcDeFgHiJ")
| Parameter | Type | Description |
|---|---|---|
data_key * | string | The dataKey returned by a generate_* call that reported it was still in progress. |
redownload_map
Re-download a prior map in a different drawing style, color theme or format — instant, no regeneration. Example: redownload_map(data_key="20260618aBcDeFgHiJ", drawing_style="ukiyoe")
| Parameter | Type | Description |
|---|---|---|
data_key * | string | The dataKey returned by a previous generate_* call. |
color_set | Color theme — see server instructions for the list. Only set when explicitly requested. | |
drawing_style | Drawing style — see server instructions for the list. Each style has its own default color theme, which is used unless color_set is also given. Only set when explicitly requested. | |
format | string | 'png' (raster) or 'svg' (vector). |