private static GeoGroup testIconWithPoly(final Geopoint point, final int polyColor, final float xAnchor, final float yAnchor, final float angle) {


        final GeoItem poly = polygonAround(point, 20, polyColor);
        final GeoItem marker = GeoPrimitive.createMarker(point,
                GeoIcon.builder()
                        .setXAnchor(xAnchor)
                        .setYAnchor(yAnchor)
                        .setRotation(angle)
                        .setBitmap(createBitmap(R.drawable.cgeo_borderless)).build());

        return GeoGroup.builder().addItems(poly, marker).build();

    }
This is a test layer to experiment with unified geoitem layers. It is only activated with a specific developer setting
main/src/main/java/cgeo/geocaching/unifiedmap/geoitemlayer/GeoItemTestLayer.java