Skip to content

Commit c2238c1

Browse files
author
zhaokai
committed
Merge branch 'dev' of github.com:MapGIS/WebClient-JavaScript into dev
2 parents 8f4e43c + 5beabc7 commit c2238c1

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/service/base/style/LineStyle.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { extend } from '../../common/Util';
1+
import { extend } from '../../common';
22
import { mapgis } from '../common/base';
33
import { VectorStyle } from './VectorStyle';
4-
import { LineCap, LineJoin } from './Enum';
4+
import { Cap, Join } from './Enum';
55
import { Shadow } from './Shadow';
66
import { Graphic } from './Graphic';
77

@@ -23,8 +23,8 @@ export default class LineStyle extends VectorStyle {
2323
const {
2424
width = 1,
2525
dashArray,
26-
cap = LineCap.butt,
27-
join = LineJoin.miter,
26+
cap = Cap.butt,
27+
join = Join.miter,
2828
shadow,
2929
symbol
3030
} = options;

src/service/base/style/MarkerStyle.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const DefaultMarkerImagePlotting =
1313
* @param {Number} [symbol] 符号样式
1414
* @param {Number} [size] 符号大小
1515
*/
16-
export default class MarkerSymbol extends Symbol {
16+
export default class MarkerStyle extends Symbol {
1717
constructor(option) {
1818
super();
1919
var options = option ? option : {};
@@ -114,5 +114,5 @@ export default class MarkerSymbol extends Symbol {
114114
}
115115
}
116116

117-
export { MarkerSymbol };
118-
mapgis.symbols.MarkerSymbol = MarkerSymbol;
117+
export { MarkerStyle };
118+
mapgis.symbols.MarkerStyle = MarkerStyle;

0 commit comments

Comments
 (0)