How to specify the geocoding control language(s) response text and prioritization

Indicate the language(s) utilized for the response text and the prioritization of query results in geocoding control. Include the language options within the control constructor. For a complete list of geocoding control options, please refer to the Geocoding control’s reference documentation. In the given example, we initialize the control to incorporate French and English languages.



Related examples

An extension of MapLibre GL JS