@mocanvas/mocanvas · interface
interface GeoShapeOptions extends ShapeUtilOptions<GeoShape, GeoShapeUtilDisplayValues>GeoShapeUtil's settings.
customGeoTypes is the extension seam described in GeoTypeDefinition:
``ts
const utils = [GeoShapeUtil.configure({ customGeoTypes: { cog } })]
``
A key that matches a built-in silhouette replaces it.
Properties · 1
customGeoTypes?: Readonly<Record<string, GeoTypeDefinition>>Extra (or replacement) geo silhouettes, keyed by the value stored in props.geo.
Mentioned here
mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.