To use this, pass the ID of the My Map via the "&msid=" parameter. You can find it in the "&msid=" parameter when you are viewing a map and click "Link to this page". It will turn the markers, paths, and polygons into a static map, using the Static Maps API v2. Keep in mind that many browsers have a max URL length for images, so there is a limit to how many overlays will fit into a static map URL.
You can try these IDs:
You can download the source code and modify it for your own needs.
This code was inspired by a PHP version made by Pamela Fox
If you copy the image URL and paste in your site any changes you made to your Map wouldn't replicate to your site. Now it accepts the following outputs for hot-linking:
The following parameters are now forwarded to the Static Maps API
Parsing msid = 109250181535574469723.0004665074a7b33dd9869