The ShapeFactory allows you to create new shapes.
import {createArc, createPoint} from "@luciad/ria/shape/ShapeFactory.js";import {getReference} from "@luciad/ria/reference/ReferenceProvider.js";const ref = getReference("EPSG:4326");const myPoint = createPoint(ref, [52, 5]);const myArc = createArc(ref, createPoint(ref, [52, 5]), 20000, 10000, 0, 90, 180); Copy
import {createArc, createPoint} from "@luciad/ria/shape/ShapeFactory.js";import {getReference} from "@luciad/ria/reference/ReferenceProvider.js";const ref = getReference("EPSG:4326");const myPoint = createPoint(ref, [52, 5]);const myArc = createArc(ref, createPoint(ref, [52, 5]), 20000, 10000, 0, 90, 180);
The ShapeFactory allows you to create new shapes.