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

can the lib support the polygon with holes? #4

Open
dyh333 opened this issue Dec 31, 2016 · 1 comment
Open

can the lib support the polygon with holes? #4

dyh333 opened this issue Dec 31, 2016 · 1 comment

Comments

@dyh333
Copy link

dyh333 commented Dec 31, 2016

hi, @maptime-ams. as the title, thanks.

@bertspaan
Copy link
Member

Yes, it can; but currently, it doesn't. Only polygons with a single LinearRing are supported, see line 63 of js/geo.js. However, it should be easy to add support for other GeoJSON geometry types (like LineStrings, MultiPolygons, and Polygons with holes).

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

No branches or pull requests

2 participants