1 year ago
#352748

Nikhil VJ
iOS Google maps SDK load custom region, language map
in JS, if we want the google map to load with a different region+language, we can change it by simply altering the connecion string:
https://maps.google.com/maps/api/js?key={APIKEY}®ion=VN&language=vi&libraries=places,geometry
But in iOS Google Maps SDK, it looks like this isn't doable. Instead, the phone's region and language must be set to VN/VI to get the desired map.
This is bad, because the Vietnamese govt has criminalised map views other than what we get with VN+VI in google maps. If the region is set to Vietnam but phone language is still English, then the map loaded is showing areas/names that end up violating some strict rules there (mainly the name of the sea and some islands which are disputed territories).
So is there a way in iOS to force google maps to load in a set region and language like VN/VI even if the phone's current region/language is different?
ios
google-maps-sdk-ios
0 Answers
Your Answer