[3.4.0-map-sdk] update ,wait to test
This commit is contained in:
@@ -9,12 +9,9 @@ import android.widget.FrameLayout;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.mogo.eagle.core.data.config.HdMapBuildConfig;
|
||||
import com.mogo.eagle.core.data.map.MogoLocation;
|
||||
import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger;
|
||||
import com.mogo.map.uicontroller.IMogoMapUIController;
|
||||
import com.zhidaoauto.map.sdk.open.HDTypes;
|
||||
import com.zhidaoauto.map.sdk.open.MapParams;
|
||||
import com.zhidaoauto.map.sdk.open.view.MapAutoView;
|
||||
import com.zhidaoauto.map.sdk.open.view.MapStyleParams;
|
||||
|
||||
@@ -52,33 +49,6 @@ public class MogoMapView extends MogoBaseMapView implements ILifeCycle {
|
||||
mapAutoView = new MapAutoView(context, getStyleParams());
|
||||
}
|
||||
}
|
||||
//基础统一配置,如果各个样式地图有修改,此处需要改动
|
||||
if (mapAutoView.getMapStyleParams() != null) {
|
||||
mapAutoView.getMapStyleParams()
|
||||
.setIsWeatherEnable(false)
|
||||
.setLocationIcon3DRes(HdMapBuildConfig.currentCarVrIconRes)
|
||||
.setPerspectiveMode(MapParams.MAP_PERSPECTIVE_UP_CAR)
|
||||
.setHDVisibileArray(new int[]{HDTypes.DIVIDER.getType(), //onSurfaceCreate设置
|
||||
HDTypes.ROAD_AREA.getType(),
|
||||
HDTypes.STOP_LINE.getType(),
|
||||
HDTypes.ARROW.getType(),
|
||||
HDTypes.STATION_BRIDGE.getType(),
|
||||
HDTypes.ZEBRA_LINE.getType(),
|
||||
HDTypes.GREEN_BELT.getType(),
|
||||
HDTypes.DIVERSION.getType(),
|
||||
HDTypes.SAFE_ISLAND.getType(),
|
||||
HDTypes.ALPHANUMERIC.getType(),
|
||||
HDTypes.GUARDBAR.getType(),
|
||||
HDTypes.TRAFFIC_DEVICE.getType(),
|
||||
HDTypes.CABLE.getType(),
|
||||
HDTypes.SIGNAL_LINE.getType(),
|
||||
HDTypes.building.getType(),
|
||||
HDTypes.streetLight.getType(),
|
||||
HDTypes.area.getType(),
|
||||
HDTypes.regional.getType(),
|
||||
HDTypes.geometricLinear.getType(),
|
||||
HDTypes.geometricSurface.getType()});
|
||||
}
|
||||
if (mMapView == null) {
|
||||
mMapView = new AMapViewWrapper(mapAutoView);
|
||||
final View mapView = mMapView.getMapView();
|
||||
@@ -101,7 +71,7 @@ public class MogoMapView extends MogoBaseMapView implements ILifeCycle {
|
||||
}
|
||||
|
||||
protected IMogoMapUIController getUIController(){
|
||||
return mMapView.getMap().getUIController();
|
||||
return mMapView.getMap().getUiController();
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -144,7 +114,7 @@ public class MogoMapView extends MogoBaseMapView implements ILifeCycle {
|
||||
}
|
||||
|
||||
public void setExtraGPSData(MogoLocation gnssInfo) {
|
||||
getMap().getUIController().setExtraGPSData(gnssInfo);
|
||||
getMap().getUiController().setExtraGPSData(gnssInfo);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user