mstahv / v-leaflet

Leaflet add-on for Vaadin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

any reason for JTS LinearRing being mapped to LPolygon instead of LPolyline?

basisbit opened this issue · comments

In JTS the class LinearRing extends LineString, but in v-leaflet any LinearRing will be converted to a Polygon and JTSUtil.toLinearRing only accepts LPolygon. I don't see any reasons why the mapping should be done differently in v-leaflet then it is done in JTS.
Do I miss anything? If no, I'll create a pull request once confirmed by someone else.

created a pull request to resolve this issue: #169