Ideally what I'd like to do is something like this (pseudo-code):
Unforunately the [Google Maps API](http://code.google.com/apis/maps/documentation/reference.html#GGeoXml) doesn't seem to expose the placemarks or any other internals of the KML overlay. Does anyone have any thoughts as to how I might accomplish this? I don't know anything about how the overlays are implemented internally, but it seems like there might be a hack that would let me do this.
I'm also using jQuery FWIW.