The placeholder text in the search bar for the geocoder remains "Search" (in English), even when the language of the map is changed, as in
let geocoder = new MapboxGeocoder({accessToken: mapboxgl.accessToken, language: 'es' });. I cannot figure out a clean way to change it.
The placeholder text in the search bar for the geocoder remains "Search" (in English), even when the language of the map is changed, as in
let geocoder = new MapboxGeocoder({accessToken: mapboxgl.accessToken, language: 'es' });. I cannot figure out a clean way to change it.