[3.2.0]add map param of weather
This commit is contained in:
@@ -151,7 +151,13 @@ object ConfigStartUp {
|
|||||||
HDTypes.GUARDBAR.type,
|
HDTypes.GUARDBAR.type,
|
||||||
HDTypes.TRAFFIC_DEVICE.type,
|
HDTypes.TRAFFIC_DEVICE.type,
|
||||||
HDTypes.CABLE.type,
|
HDTypes.CABLE.type,
|
||||||
HDTypes.SIGNAL_LINE.type
|
HDTypes.SIGNAL_LINE.type,
|
||||||
|
HDTypes.building.type,
|
||||||
|
HDTypes.streetLight.type,
|
||||||
|
HDTypes.area.type,
|
||||||
|
HDTypes.regional.type,
|
||||||
|
HDTypes.geometricLinear.type,
|
||||||
|
HDTypes.geometricSurface.type
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
// .setZoom( 20 )
|
// .setZoom( 20 )
|
||||||
|
|||||||
@@ -121,10 +121,6 @@ public class AMapViewWrapper implements IMogoMapView,
|
|||||||
private EnumMapUI mCurrentUI = EnumMapUI.MAP_STYLE_NIGHT_VR;
|
private EnumMapUI mCurrentUI = EnumMapUI.MAP_STYLE_NIGHT_VR;
|
||||||
private VisualAngleMode mVisualAngleMode = MODE_MEDIUM_SIGHT;
|
private VisualAngleMode mVisualAngleMode = MODE_MEDIUM_SIGHT;
|
||||||
|
|
||||||
private boolean mMapLoaded = false;
|
|
||||||
private boolean mIsFirstLocated = true;
|
|
||||||
private boolean mIsDelayed = false;
|
|
||||||
|
|
||||||
private IHdCacheListener hdCacheListener;
|
private IHdCacheListener hdCacheListener;
|
||||||
|
|
||||||
public AMapViewWrapper(MapAutoView mMapView) {
|
public AMapViewWrapper(MapAutoView mMapView) {
|
||||||
@@ -174,6 +170,7 @@ public class AMapViewWrapper implements IMogoMapView,
|
|||||||
//设置手势是否可以缩放 isCanZoom true 可缩放 false 不可缩放
|
//设置手势是否可以缩放 isCanZoom true 可缩放 false 不可缩放
|
||||||
options.setZoomGesturesEnabled(true);
|
options.setZoomGesturesEnabled(true);
|
||||||
options.setScaleVRMode(true);
|
options.setScaleVRMode(true);
|
||||||
|
options.setWeatherEnable(false);
|
||||||
// options.setAllGesturesEnabled(false); //禁止全部手势
|
// options.setAllGesturesEnabled(false); //禁止全部手势
|
||||||
if (options.getMyLocationStyle() != null) {
|
if (options.getMyLocationStyle() != null) {
|
||||||
options.getMyLocationStyle().setDisplayAnimEnable(true);
|
options.getMyLocationStyle().setDisplayAnimEnable(true);
|
||||||
@@ -757,7 +754,6 @@ public class AMapViewWrapper implements IMogoMapView,
|
|||||||
@Override
|
@Override
|
||||||
public void onMapLoaded() {
|
public void onMapLoaded() {
|
||||||
CallerLogger.INSTANCE.i(M_MAP + TAG, "autoop--onMapLoaded: ");
|
CallerLogger.INSTANCE.i(M_MAP + TAG, "autoop--onMapLoaded: ");
|
||||||
mMapLoaded = true;
|
|
||||||
if (checkAMapView()) {
|
if (checkAMapView()) {
|
||||||
CameraPosition cameraPosition = mMapView.getMapAutoViewHelper().getCameraPosition();
|
CameraPosition cameraPosition = mMapView.getMapAutoViewHelper().getCameraPosition();
|
||||||
Trace.beginSection("timer.onCameraChangeFinish");
|
Trace.beginSection("timer.onCameraChangeFinish");
|
||||||
|
|||||||
Reference in New Issue
Block a user