|
@@ -8,6 +8,7 @@ import Settings from './Settings';
|
|
import { circleService } from './Service/CircleService.js';
|
|
import { circleService } from './Service/CircleService.js';
|
|
import { magnifierService } from './Service/MagnifierService.js';
|
|
import { magnifierService } from './Service/MagnifierService.js';
|
|
import { textService } from './Service/TextService.js';
|
|
import { textService } from './Service/TextService.js';
|
|
|
|
+import { svgService } from './Service/SVGService.js';
|
|
import { mathUtil } from './Util/MathUtil.js';
|
|
import { mathUtil } from './Util/MathUtil.js';
|
|
|
|
|
|
export default class Load {
|
|
export default class Load {
|
|
@@ -61,6 +62,14 @@ export default class Load {
|
|
point.setDisplay(dataLocal.points[key].display);
|
|
point.setDisplay(dataLocal.points[key].display);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ console.error(dataLocal);
|
|
|
|
+ if (dataLocal.svgs) {
|
|
|
|
+ for (let key in dataLocal.svgs) {
|
|
|
|
+ let svg = svgService.create(dataLocal.svgs[key].points, dataLocal.svgs[key].type, dataLocal.svgs[key].vectorId);
|
|
|
|
+
|
|
|
|
+ console.error(svg)
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
|
|
if (dataLocal.lines) {
|
|
if (dataLocal.lines) {
|
|
for (let key in dataLocal.lines) {
|
|
for (let key in dataLocal.lines) {
|