static-map
Create PNG map images with customizable markers and routes using the Stadia Maps API. Ideal for visualizing locations, boundaries, or travel paths with precision.
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 |