gis-common 4.1.3 → 4.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/CanvasDrawer.d.ts +1 -0
- package/dist/gis-common.es.js +459 -325
- package/dist/gis-common.umd.js +1 -1
- package/dist/types.d.ts +53 -0
- package/dist/utils/GeoJsonUtil.d.ts +13 -0
- package/dist/utils/MathUtil.d.ts +18 -0
- package/dist/utils/index.d.ts +2 -1
- package/package.json +1 -1
- /package/dist/utils/{JsonUtil.d.ts → ObjectUtil.d.ts} +0 -0
|
@@ -28,4 +28,5 @@ export default class CanvasDrawer {
|
|
|
28
28
|
* @throws 当Canvas context为null或undefined时抛出错误
|
|
29
29
|
*/
|
|
30
30
|
drawArc({ x, y }: Coordinate, radius: number, startAngle: number, endAngle: number, anticlockwise: boolean, isFill: boolean, bgColor: string): void;
|
|
31
|
+
static createCanvas(width?: number, height?: number): HTMLCanvasElement | undefined;
|
|
31
32
|
}
|