在Google Map SDK上本地化地图

时间:2019-07-04 21:25:46

标签: android-studio kotlin google-maps-android-api-2

我希望地图上的名称使用俄语,但我不知道该怎么做。也许是在下面的代码中完成的。

override fun onMapReady(googleMap: GoogleMap) {
    mMap = googleMap
    gcd = Geocoder(applicationContext, Locale.getDefault())

还是在xml映射文件中完成。

<string name="google_maps_key" translatable="false" templateMergeStrategy="preserve">
        /*Here is the key that I will not show you*/
    </string>

0 个答案:

没有答案