public GeoPrimitive build() {
            return new GeoPrimitive(type, points, holes, icon, radius, style, zLevel);
        }
This constructor is specifically for creating objects with applied default style
main/src/main/java/cgeo/geocaching/models/geoitem/GeoPrimitive.java