PHP code is available to stitch-together map images from existing tileservers into an PNG/JPEG image (for use by things like mediawiki plugins): http://dev.openstreetmap.org/~ojw/GetMap/ maybe could add some drawing code to that, e.g. to plot locations, add icons?