मैं google.maps.places.Autocomplete ऑब्जेक्ट का उपयोग कर रहा हूं और हमेशा यूक्रेनी भाषा में परिणाम प्राप्त करता हूं। किgoogle.maps.places.Autocomplete भाषा आउटपुट
http://maps.google.com/maps/api/js?sensor=true&libraries=places&language=ru-RU
तरह पुस्तकालय
मैं लोड हो रहा हूँ कैसे भाषा स्वत: पूर्ण करने के लिए मानकों को पारित करने के लिए?
var autocomplete = new google.maps.places.Autocomplete($("#google_places_ac")[0], {});
google.maps.event.addListener(autocomplete, 'place_changed', function() {
var place = autocomplete.getPlace();
$scope.location = place.formatted_address;
// at that point $scope.location is in ukrainen, but I want Russian
$scope.$apply();
});
मैंने जोड़ा है छवि समस्या को बताती है। पाठ लाल रंग के साथ वर्ग - रूसी पर है, हरे रंग के साथ पाठ - यूक्रेन पर है। जैसा कि आप देख सकते हैं कि एक ही मानचित्र पर दो अलग-अलग भाषाएं हैं। रूसी के साथ इनपुट, और यूक्रेनी के साथ स्वरूपित भाषा भी। मेरा मानना है कि यह गूगल की एक बग map.s
[Google स्थल बदलना स्वत: पूर्ण संकेत और परिणाम भाषा बदलने के संभावित डुप्लिकेट?] (Http://stackoverflow.com/questions/13307199/google-places-changing-auto-complete-hint-result-language) –