Hi,
i try to union an bunch of LCircle instances.
LCircle circle = new LCircle(Station.values()[0]
.getLat(), Station.values()[0]
.getLon(), 300);
LCircle circle2 = new LCircle(Station.values()[1]
.getLat(), Station.values()[1]
.getLon(), 300);
There is a union-function for Geometry:
Geometry geo = circle.getGeometry().union(circle2.getGeometry());
Collection<LeafletLayer> layers = JTSUtil.toLayers(geo);
for (LeafletLayer leafletLayer : layers) {
map.addComponent(leafletLayer);
}
The Problem is, That LCircle gives his center-point on getGeometry. I couldnt find a way to get the geometry of the drawn circle…Is there a way?
Thank you very much!