Set display language on locations to match Google Places API

Abierto
#552 0 comentarios 0 reacciones 1 asignado Ver en GitHub

@wangela ya está trabajando en esto.

Desde el 11/10/2022.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

triage me type: question

I am creating an app using google places api to search for autocomplete in a custom sidebar. We are using the autocomplete to search in our own dataset. We are using the map to display our custom data on the map.

The problem is that google places api shows results differently then the map.
For example: Sevilla, Spain from Google Places API is displayed as Seville.

I have set the language to en in the google places API and it would be helpful to figure out how to configure the locality on the displayed map as well so it matches the Google API.

Screenshot 2022-10-11 at 09 50 08

I think is a parameter in a default Google map? (see below)

<script async
    src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&language=en">
</script>

Lenguaje dominante
TypeScript
Estrellas
381
Forks
50
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de googlemaps/react-wrapper

Todos los issues de googlemaps/react-wrapper

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.