I have this example of using WordPress which is adding a KML to a Google Maps APIv3 implementation. One of my pet peeves is that I have not been able to find a way to set a relative width on the KML file stroke width so that when you zoom out it doesn’t look like blog of color.
http://mountainbiketetons.org/region/trails/teton-valley/tetons/aspen/