[地图SDK]升级至2.6.0.3-增加获取道路名称接口
This commit is contained in:
@@ -5,6 +5,7 @@ import com.mogo.map.marker.IMogoMarker;
|
||||
import com.mogo.map.marker.MogoMarkerOptions;
|
||||
import com.mogo.map.overlay.IMogoPolyline;
|
||||
import com.mogo.map.overlay.MogoPolylineOptions;
|
||||
import com.mogo.map.road.RoadNameInfo;
|
||||
import com.mogo.map.uicontroller.IMogoMapUIController;
|
||||
|
||||
import java.util.ArrayList;
|
||||
@@ -185,4 +186,14 @@ public interface IMogoMap {
|
||||
* @return 中心线相关数据
|
||||
*/
|
||||
CenterLine getCenterLineRangeInfo(double lon, double lat, float angle, float distance);
|
||||
|
||||
|
||||
/**
|
||||
* 根据自车经纬度和航向角,获取道路名称
|
||||
* @param lon 经度
|
||||
* @param lat 纬度
|
||||
* @param angle 航向角
|
||||
* @return 道路名称等相关信息
|
||||
*/
|
||||
RoadNameInfo getRoadName(double lon, double lat, float angle);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user