How to make that when you enter the Cyrillic city name, drop out a list of cities only in Latin

<input type="text" id="autocomplete"/> <script> var input = document.getElementById('autocomplete'); var autocomplete = new google.maps.places.Autocomplete(input); </script> 
  • process the keystroke; take a Cyrillic character and, finding a pair in the Latin character, display the list by sampling Latin letters. Create an array of paired characters, Cyrillic - Latin or two arrays Cyrillic and Latin. According to the code they received a symbol, if it is Cyrillic - they found a pair of it, and by a pair of Latin characters they deduced a list of cities - SergeyE
  • here learn.javascript.ru/keyboard-events has everything, receives both Cyrillic and Latin - SergeyE

0