How do you pass in array of points to a spline mesh component

I tried,


let MapOriginXUE = 0
let MapOriginYUE = 0
let Scale = 100
let MapSizeUE = this.unrealLandscape.value

//Offset XY
let XOffset = MapOriginXUE + (((MapSizeUE - 1) * Scale) / 2)
let YOffset = MapOriginYUE + (((MapSizeUE - 1) * Scale) / 2)

//Real world range XY
let MapRangeX = this.tile_info.bottomRight.lng - this.tile_info.bottomLeft.lng
let MapRangeY = this.tile_info.topLeft.lat - this.tile_info.bottomLeft.lat

//  Lat/Lng Center of Bounding Box
let MapXm = this.tile_info.center.lat
let MapYm = this.tile_info.center.lng

//Middle of Landscape plane
let Xm = (((MapSizeUE - 1) * Scale) / MapRangeX) * MapXm - XOffset
let Ym = (((MapSizeUE - 1) * Scale) / MapRangeY) * MapYm + YOffset

//Points to translate
let Lat = this.tile_info.pointLat
let Long = this.tile_info.pointLng

//Lng/Lat Points converted to UE XY
let Xnew = (((MapSizeUE - 1) * Scale) / MapRangeX) * (Long - Xm)
let Ynew = (((MapSizeUE - 1) * Scale) / MapRangeY) * (Lat - Ym) * -1
this.tile_info.UEx = Xnew
this.tile_info.UEy = Ynew

Box is approx. location that point should be at.