UNPKG

51timapi

Version:

TimApi is a traffic related plugin for WdpApi.

22 lines (21 loc) 912 B
import { Basic } from '../common/basic'; import { ResultType } from '../common/data-type'; import PointController from './geometry/point-controller'; import PolylineController from './geometry/polyline-controller'; import Polygon2DController from './geometry/polygon2d-controller'; declare class GeometryController extends Basic { private apiClassName; private RequestEntity; Point: PointController; Polyline: PolylineController; Polygon2D: Polygon2DController; constructor(obj: any); EnableDraw(): Promise<ResultType>; DisableDraw(): Promise<ResultType>; ClearByTypes(types: Array<string>): Promise<ResultType>; Clear(): Promise<ResultType>; ClearCache(): Promise<ResultType>; CreateGeometryFromGeoJson(url: string): Promise<ResultType>; CreateGeometryFromShapefile(url: string): Promise<ResultType>; } export default GeometryController;