Draw cartographic polygon in runtime

Hello,
I have a list of cartographic positions (long/lat/alt) and I want to draw a cartographic polygon in runtime, is there a way to do it in blueprint or should i do it in c++ ?

Thanks !

I think you should be able to get the Polygon (which is a USplineComponent`) from Blueprints and modify it. Try it and let us know how it goes!

that’s what i did and i got a crash saying access violation. Before digging any deeper into that, is it possible to define an extruded height within the polygon ?

also, is it any different if I used just a spline instead of the spline of cartographic polygon ?

that’s what i did and i got a crash saying access violation.

That’s strange. If you believe the access violation is a result of something Cesium for Unreal is doing wrong, please share the call stack and instructions for reproducing the crash.

Before digging any deeper into that, is it possible to define an extruded height within the polygon ?

No, it’s not currently possible to specify heights for the polygon.

also, is it any different if I used just a spline instead of the spline of cartographic polygon ?

I’m not quite sure what you’re asking here.