getGeoTypeDefinition

See source code

Look up a geo type definition by name, checking custom types first then falling back to the built-in registry.

function getGeoTypeDefinition(
  name: string,
  customGeoTypes?: Record<string, GeoTypeDefinition>,
): GeoTypeDefinition | undefined;

Parameters

NameDescription

name

string;

customGeoTypes

Record<string, GeoTypeDefinition>;

Returns

GeoTypeDefinition | undefined;
Prev
getFontStyleItems
Next
getHitShapeOnCanvasPointerDown