下沉经纬度公用信息实体

Signed-off-by: 董宏宇 <martindhy@gmail.com>
This commit is contained in:
董宏宇
2021-09-17 17:40:45 +08:00
parent b8b5cf29a7
commit 4556727d23
185 changed files with 241 additions and 270 deletions

View File

@@ -1,9 +1,9 @@
package com.zhidao.roadcondition.model
import com.mogo.map.MogoLatLng
import com.mogo.eagle.core.data.map.MogoLatLng
fun LocationInfo.toLatLngPoint():MogoLatLng{
return MogoLatLng(latitude,longitude)
fun LocationInfo.toLatLngPoint(): com.mogo.eagle.core.data.map.MogoLatLng {
return com.mogo.eagle.core.data.map.MogoLatLng(latitude, longitude)
}
class LocationInfo {