Using PHP, a graphics library and world map data one can do that. But it's actually not that easy. I am currently working on something similar for a sample service on the FSFK product page.
Should even work with ASP, but you need a library that can create png/jpg files on the fly and put them in the HTTP stream. Maybe you can use ASP.net and GDI+ for that.