Import fix
This commit is contained in:
parent
0e7f5f4739
commit
b4ebab5d54
@ -1,14 +1,14 @@
|
||||
const canvas = document.getElementById("canvas");
|
||||
// Compute arrow polygon
|
||||
import { getArrowPolygon } from "athena-utils/Arrow.js";
|
||||
import { CalculationStyle } from "athena-utils/Arrow.js";
|
||||
import { getCirclePolygon } from "athena-utils/BasicShapes.js";
|
||||
import { getRectanglePolygon } from "athena-utils/BasicShapes.js";
|
||||
import { getArrowPolygon } from "athena-utils/shape/Arrow.js";
|
||||
import { CalculationStyle } from "athena-utils/shape/Arrow.js";
|
||||
import { getCirclePolygon } from "athena-utils/shape/BasicShapes.js";
|
||||
import { getRectanglePolygon } from "athena-utils/shape/BasicShapes.js";
|
||||
// Polygon merge using Turf library
|
||||
import {mergeTurfPolygons} from "athena-utils/Polygon.js";
|
||||
import {addTurfPolygonToMerge} from "athena-utils/Polygon.js";
|
||||
import {toTurfPolygon} from "athena-utils/Polygon.js";
|
||||
import {drawPolygon} from "athena-utils/PolygonVisuals.js";
|
||||
import {mergeTurfPolygons} from "athena-utils/shape/Polygon.js";
|
||||
import {addTurfPolygonToMerge} from "athena-utils/shape/Polygon.js";
|
||||
import {toTurfPolygon} from "athena-utils/shape/Polygon.js";
|
||||
import {drawPolygon} from "athena-utils/shape/PolygonVisuals.js";
|
||||
|
||||
const circleCenter = {x:320, y:180};
|
||||
const circleRadius = 70;
|
||||
|
||||
2
package-lock.json
generated
2
package-lock.json
generated
@ -2718,7 +2718,7 @@
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/athena-utils": {
|
||||
"resolved": "git+https://git.projectathena.ca/andyaxxe/athena-utils.git#7f60a2dac4990ff675ca659b1d9dd97dc2074149",
|
||||
"resolved": "git+https://git.projectathena.ca/andyaxxe/athena-utils.git#1fc49c63a2",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@turf/turf": "7.2.0"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user