-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with fromObject() method #45
Comments
Thanks for the report. |
Google Maps API |
Similar problem with fromObject I have with another google maps API object: WKT: POLYGON((17.0675611822 52.1830252232,17.0675611822 52.1830201502,17.0675397783 52.1830201502,17.0675611822 52.1830252232,17.0675611822 52.1830415449,17.0675779096 52.183029083,17.0675611822 52.1830252232),(17.0758867458 52.1766257447,17.0758009505 52.1765399327,17.075736559 52.1765613305,17.075371794 52.176840274,17.0752430111 52.1769691014,17.0747998252 52.1773014259,17.0745562888 52.1774840765,17.0729992026 52.1787212496,17.0729900296 52.1787285289,17.072453494 52.1791577869,17.0723247111 52.1792649904,17.0722819034 52.1793078938,17.0712439059 52.1801626446,17.0711874285 52.1802091867,17.0709084588 52.180445205,17.0708442472 52.1805525158,17.0706080852 52.180659716,17.0702005125 52.1809601398,17.0697283684 52.1813463646,17.0694350096 52.1815786272,17.0692134166 52.1817540916,17.0690202423 52.181947201,17.0687628563 52.1821189143,17.0681191216 52.1826338297,17.0680547301 52.1826768401,17.0676252139 52.1829942338,17.0675779096 52.183029083,17.0678201869 52.1830860989,17.0679045433 52.1831059497,17.0680117425 52.1831488494,17.0682693084 52.1832346487,17.0683551037 52.1832776585,17.0685052905 52.1833205581,17.0685266943 52.1833205581,17.0690117886 52.1835042867,17.0699429467 52.1838569642,17.0702219163 52.1839427621,17.0703291155 52.1838354596,17.0710372417 52.1832990532,17.0713162114 52.18306305,17.0716595725 52.1828270455,17.0716809764 52.1828055403,17.071723964 52.1827626403,17.0717667717 52.1827411351,17.0717883555 52.1827197402,17.0718126372 52.1826994482,17.0719171384 52.1826124347,17.0725822769 52.1820974088,17.072818259 52.1819043001,17.0731186326 52.1816682895,17.0731402163 52.1816682895,17.0732044279 52.1816038826,17.0736184758 52.181281847,17.0739769456 52.1810030416,17.0748782461 52.1802734853,17.0751786196 52.1800803686,17.0754396029 52.17987159,17.0757149753 52.1796512299,17.0758009505 52.1795869304,17.076101324 52.179372304,17.076594872 52.1789646654,17.0769382331 52.1787071321,17.0772431033 52.1784531266,17.077324402 52.178385296,17.0775603841 52.1782135683,17.0777321546 52.1780633473,17.078053932 52.1777844115,17.078182715 52.1776986017,17.078182715 52.1776772044,17.0782041188 52.1776556967,17.0782685103 52.1776127917,17.0782685103 52.1775912841,17.0782899141 52.1775912841,17.0782471064 52.1775698867,17.078053932 52.1774840765,17.0776461794 52.1773338531,17.0775819678 52.1773123453,17.0774959927 52.1772694399,17.0769957897 52.1771394001,17.0764231015 52.1769904991,17.0761441318 52.1768188763,17.076101324 52.1767759705,17.0759081497 52.1766471425,17.0758867458 52.1766257447)) fromObject: MULTIPOLYGON(((),(),(),(),(),(),()),((),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),())) |
Yes, the Google Maps API makes it very difficult to distinguish polygons in a collection (MULTIPOLYGON) from inner rings that are holes (POLYGON or MULTIPOLYGON with holes). See Issue #33. The Leaflet and ESRI ArcGIS extensions do not have this problem. There is no known solution at this time. |
Hi,
I have a problem with fromObject method.
My WKT:
I'm calling fromObject method:
wkddata returns on my object Polygon but with undefined on the end:
I'm stuck on this, any help will be appreciated!
The text was updated successfully, but these errors were encountered: