How to get City name from coordinates?

When using bing maps, I want to convert the coordinates to the name of the (nearest) city. Can this be done under celsium, or do I need to do this with bing maps API?

Hi there,

You might want to check out the Geocoder (the search box widget provided with Cesium).

Given a query, the API can get you a Geocoder result, which stores location names and a location rectangle:

http://cesiumjs.org/Cesium/Build/Documentation/BingMapsGeocoderService.html?classFilter=geocoder

Hope that helps,

  • Rachel

Thanks!