[6.5.0] feat: 增加公交站点管理类;
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package com.mogo.map.entities
|
||||
|
||||
data class BusStation(
|
||||
var busStationPoints: List<com.zhidaoauto.map.data.point.LonLatPoint>,
|
||||
var id: Int,
|
||||
var roadId: Int,
|
||||
var type: Int
|
||||
) {
|
||||
override fun toString(): String {
|
||||
return "BusStation(busStationPoints=$busStationPoints, id=$id, roadId=$roadId, type=$type)"
|
||||
}
|
||||
|
||||
fun getBusStationId(): String {
|
||||
return "${id}_${roadId}"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user