Finished refactor. Supports output to Google Maps of all WKT basic types.