跳到主要内容

ui/build/data-renderer/geolocation/geolocation.utils

ui/build/data-renderer/geolocation/geolocation.utils

Type Aliases

TGeolocationPickerValue

type TGeolocationPickerValue = typeof geolocationPickerValueSchema.Type;

Defined in: apps/website/.api-docs-entry/ui/build/data-renderer/geolocation/geolocation.utils.d.ts:12

Functions

parseGeolocationPickerValues()

function parseGeolocationPickerValues(value, multiple):
  | {
  formatted_address: string;
  geometry:   | {
     lat: number;
     lon: number;
   }
     | null;
  srid: number;
  type: "Point";
}
  | object[]
  | null;

Defined in: apps/website/.api-docs-entry/ui/build/data-renderer/geolocation/geolocation.utils.d.ts:13

Parameters

Parameter Type
value unknown
multiple boolean

Returns

| { formatted_address: string; geometry: | { lat: number; lon: number; } | null; srid: number; type: "Point"; } | object[] | null