SHP data loading

I read the shp file and generated a mesh,But it seems too small to match the Earth, how should I handle it?

You can attach a CesiumGlobeAnchor to the mesh, which will help it track its position relative to the globe. Then you can change its scale, either on the Transform or on the CesiumGlobeAnchor itself.

1 Like

Hi @liqiang951204,

I’ve been trying in my project to display shp files as well, could you please give me some details on how you managed to do so?

Thanks.
P