Parse a GeoJSON string and return all coordinate pairs as a flat Float64Array — [lng0, lat0, lng1, lat1, …].
Float64Array
[lng0, lat0, lng1, lat1, …]
This is designed for bulk ingestion of large datasets; the flat layout allows direct upload to a GPU vertex buffer with no further processing.
Returns a SpatialErrorDetail if the input is not valid GeoJSON.
SpatialErrorDetail
Parse a GeoJSON string and return all coordinate pairs as a flat
Float64Array—[lng0, lat0, lng1, lat1, …].This is designed for bulk ingestion of large datasets; the flat layout allows direct upload to a GPU vertex buffer with no further processing.
Errors
Returns a
SpatialErrorDetailif the input is not valid GeoJSON.