[singapore]
[用户信息展示]
This commit is contained in:
yangyakun
2026-04-15 20:14:43 +08:00
parent c09d05faad
commit b234343dab
34 changed files with 1086 additions and 71 deletions

View File

@@ -1,5 +1,7 @@
package com.mogo.map.utils
import com.mogo.commons.env.ProjectUtils
object HDMapUtils {
private val cityCodeMap by lazy(LazyThreadSafetyMode.SYNCHRONIZED) {
val map = HashMap<String, Int>()
@@ -381,6 +383,9 @@ object HDMapUtils {
*/
@JvmStatic
fun getHDCityCode(gdCityCode: String?): Int? {
if(ProjectUtils.isSingapore()){
return 7000
}
return cityCodeMap[gdCityCode]
}
}