UNPKG

geostyler

Version:
44 lines (43 loc) 1.2 kB
import { Style, Filter } from 'geostyler-style'; import { VectorData } from 'geostyler-data'; import { IconLibrary } from '../Component/Symbolizer/IconSelector/IconSelector'; /** * A set of some useful static helper methods. * * @class */ export declare class TestUtil { /** * */ static getDummyGsData: () => VectorData; static getDummyGsIconLibraries: () => IconLibrary[]; static getDummyGsFilter: () => Filter; static getMarkStyle: () => Style; /** * Returns a simple line symbolizer object. * * @returns {Style} */ static getLineStyle: () => Style; /** * Returns a simple polygon style object. * * @returns {Style} The polygon style object */ static getPolygonStyle: () => Style; /** * Returns a simple labeled point style object. * * @returns {Style} The labeled style object */ static getLabeledPointStyle: () => Style; /** * Returns a style object containing two rules. * * @returns {Style} The style object with two rules */ static getTwoRulesStyle: () => Style; static getComplexGsDummyData: () => VectorData; } export default TestUtil;