I need to convert a Google Maps polygon object (can has multi paths and holes) to wkt string (multipolygon) at client. Then i'll able to save polygon as geography in Sql Server 2012.
I tried Wicket (https://github.com/arthur-e/Wicket) but it has a bug converting multipolygons.
Is there any ready to use library? Any ideas, please?
Thanks.