code: @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();
  	}
docs: Replies the type of map element which is corresponding to the given GIS class.
  
  @param type the type of element.
  @return the type of map element.
  @throws IllegalArgumentException if the given type is not supported by the I/O API.
  @since 4.0