geostyler
Version:
Framework for styling geodata
13 lines (12 loc) • 489 B
TypeScript
import { Style } from 'geostyler-style';
import { default as OlGeomPoint } from 'ol/geom/Point';
import { default as OlGeomLineString } from 'ol/geom/LineString';
import { default as OlGeomPolygon } from 'ol/geom/Polygon';
import { ProjectionLike } from 'ol/proj';
/**
* @class GeometryUtil
*/
declare class GeometryUtil {
static getSampleGeomFromStyle: (style: Style, projection: ProjectionLike) => (OlGeomPoint | OlGeomPolygon | OlGeomLineString)[];
}
export default GeometryUtil;