Anyone know how to get latitude and longitude, from the GridMaterialProperty lines

Basically I want to get the longitude and latitude of the lines that are generated, maybe I don’t explain myself well but I want to get the data of the following lines that are generated inside a polygon:

I’m not sure if there’s a straightforward way do this programmatically, since these grid lines are computed based on a distance in world space, and aren’t necessarily at specific lon/lat intervals. You can see how this grid is computed in the shader here:

So perhaps a solution, depending on what you’re trying to do, would be to use the pick function, to click out a few spots on the grid, figure out the spacing in cartesian space, and programmatically create the rest. Does that work for you?

I think it does not explain me well, but here my question is better explained!topic/cesium-dev/2Mdj3nnJF5s

My answer there would be the same, there isn’t an easy way to do this right now in CesiumJS, but you might be able to capture the gap manually and then compute the positions based on that.