js2shapefile looks like it should be able to do this, although it may require you to write or use a separate KML parser. See this code for example usage with Google Maps.
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
2 years ago