I see a few options,
Name the images something unique. Write a script that reads file information. Set that script to delete any files older than 30 seconds, 5 minutes, 2 weeks or whatever interval you want to use.
Name the images with a timestamp. Write a script that would read through the filenames and delete the files based on the time from the filename.
Then if you have access to set up a cron job, set a cron job to run this script every once in a while.
If you don't have acees to set up a cron job, include this script in the page that generates your map. This is how I would do it.
Hope this helps!