Skip to content
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

TypeError: geolib.wktToPolygon is not a function #221

Closed
jdang67 opened this issue Nov 15, 2019 · 2 comments
Closed

TypeError: geolib.wktToPolygon is not a function #221

jdang67 opened this issue Nov 15, 2019 · 2 comments
Labels

Comments

@jdang67
Copy link

jdang67 commented Nov 15, 2019

Hi,

I just downloaded the latest version of geolib and try to convert a WKT text and got this exception:

  const points = geolib.wktToPolygon('POLYGON ((30 10.54321, 40 40, 20 40, 10 20, 30 10))');

and got : TypeError: geolib.wktToPolygon is not a function

thanks,

Jdang

@manuelbieh
Copy link
Owner

Indeed. The export was missing. This is fixed in the next release

manuelbieh pushed a commit that referenced this issue May 24, 2020
### [3.3.1](v3.3.0...v3.3.1) (2020-05-24)

### 🔧 Fixes

* add missing wktToPolygon export to UMD build. fixes [#221](#221) ([e76848b](e76848b))
@manuelbieh
Copy link
Owner

🎉 This issue has been resolved in version 3.3.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants