static-map
Generate PNG map images with customizable markers, routes, and styles using Stadia Maps Location API MCP Server. Ideal for visualizing locations, boundaries, or paths in static map formats.
Instructions
Generate a PNG map image of an area, optionally including markers and a line (e.g. to draw a route or a boundary)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
encodedPolyline | No | The encoded polyline representing the route (precision 6). Optional, but either markers or a polyline must be specified. | |
markers | No | Markers to add to the map. Optional, but either markers or a polyline must be specified. | |
strokeColor | No | Optional color for the polyline (hex code or CSS color name; e.g. FFFFFF or blue). | |
strokeWidth | No | Optional width for the route line in pixels. | |
style | No | The Stadia Maps style slug to use. | outdoors |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"encodedPolyline": {
"description": "The encoded polyline representing the route (precision 6). Optional, but either markers or a polyline must be specified.",
"type": "string"
},
"markers": {
"description": "Markers to add to the map. Optional, but either markers or a polyline must be specified.",
"items": {
"additionalProperties": false,
"properties": {
"color": {
"description": "Optional color for the marker (hex code or CSS color name; no quoting and no # prefix).",
"type": "string"
},
"label": {
"description": "Optional label for the marker. This must be either a single character or supported emoji (most emoji work).",
"type": "string"
},
"lat": {
"description": "The latitude of the point.",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"lon": {
"description": "The longitude of the point.",
"maximum": 180,
"minimum": -180,
"type": "number"
},
"markerStyle": {
"description": "Optional custom marker style or URL to a custom marker image.",
"type": "string"
}
},
"required": [
"lat",
"lon"
],
"type": "object"
},
"type": "array"
},
"strokeColor": {
"description": "Optional color for the polyline (hex code or CSS color name; e.g. FFFFFF or blue).",
"type": "string"
},
"strokeWidth": {
"description": "Optional width for the route line in pixels.",
"type": "number"
},
"style": {
"default": "outdoors",
"description": "The Stadia Maps style slug to use.",
"enum": [
"outdoors",
"alidade_smooth",
"alidade_smooth_dark"
],
"type": "string"
}
},
"type": "object"
}