File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1- import { extend } from '../../common/Util ' ;
1+ import { extend } from '../../common' ;
22import { mapgis } from '../common/base' ;
33import { VectorStyle } from './VectorStyle' ;
4- import { LineCap , LineJoin } from './Enum' ;
4+ import { Cap , Join } from './Enum' ;
55import { Shadow } from './Shadow' ;
66import { 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 ;
Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments