I have been creating maps and am having problems exporting from Google spreadsheets.
I have a .ts file:
import type { YMapLocationRequest, BehaviorType, LngLat } from "@yandex/ymaps3-types";
CONST CORDS = //here will be the cords from google spreadsheets
export const LOCATION: YMapLocationRequest = {
center: [37.623082, 55.75254], // starting position [lng, lat]
zoom: 9, // starting zoom
};
export const INITIAL_LINE_COORDINATES: LngLat[] = [];
I need to export a column from a Google spreadsheet so that the values of each row are separated by a comma and embed them in the row here:
export const INITIAL_LINE_COORDINATES: LngLat[] = [CORDS];