I drew polylines for different points, as in this image.

CENTER VIEW: - (CIRCLE)
Code for ** MARKER**:
viewIntermediateMarker = ((LayoutInflater) getSystemService(Context.LAYOUT_INFLATER_SERVICE))
.inflate(R.layout.layout_intermediate_marker, null);
middlemarker = map.addMarker(new MarkerOptions()
.position(MIDDLE)
.snippet(String.valueOf(MIDDLE))
.icon(BitmapDescriptorFactory
.fromBitmap(SearchNearByCourseActivity
.createDrawableFromView(mContext,
viewIntermediateMarker))));
Polyline (White color):
poly_TToMid = map.addPolyline(new PolylineOptions()
.add(MIDDLE_MARKER, TEE_POINT).width(3)
.color(Color.WHITE));
Polyline (green color):
poly_MidToFlage = map.addPolyline(new PolylineOptions()
.add(MIDDLE_MARKER, upperSquMidLat).width(3)
.color(Color.GREEN));
But what I want to do with my image 1 in picture 2, that is, I want to delete (crop) the polyline (green and white) inside the center of the circle, as shown in the figure below.

Please suggest some answers on how to do this in android Google map v2 API. Any help appreciated ...
source
share