when i add "PolygonDrawable " to the VectorLayer Polygon holes cannot be drawn,Is there a way to solve this problem?,Is my style wrong? VectorLayer vectorLayer = new VectorLayer(mMap); Polygon shell =(Polygon) new GeomBuilder() .point(0, 0) .point() .buffer(20) .get(); Polygon hole = (Polygon)new GeomBuilder() .point(0, 0) .point() .buffer(10) .get(); Polygon polygon=new GeometryFactory().createPolygon((LinearRing) shell.getExteriorRing(), new LinearRing[]{(LinearRing)hole.getExteriorRing()}); vectorLayer.add(new PolygonDrawable(polygon, defaultStyle()));
when i add "PolygonDrawable " to the VectorLayer
Polygon holes cannot be drawn,Is there a way to solve this problem?,Is my style wrong?
VectorLayer vectorLayer = new VectorLayer(mMap);
Polygon shell =(Polygon) new GeomBuilder()
.point(0, 0)
.point()
.buffer(20)
.get();