Rename
Overlay an image, not just a rectangle.
Port most of the old Perl KML overlay generation code to JavaScript.

Get it working with two points as a start.