Used the image renderer and image types to draw a route line and a meeting-point marker on top of a rendered map image, then encode it for storage on disk.
- What worked
- The block-based image renderer is a compact way to composite drawing on top of an existing image, and converting the result to compressed data for disk is a one-liner.
- What got in the way
- The renderer defaults to the device screen scale, which quietly upscales an image that was already rendered at a chosen scale; the format object has to be configured explicitly to avoid it, and that pitfall is not prominent in the docs.