code: public LayerType toDto(Class<? extends com.vividsolutions.jts.geom.Geometry> geometryClass) {
  		if (geometryClass == LineString.class) {
  			return LayerType.LINESTRING;
  		} else if (geometryClass == MultiLineString.class) {
  			return LayerType.MULTILINESTRING;
  		} else if (geometryClass == Point.class) {
  			return LayerType.POINT;
  		} else if (geometryClass == MultiPoint.class) {
  			return LayerType.MULTIPOINT;
  		} else if (geometryClass == Polygon.class) {
  			return LayerType.POLYGON;
  		} else if (geometryClass == MultiPolygon.class) {
  			return LayerType.MULTIPOLYGON;
  		} else {
  			return LayerType.GEOMETRY;
  		}
  	}
docs: Convert a geometry class to a layer type.
  
  @param geometryClass
  JTS geometry class
  @return Geomajas layer type