diff --git a/CHANGELOG.md b/CHANGELOG.md index 674ebe8b4b..561a470dcb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,15 +5,10 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline ## [2.1.5](https://github.com/antvis/L7/compare/v2.1.4...v2.1.5) (2020-03-20) - ### Bug Fixes -* observerable打包问题 ([412e2a8](https://github.com/antvis/L7/commit/412e2a83f78a9a448f0a5b65ccaf2ea97f78b47a)) -* picking ([d6c6694](https://github.com/antvis/L7/commit/d6c66941323fb21e6810e1d72d5b43e40867be71)) - - - - +- observerable 打包问题 ([412e2a8](https://github.com/antvis/L7/commit/412e2a83f78a9a448f0a5b65ccaf2ea97f78b47a)) +- picking ([d6c6694](https://github.com/antvis/L7/commit/d6c66941323fb21e6810e1d72d5b43e40867be71)) ## [2.1.3](https://github.com/antvis/L7/compare/v2.0.36...v2.1.3) (2020-03-17) diff --git a/packages/draw/src/util/theme.ts b/packages/draw/src/util/theme.ts deleted file mode 100644 index 2bbd9f2990..0000000000 --- a/packages/draw/src/util/theme.ts +++ /dev/null @@ -1,71 +0,0 @@ -const FillStyle = { - // 正常显示样式 - normal_fill: { - type: 'PolygonLayer', - shape: 'fill', - color: '#3bb2d0', - style: { - opacity: 0.1, - }, - }, - // xai'm'z - active_fill: { - type: 'PolygonLayer', - shape: 'fill', - color: '#fbb03b', - style: { - opacity: 0.1, - }, - }, -}; -const PointStyle = { - normal_point: { - type: 'PointLayer', - shape: 'circle', - color: '#3bb2d0', - size: 3, - style: { - stroke: '#fff', - strokeWidth: 2, - }, - }, - mid_point: { - type: 'PointLayer', - shape: 'circle', - color: '#fbb03b', - size: 3, - style: {}, - }, - active_point: { - type: 'PointLayer', - shape: 'circle', - color: '#fbb03b', - size: 5, - style: { - stroke: '#fff', - strokeWidth: 2, - }, - }, -}; -const LineStyle = { - normal_line: { - type: 'LineLayer', - shape: 'line', - size: 1, - color: '#3bb2d0', - style: { - opacity: 1, - }, - }, - active_line: { - type: 'LineLayer', - shape: 'line', - color: '#fbb03b', - size: 1, - style: { - opacity: 1, - lineType: 'dash', - dashArray: [2, 2], - }, - }, -};