| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,7 +1,7 @@ | |||
| 1 | - import { extend } from '../../common/Util'; | ||
| 1 | + import { extend } from '../../common'; | ||
| 2 | 2 | import { mapgis } from '../common/base'; | |
| 3 | 3 | import { VectorStyle } from './VectorStyle'; | |
| 4 | - import { LineCap, LineJoin } from './Enum'; | ||
| 4 | + import { Cap, Join } from './Enum'; | ||
| 5 | 5 | import { Shadow } from './Shadow'; | |
| 6 | 6 | import { Graphic } from './Graphic'; | |
| 7 | 7 | ||
@@ -23,8 +23,8 @@ export default class LineStyle extends VectorStyle { | |||
| 23 | 23 | const { | |
| 24 | 24 | width = 1, | |
| 25 | 25 | dashArray, | |
| 26 | - cap = LineCap.butt, | ||
| 27 | - join = LineJoin.miter, | ||
| 26 | + cap = Cap.butt, | ||
| 27 | + join = Join.miter, | ||
| 28 | 28 | shadow, | |
| 29 | 29 | symbol | |
| 30 | 30 | } = options; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,7 +13,7 @@ const DefaultMarkerImagePlotting = | |||
| 13 | 13 | * @param {Number} [symbol] 符号样式 | |
| 14 | 14 | * @param {Number} [size] 符号大小 | |
| 15 | 15 | */ | |
| 16 | - export default class MarkerSymbol extends Symbol { | ||
| 16 | + export default class MarkerStyle extends Symbol { | ||
| 17 | 17 | constructor(option) { | |
| 18 | 18 | super(); | |
| 19 | 19 | var options = option ? option : {}; | |
@@ -114,5 +114,5 @@ export default class MarkerSymbol extends Symbol { | |||
| 114 | 114 | } | |
| 115 | 115 | } | |
| 116 | 116 | ||
| 117 | - export { MarkerSymbol }; | ||
| 118 | - mapgis.symbols.MarkerSymbol = MarkerSymbol; | ||
| 117 | + export { MarkerStyle }; | ||
| 118 | + mapgis.symbols.MarkerStyle = MarkerStyle; | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments