jquery - Customize Google Places autocomplete pac-item text -



jquery - Customize Google Places autocomplete pac-item text -

i know how customize default google places autocomplete text shown when user types on autocomplete-enabled input (".pac-item" elements).

specifically, want utilize portuguese language on results, when specify pt-br language on autocomplete instantiation results shown in english language (e.g. "state of", "brazil" ):

var autocomplete = new google.maps.places.autocomplete( (document.getelementbyid('city_settings')), { language: "pt-br", types: ['(cities)'], componentrestrictions : { country: 'br' } });

any thoughts on how activate portuguese responses or how programatically edit texts?

jquery css autocomplete google-places

Comments

Popular posts from this blog

Using Android Volley to post an array to PHP -

python - How to add an model instance to a django queryset? -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -