[3.4.0-map-sdk]
This commit is contained in:
@@ -1,85 +0,0 @@
|
||||
//package com.autonavi.nge.dm;
|
||||
//
|
||||
//import android.os.IBinder;
|
||||
//import com.autonavi.nge.guidance.RouteBook;
|
||||
//import com.autonavi.nge.guidance.NaviInfo;
|
||||
//import com.autonavi.nge.guidance.RouteImage;
|
||||
//import com.autonavi.nge.guidance.LaneMask;
|
||||
//import com.autonavi.nge.obj.Category;
|
||||
//import com.autonavi.nge.obj.UpdateRegion;
|
||||
//import com.autonavi.nge.trafficInfo.TMCID;
|
||||
//import com.autonavi.nge.search.SPPoiItem;
|
||||
//import com.autonavi.nge.search.SPCategories;
|
||||
//import com.autonavi.nge.search.SPQuery;
|
||||
//import com.autonavi.nge.search.SPSearchResult;
|
||||
//import com.autonavi.nge.map.LonLat;
|
||||
//import com.autonavi.nge.guidance.GuidanceStatListener;
|
||||
//interface INavigationCore {
|
||||
//// IBinder getHandler();
|
||||
// void Routing_SetOrigin(float lon, float lat, int sessionid);
|
||||
// void Routing_SetDest(float lon, float lat, int sessionid);
|
||||
// void Routing_GetRoute(int sessionid);
|
||||
// boolean Routing_GetStatus(int sessionid);
|
||||
// void Routing_Reset(int sessionid);
|
||||
// void Routing_ClearTour(int sessionid);
|
||||
// void RoutingSetCostModel(int model, int sessionid);
|
||||
// void RoutingSetAvoidHighway(boolean isAvoidHighway, int sessionid);
|
||||
// void RoutingSetAvoidToll(boolean isAvoidToll, int sessionid);
|
||||
//
|
||||
// void Traffic_Update(in List<TMCID> ids, int evt);
|
||||
// void Traffic_UpdateByTile(int tile, in int[] ids, in byte[] speeds);
|
||||
// void RoutingSetUseTraffic(boolean useTraffic, int sessionid);
|
||||
// int RoutingGetRouteNum(int sessionid);
|
||||
// int RoutingGetLength(int route, int sessionid);
|
||||
// int RoutingGetSTime(int route, int sessionid);
|
||||
// int RoutingGetDTime(int route, int sessionid);
|
||||
// void addwaypoint(float lon, float lat, int heading, int sessionid);
|
||||
// void clearwaypoints(int sessionid);
|
||||
//
|
||||
// void Guidance_UpdatePosition(float lon, float lat, float speed, float heading);
|
||||
// void Guidance_StartNavi(int type);
|
||||
// void Guidance_StopNavi();
|
||||
// void Guidance_SetSimSpeed(int speed);
|
||||
// void Guidance_PauseSimNavi();
|
||||
// void Guidance_ResumeSimNavi();
|
||||
// RouteBook Guidance_RouteBook(int session,int start,int end);
|
||||
// NaviInfo Guidance_NaviInfo();
|
||||
// NaviInfo GetNaviInfo(in byte[] datas);
|
||||
// String Guidance_TTS();
|
||||
// RouteImage Guidance_Image(int imageUr,int imageBg,int imageArrow,int type);
|
||||
// LaneMask Guidance_LaneMask();
|
||||
// double Guidance_getRoadAngle();
|
||||
//
|
||||
// List<SPPoiItem> Search_getSearchResult(int productId, double lon, double lat, double radius, int kindfilter, int updateregionId, String keyWord, int pageIdx, int searchType);
|
||||
// SPPoiItem getPoiItemByPoiId(int poiId);
|
||||
// List<SPPoiItem> getPoiItemListByLonLat(int prodId, int urId, float lon, float lat, int pageCount, int pageIdx);
|
||||
// List<SPPoiItem> queryPoiItemByCircle(float centerLon,float centerLat,float radius);
|
||||
// List<SPPoiItem> queryPoiItemByRect(float topLeftLon,float topLeftLat,float bottomRightLon,float bottomRightLat);
|
||||
// List<SPPoiItem> queryPoiItemByPolygon(in List<LonLat> latLonPoints);
|
||||
// List getFTSDataByDA( int urid, String keyStr, int keytype, int maxResultCount);
|
||||
// List<String> getInputResult(int productId, int updateregionId, String inputStr);
|
||||
// List<String> getInputResultByDA();
|
||||
// List<Category> getCatList(int urid);
|
||||
// List<UpdateRegion> getURListByDA(int prodid);
|
||||
// void play(String text,boolean forcePlay);
|
||||
//
|
||||
// int RoutingGetSearchedCnt(int route, int sessionid);
|
||||
//
|
||||
// int [] getMemoryInfo();
|
||||
//
|
||||
// void startServer();
|
||||
//
|
||||
// void stopServer();
|
||||
//
|
||||
// int getMDSVersion();
|
||||
// String getDataVersion();
|
||||
// String getCopyRight();
|
||||
// String getCompilerVersion();
|
||||
//
|
||||
// void onGuidanceStatusChanged(int statCode, in byte[] datas);
|
||||
//
|
||||
// void setGuidanceStatListener(GuidanceStatListener listener);
|
||||
//
|
||||
// SPCategories getAllPoiCategories(int languageCode);
|
||||
// List<SPSearchResult> getPoiItemList(in SPQuery query);
|
||||
//}
|
||||
@@ -1025,7 +1025,7 @@ class MapController(private var context: Context?, private val mMapView: IMapVie
|
||||
val data = polylineOptions.lonLats
|
||||
var polyline: Polyline? = null
|
||||
try {
|
||||
if (data == null || data.size <= 1) {
|
||||
if (data.size <= 1) {
|
||||
throw RuntimeException("传入的坐标数必须大于1")
|
||||
}
|
||||
val strOptionsJson = JSON.toJSONString(polylineOptions)
|
||||
@@ -1054,7 +1054,7 @@ class MapController(private var context: Context?, private val mMapView: IMapVie
|
||||
val colorSize = colorValues?.size ?: 0
|
||||
var polyline: Polyline? = null
|
||||
try {
|
||||
if (data == null || data.size <= 1) {
|
||||
if (data.size <= 1) {
|
||||
throw RuntimeException("传入的坐标数必须大于1")
|
||||
}
|
||||
if (polylineOptions.getIsGradient() && colorSize > data.size) {
|
||||
@@ -1090,7 +1090,7 @@ class MapController(private var context: Context?, private val mMapView: IMapVie
|
||||
val data = deadZoneOptions.getPosition()
|
||||
var deadZone: DeadZone? = null
|
||||
try {
|
||||
if (data == null || data.size <= 1) {
|
||||
if (data.size <= 1) {
|
||||
throw RuntimeException("传入的坐标数必须大于1")
|
||||
}
|
||||
val strOptionsJson = JSON.toJSONString(deadZoneOptions)
|
||||
|
||||
Reference in New Issue
Block a user