How to get or calculate the geographic position value from a given Cesium3DTileFeature object?

Hi,

while using the "3D-Tiles" branch I came across a problem on How to retrieve the geographic position value (latitude and longitude) from a selected Cesium3DTileFeature object. I havn't found any "position" property from the content of the Cesium3DTileFeature object. Could you give me some hints for solving this problem? Many thanks in advance,

Zhihang

To get a feature’s latitude and longitude you would need to store that information in the batch table ahead of time. This is what many of the sample tilesets in Specs/Data/Cesium3DTiles do.

Otherwise you can use the general Cesium API to get the lat/long with scene.pickPosition (and then convert with Cartographic.fromCartesian()).

Thank you very much for the information.