| java.lang.Object | |
| ↳ | com.tencent.map.lssupport.utils.ConvertUtil |
转换工具类
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ConvertUtil() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static List<TLSBRouteTrafficItem> | convertIgToTraffic(List<Integer> trafficItems) | ||||||||||
| static List<TLSBRouteTrafficItem> | convertIntegerToTraffic(List<Integer> trafficItems) | ||||||||||
| static List<TLSLatlng> | convertLatLngToTLS(List<LatLng> latLngs) | ||||||||||
| static List<TLSBRouteSegment> | convertStepsToSegments(List<Step> steps) | ||||||||||
| static String | convertTagsToString(List<String> tags) | ||||||||||
| static List<LatLng> | convertToLatLng(List<TLSDWayPointInfo> wayPointInfos) | ||||||||||
| static TLSBWayPoint | convertToTLSBWayPoint(TLSDWayPointInfo point) | ||||||||||
| static List<TLSBWayPoint> | convertToTLSBWayPoints(List<TLSDWayPointInfo> ws, List<WayPoint> wayPoints) | ||||||||||
| static List<TLSBRouteTrafficItem> | convertTrafficSpeedToTrafficItem(List<TrafficSpeed> trafficSpeeds) | ||||||||||
| static int |
providerTypeByProvider(String provider)
返回providerType
| ||||||||||
| static TLSLatlng | stringToTLSLngLat(String lngLatStr) | ||||||||||
| static LatLng | toLatLng(TLSLatlng latLng) | ||||||||||
| static List<LatLng> |
toLatLngList(List<TLSLatlng> list)
latlng的转换
| ||||||||||
| static String | toLngLatString(TLSLatlng latLng) | ||||||||||
| static String | toLngLatString(LatLng latLng) | ||||||||||
| static TLSLatlng | toTLSLatLng(LatLng latLng) | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
返回providerType