Add location name in API

,

Is your feature request related to a problem? Please describe.
It’s not possible to retrieve the address of a location.

Describe the solution you’d like
Would be nice to be able to save and retrieve the location address from APIs.

I agree !

DatoCMS uses Google’s PlaceSerivce to get the lat,lng values.
it would greatly help, if you could store additional fields from the result object as well, such as the:

  • Formatted address
  • Postal code

The issue is that address components info are locale-dependent (ie. if language is JP, New York becomes “ニューヨーク州 アメリカ合衆国”), so for which locale should we store these info? Always English? Not good if you have ie. an Italian website!

if the specific field was enabled for locale, then DatoCMS validation will kick-in and won’t allow the user to save the entity, otherwise you should save it only for the current tab from which the request was made.