Skip to content

Add language support for Geo.searchByPlaceId #14254

Open
@timokruisselbrink

Description

@timokruisselbrink

Is this related to a new or existing framework?

No response

Is this related to a new or existing API?

Geo

Is this related to another service?

No response

Describe the feature you'd like to request

I would like to get place information in a specific language when using the searchByPlaceId. Other methods (like Geo.searchByText) already have a language parameter, but searchByPlaceId does not.

I use the Geo.searchForSuggestions method to search places, when a user selects a place, I get the placeId and use it to get more information about the place using the searchByPlaceId method. However, the information is always in the language of the country where the place is located. I would like to get the information in a specific language, like English.

Describe the solution you'd like

I would like to have a language parameter in the searchByPlaceId method.

Describe alternatives you've considered

Use the text from the suggestion search and use that to searchByText. Probably works, but i'm not sure the result is always the correct one. Also the result is an array, so maybe more than one result is returned.

Additional context

No response

Is this something that you'd be interested in working on?

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

Metadata

Metadata

Assignees

No one assigned

    Labels

    GeoRelated to the Geo categoryfeature-requestRequest a new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions