docs: @Pure
  	public static ShapeElementType toESRI(Class<? extends MapElement> type) {
  		if (MapPolyline.class.isAssignableFrom(type)) {
  			return ShapeElementType.POLYLINE;
  		}
  		if (MapPolygon.class.isAssignableFrom(type)) {
  			return ShapeElementType.POLYGON;
  		}
  		if (MapMultiPoint.class.isAssignableFrom(type)) {
  			return ShapeElementType.MULTIPOINT;
  		}
  		if (MapPoint.class.isAssignableFrom(type)) {
  			return ShapeElementType.POINT;
  		}
  		throw new IllegalArgumentException();
  	}