- SecureFieldsType - com.amap.api.navi.enums中的枚举
-
Created by
服务区坡度请求接口指定请求数据类型
- segIndex - 类 中的变量com.amap.api.navi.model.AMapNaviForbiddenInfo
-
限制位置所在的step索引
Step index where the restriction is located
- selectRouteId(int) - 类 中的方法com.amap.api.navi.AMapNavi
-
导航前选主路线
Select main route before navigation.
- selectRouteWithIndex(int) - 类 中的方法com.amap.api.navi.model.AMapNaviPathGroup
-
导航前选择主路线
Select the main route before navigation
- SERVICE_AREA - 类 中的静态变量com.amap.api.navi.enums.RoadType
-
5-服务区
5-Service area
- SERVICE_AREA_AND_OVER_HEAD - 类 中的静态变量com.amap.api.navi.enums.RoadType
-
53-服务区与高架
53-Service area and overhead
- SERVICE_AREA_AND_RAMP - 类 中的静态变量com.amap.api.navi.enums.RoadType
-
56-服务区与匝道
56-Service area and ramp
- SERVICE_AREA_AND_RAMP_AND_OVER_HEAD - 类 中的静态变量com.amap.api.navi.enums.RoadType
-
58-服务区与匝道与高架
58-Service area, ramp and overhead
- SERVICE_NOT_EXIST - 类 中的静态变量com.amap.api.navi.enums.PathPlanningErrCode
-
已过时。
- SERVICE_RESPONSE_ERROR - 类 中的静态变量com.amap.api.navi.enums.PathPlanningErrCode
-
已过时。
- ServiceAreaInfo() - 类 的构造器com.amap.api.navi.model.AMapServiceAreaDetailInfo.ServiceAreaInfo
-
- ServiceAreaView - com.amap.api.navi.view中的类
-
- ServiceAreaView(Context) - 类 的构造器com.amap.api.navi.view.ServiceAreaView
-
- ServiceAreaView(Context, AttributeSet) - 类 的构造器com.amap.api.navi.view.ServiceAreaView
-
- ServiceAreaView(Context, AttributeSet, int) - 类 的构造器com.amap.api.navi.view.ServiceAreaView
-
- ServiceChildren() - 类 的构造器com.amap.api.navi.model.AMapServiceAreaDetailInfo.ServiceChildren
-
- setAddress(String) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.ServiceAreaInfo
-
- setAfterRouteAutoGray(boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
通过路线是否自动置灰
Whether passed routes are automatically grayed out.
- setAllCameraVisible(boolean) - 类 中的方法com.amap.api.navi.view.AmapCameraOverlay
-
设置路线上的气泡是否显示
Set whether the bubbles on the route are displayed.
- setAMapNaviOnlineCarHailingType(AMapNaviOnlineCarHailingType) - 类 中的方法com.amap.api.navi.AMapNavi
-
设置网约车导航模式,包括非网约车模式,网约车接驾模式、网约车送驾模式,默认为非网约车模式
Set online car-hailing navigation mode, including non-online car-hailing mode, pick-up mode, drop-off mode, default is non-online car-hailing mode.
- setAMapNaviType(AmapNaviType) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置导航类型。
- setAMapNaviViewListener(AMapNaviViewListener) - 类 中的方法com.amap.api.navi.AMapNaviView
-
设置自定义导航界面的事件回调监听
Set event callback listener for custom navigation interface
- setApiKey(Context, String) - 类 中的静态方法com.amap.api.navi.AMapNavi
-
手动设置key,这是个静态方法,需要在一切导航接口前调用,建议在applicaiton中调用
Manually set the key, this is a static method, needs to be called before all navigation interfaces, it's recommended to call it in the application.
- setAppLang(Context, AMapNaviAppLangOptions, AudioAuthTaskCallback) - 类 中的静态方法com.amap.api.navi.AMapNavi
-
设置app语言类型, 要确保AMapNavi创建前设置
Set app language type, ensure AMapNavi is created before setting
- setAppLangType(int) - 类 中的方法com.amap.api.navi.AMapNaviAppLangOptions
-
- setArrowColor(int) - 类 中的方法com.amap.api.navi.model.RouteOverlayOptions
-
设置路线上转弯处箭头的颜色
Set the color of the arrow at the turn on the route
- setArrowOnRoute(boolean) - 类 中的方法com.amap.api.navi.view.RouteOverLay
-
是否隐藏路线上三角纹理
Whether to hide the triangle texture on the route
- setArrowOnTrafficRoute(Bitmap) - 类 中的方法com.amap.api.navi.model.RouteOverlayOptions
-
设置浮于道路上的『小箭头』图标的纹理位图
Set the texture bitmap of the "small arrow" icon floating on the road.
- setArrowSideColor(int) - 类 中的方法com.amap.api.navi.model.RouteOverlayOptions
-
设置3D箭头侧面颜色,只有显示 3D箭头情况加才有效
Set the side color of 3D arrows, only effective when 3D arrows are displayed
- setAudioOutputMode(AudioOutputMode) - 类 中的静态方法com.amap.api.navi.AMapNavi
-
- setAudioOutputMode(AudioOutputMode) - 类 中的方法com.amap.api.navi.AMapNaviAppLangOptions
-
- setAutoChangeZoom(boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置是否开启动态比例尺 (锁车态下自动进行地图缩放变化)
Set whether to enable dynamic scale (automatically zoom the map under vehicle lock state)
- setAutoDisplayOverview(boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置是否自动全览模式,即在算路成功后自动进入全览模式
Set whether to enable automatic overview mode, that is, automatically enter overview mode after successful route calculation
- setAutoDrawRoute(boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置是否自动画路
Set whether to automatically draw the route
- setAutoLockCar(boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置6秒后是否自动锁车
Set whether to automatically lock the vehicle after 6 seconds
- setAutoNaviViewNightMode(boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
- setAutoZoomRange(float, float) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置自动缩放地图的缩放范围。
- setBitmapDescriptor(BitmapDescriptor) - 类 中的方法com.amap.api.navi.AMapNaviMarkerOptions
-
- setBroadcastInfos(AMapServiceAreaDetailInfo.BroadcastInfo[]) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo
-
- setBroadcastMode(int) - 类 中的方法com.amap.api.navi.AMapNavi
-
设置语音播报模式为"专家模式"还是"新手模式"【驾车有效】,导航中设置需要下次算路才生效,如偏航或刷新重算
Set voice broadcast mode to "Expert Mode" or "Beginner Mode" [valid for driving], settings during navigation take effect after recalculating the next route, such as rerouting or refreshing recalculation.
- setBroadcastMode(Context, int) - 类 中的方法com.amap.api.navi.AmapNaviParams
-
设置播报模式
Set broadcast mode
- setBroadcastModeEnabled(boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置是否启用播报模式控件
Set whether to enable broadcast mode control
- setBuildingStatus(int) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.ServiceAreaInfo
-
- setBusBitmap(Bitmap, Bitmap) - 类 中的方法com.amap.api.navi.view.AmapCameraOverlay
-
设置公交专用道摄像头的图片
Set the bus-only lane camera images.
- setCameraBitmap(Bitmap) - 类 中的方法com.amap.api.navi.view.AmapCameraOverlay
-
设置路线上的摄像头图片
Set the camera images on the route
- setCameraBubbleShow(boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
- setCameraInfoUpdateEnabled(boolean) - 类 中的方法com.amap.api.navi.AMapNavi
-
- setCameraMoniterBitmap(Bitmap, Bitmap) - 类 中的方法com.amap.api.navi.view.AmapCameraOverlay
-
设置监控摄像头的图片
Set the monitoring camera images.
- setCarBitmap(Bitmap) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置自车的图片对象
Set the image object of the vehicle
- setCarDirectionMode(Context, int) - 类 中的方法com.amap.api.navi.AmapNaviParams
-
设置导航视角
Set navigation perspective
- setCarInfo(AMapCarInfo) - 类 中的方法com.amap.api.navi.AMapNavi
-
设置车辆信息(包括车型,车牌,车高,车重等),路径规划时会躲避车辆限行区域和路线
Set vehicle information (including vehicle type, license plate, height, weight, etc.), and during path planning, it will avoid areas and routes where the vehicle is restricted.
- setCarInfo(AMapCarInfo) - 类 中的方法com.amap.api.navi.AmapNaviParams
-
设置车辆信息,进行尾号限行与货车导航
Set vehicle information for tail number restriction and truck navigation
- setCarNumber(String) - 类 中的方法com.amap.api.navi.model.AMapCarInfo
-
设置车辆的车牌号码
Set the vehicle's license plate number.
- setCarOverlayVisible(boolean) - 类 中的方法com.amap.api.navi.AMapNaviView
-
设置是否隐藏自定义导航view上的车标,包括自车、罗盘、牵引线
Set whether to hide the vehicle icon on the custom navigation view, including the vehicle, compass, and traction line
- setCarType(String) - 类 中的方法com.amap.api.navi.model.AMapCarInfo
-
设置车辆类型
Set vehicle type.
- setChargingInfos(List<AMapServiceAreaDetailInfo.ChargingInfo>) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.ServiceAreaInfo
-
- setChecked(boolean) - 类 中的方法com.amap.api.navi.view.OverviewButtonView
-
设置路线全览是否被选中
Set whether the route overview is selected
- setChildType(String) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.ServiceChildren
-
- setCommonOverlayData(String) - 类 中的方法com.amap.api.navi.AMapNaviView
-
设置外部通用点线面数据
Set external general point-line-surface data
- setCompassEnabled(Boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
- setConnectionTimeout(int) - 类 中的方法com.amap.api.navi.AMapNavi
-
设置建立连接超时时间,单位毫秒级,最低3000,默认10000
Set the timeout for establishing a connection, unit in milliseconds, minimum 3000, default 10000.
- setContent(String) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.BroadcastInfo
-
- setControlMusicVolumeMode(int) - 类 中的方法com.amap.api.navi.AMapNavi
-
设置导航播报时压低音乐、暂停音乐,只有在使用内置语音时生效(Android8.0以下系统不支持暂停音乐,设置暂停音乐无效)
Set the volume mode for music when navigating, only effective when using internal voice (systems below Android 8.0 do not support pausing music, setting pause music is ineffective)
- setControlMusicVolumeMode(int) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions.VoiceAssistSettings
-
设置播放导航语音时对音乐的控制方式。
- setCoord(NaviLatLng) - 类 中的方法com.amap.api.navi.model.AMapNaviGuide
-
设置聚合段入口点的坐标
Set coordinates of the aggregated segment entrance point
- setCoordinate(LatLng) - 类 中的方法com.amap.api.navi.model.NaviPoi
-
设置poi经纬度
Set poi latitude and longitude
- setCrossLocation(Rect, Rect) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
- setCrossOverlayLocation(Rect) - 类 中的方法com.amap.api.navi.view.AMapModeCrossOverlay
-
设置模型路口放大图的显示位置
Set the display position of the model intersection enlargement map
- setCustomIconTypes(Resources, int[]) - 类 中的方法com.amap.api.navi.view.NextTurnTipView
-
用于设置自定义的icon图片数组
Used to set a custom icon image array.
- setCustomLimitSpeed(int) - 类 中的方法com.amap.api.navi.model.AMapNaviParkLimitInfo
-
设置自定义限速值, 单位:公里/小时
注意:
自定义限速值超过道路限速值时,以道路限速值为准
自定义限速值必须大于0,小于等于0时不生效
- setCustomMapStylePath(String) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
- setCustomNaviParkLimitInfo(AMapNaviParkLimitInfo) - 类 中的方法com.amap.api.navi.AMapNaviParkLimitControl
-
设置自定义园区信息,包括:自定义限速、超速文案等。
- setCustomOverSpeedTTSText(String) - 类 中的方法com.amap.api.navi.model.AMapNaviParkLimitInfo
-
设置自定义超速文案, 默认文案:“您已超速,请减速慢行”
注意:
当设置为null或者空时会使用默认文案
- setDayAndNightMode(Context, int) - 类 中的方法com.amap.api.navi.AmapNaviParams
-
设置导航页面昼夜模式
Set day and night mode for navigation page
- setDayMode(boolean) - 类 中的方法com.amap.api.navi.view.AMapModeCrossOverlay
-
设置白天黑夜模式 默认为白天模式
Set day/night mode, default is day mode
- setDirection(float) - 类 中的方法com.amap.api.navi.model.NaviPoi
-
设置poi角度,若设置了Poi角度,起点算路会参考该角度
Set poi angle.
- setDirectionBitmap(Bitmap) - 类 中的方法com.amap.api.navi.view.DirectionView
-
设置指南针位图
Set compass bitmap
- setDistance(int) - 类 中的方法com.amap.api.navi.model.AMapNaviToViaInfo
-
exclude
- setDrawBackUpOverlay(boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置是否绘制备选路线,只是控制是否绘制,并不影响多备选路线功能
Set whether to draw alternative routes, only controls whether to draw, does not affect the multi-alternative route function
- setDriveGuideNaviAnimation(boolean) - 类 中的方法com.amap.api.navi.AMapNaviView
-
设置驾车导航动画开关,包括:转场动画和导航态动画
Configure driving navigation animation toggles, including transition animations and navigation mode animations.
- setEagleMapVisible(boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置鹰眼小地图是否显示
Set whether to display Eagle Eye mini map
- setEmergencyBitmap(Bitmap, Bitmap) - 类 中的方法com.amap.api.navi.view.AmapCameraOverlay
-
设置应急监控的图片
Set the emergency monitoring images.
- setEmulatorNaviSpeed(int) - 类 中的方法com.amap.api.navi.AMapNavi
-
设置模拟导航的速度
Set the simulated navigation speed.
- setEnabled(boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions.VoiceAssistSettings
-
设置语音辅助功能控制面板是否启用
Set whether the voice accessibility control panel is enabled
注意:
Note:
当设置为false时,AMapNaviView中不会显示语音辅助功能控制面板
。
- setEndPointBitmap(Bitmap) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置终点位图,须在画路前设置
Set the end point bitmap, must be set before drawing the route
- setEquipmentInfoDesc(String) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.ChargingInfo
-
- setErrcode(int) - 类 中的方法com.amap.api.navi.model.AMapMpidGeneratedResult
-
- setErrmsg(String) - 类 中的方法com.amap.api.navi.model.AMapMpidGeneratedResult
-
- setEtaShowMode(int) - 类 中的方法com.amap.api.navi.NaviSetting
-
设置ETA信息显示模式
Set ETA information display mode
- setExtraGPSData(int, Location) - 类 中的方法com.amap.api.navi.AMapNavi
-
此方法用于设置外部定位数据,并使用外部定位数据进行导航
This method sets external positioning data and navigates using it.
- setExtraRequestHeaders(HashMap<String, String>) - 类 中的静态方法com.amap.api.navi.SGNaviSetting
-
【国网专用】设置网络请求附加header信息
【State Grid Exclusive】Set additional header information for network requests
- setExtraRequestParams(HashMap<String, String>) - 类 中的静态方法com.amap.api.navi.SGNaviSetting
-
【国网专用】设置网络请求附加params信息
【State Grid Exclusive】Set additional params information for network requests
- setFairWayRes(Bitmap) - 类 中的方法com.amap.api.navi.model.RouteOverlayOptions
-
设置路线虚线纹理
Set route dashed line texture
- SetFilterShowCrossMessageStatus(boolean) - 类 中的方法com.amap.api.navi.NaviSetting
-
设置是否过滤路口大图外部回调消息,避免鹰巢和自定义路口大图同时存在,导致引擎异常
Set whether to filter external callback messages of intersection large images to avoid engine exceptions caused by Eagle Nest and custom intersection large images existing at the same time
- setFourCornersBitmap(Bitmap) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置罗盘位图对象
Set the compass bitmap object
- setGpsWeakDetecedInterval(long) - 类 中的方法com.amap.api.navi.AMapNavi
-
- setHeight(int) - 类 中的方法com.amap.api.navi.view.AMapModeCrossOverlay
-
设置路口放大图Bitmap高度 单位像素
Set the bitmap height of the intersection enlargement map in pixels
- setHost(HashMap<String, String>) - 类 中的静态方法com.amap.api.navi.SGNaviSetting
-
设置需要替换的host
Set the host to replace
- setHudMenuEnabled(Boolean) - 类 中的方法com.amap.api.navi.AMapHudView
-
HUD界面是否显示设置栏
Whether the HUD interface displays the settings bar.
- setHudViewListener(AMapHudViewListener) - 类 中的方法com.amap.api.navi.AMapHudView
-
设置AMapHudViewListener监听
Set AMapHudViewListener listener
- setHudViewMode(int) - 类 中的方法com.amap.api.navi.AMapHudView
-
设置HUD显示模式,目前仅支持设备全屏显示
Sets the HUD display mode, currently only supports full-screen display on devices.
- setIconBitmap(Bitmap) - 类 中的方法com.amap.api.navi.view.NextTurnTipView
-
设置转向图标bitmap
Set turn icon bitmap
- setIconType(int) - 类 中的方法com.amap.api.navi.model.AMapNaviGuide
-
设置聚合段转向类型
Set aggregated segment turn type
- setIconType(int) - 类 中的方法com.amap.api.navi.view.NextTurnTipView
-
- setInnerOptRecordEnable(String) - 类 中的方法com.amap.api.navi.AMapNavi
-
【二环专用】设置是否启用OPT日志记录
【Special for ErHuan】Set whether to enable OPT log recording
- setIntelligentSorting(boolean) - 类 中的方法com.amap.api.navi.model.AMapNaviCalRouteOptions
-
- setIntersectionBitMap(AMapNaviCross) - 类 中的方法com.amap.api.navi.view.ZoomInIntersectionView
-
将路口放大图类中的bitmap输入
Input bitmap from intersection zoom-in class
- setInvokerType(InvokerType) - 类 中的方法com.amap.api.navi.model.AMapNaviCalRouteOptions
-
- setIsNaviTravelView(boolean) - 类 中的方法com.amap.api.navi.AMapNavi
-
已过时。
- setIsOpenTrafficLight(String) - 类 中的方法com.amap.api.navi.AMapNavi
-
设置是否显示红绿灯倒计时
Set whether to display traffic light countdown
- setIsTrafficOpen(boolean) - 类 中的方法com.amap.api.navi.view.TrafficButtonView
-
设置交通开关状态
Set traffic switch status.
- setIsUseExtraGPSData(boolean) - 类 中的方法com.amap.api.navi.AMapNavi
-
设置是否使用外部定位数据
Set whether to use external GPS data.
- setJamTraffic(Bitmap) - 类 中的方法com.amap.api.navi.model.RouteOverlayOptions
-
设置交通状况拥堵下的纹理位图
Set the texture bitmap under congested traffic conditions.
- setJamTrafficColor(int) - 类 中的方法com.amap.api.navi.view.TrafficProgressBar
-
设置拥堵状态的颜色
Set the color of congested status
- setLaneInfoShow(boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置是否显示道路信息view
Set whether to display road information view
- setLatitude(float) - 类 中的方法com.amap.api.navi.model.AMapTrafficIncidentInfo
-
- setLatitude(double) - 类 中的方法com.amap.api.navi.model.NaviLatLng
-
设置纬度(垂直方向)
Set latitude (vertical direction).
- setLayoutVisible(boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置导航界面UI是否显示
Set whether the navigation interface UI is displayed.
- setLazyDirectionView(DirectionView) - 类 中的方法com.amap.api.navi.AMapNaviView
-
设置自定义的指南针视图
Set custom compass view
- setLazyDriveWayView(DriveWayView) - 类 中的方法com.amap.api.navi.AMapNaviView
-
设置自定义的车道线视图
Set custom lane line view
- setLazyNextTurnTipView(NextTurnTipView) - 类 中的方法com.amap.api.navi.AMapNaviView
-
设置自定义的转向图标
Set custom turn icon
- setLazyOverviewButtonView(OverviewButtonView) - 类 中的方法com.amap.api.navi.AMapNaviView
-
设置用户自定义的全览按钮
Set user-defined overview button
- setLazyTrafficButtonView(TrafficButtonView) - 类 中的方法com.amap.api.navi.AMapNaviView
-
设置自定义的路况按钮视图
Set custom traffic condition button view
- setLazyTrafficProgressBarView(TrafficProgressBar) - 类 中的方法com.amap.api.navi.AMapNaviView
-
设置用户自定义的导航光柱条View
Set user-defined navigation light column bar View.
- setLazyZoomButtonView(ZoomButtonView) - 类 中的方法com.amap.api.navi.AMapNaviView
-
设置自定义的地图缩放按钮
Set custom map zoom button
- setLazyZoomInIntersectionView(ZoomInIntersectionView) - 类 中的方法com.amap.api.navi.AMapNaviView
-
设置自定义的路口放大图
Set custom intersection enlargement map
- setLeaderLineEnabled(int) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置是否绘制牵引线(当前位置到目的地的指引线),默认不绘制牵引线
Set whether to draw the guide line (guidance line from current position to destination), Default is not to draw the guide line.
- setLength(int) - 类 中的方法com.amap.api.navi.model.AMapNaviGuide
-
设置聚合段长度
Set aggregated segment length
- setLineValue(int) - 类 中的方法com.amap.api.navi.AMapNaviMpidOption
-
设置直线阈值
- setLineWidth(float) - 类 中的方法com.amap.api.navi.model.RouteOverlayOptions
-
设置导航线路的宽度
Set the width of the navigation route
- setLinkId(long) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.BroadcastInfo
-
- setLinkId(long) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.ServiceAreaInfo
-
- setLinkIds(String) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.SlopeInfo
-
- setListenToVoiceDuringCall(boolean) - 类 中的方法com.amap.api.navi.AMapNavi
-
设置在通话过程中是否进行导航播报,只有在使用内置语音时生效
Set whether navigation announcements should occur during calls, effective only when using built-in voice
- setListenToVoiceDuringCall(boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions.VoiceAssistSettings
-
- setLockMapDelayed(long) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置锁定地图延迟毫秒数
Set the map lock delay in milliseconds.
- setLockTilt(int) - 类 中的方法com.amap.api.navi.AMapNaviView
-
- setLockZoom(int) - 类 中的方法com.amap.api.navi.AMapNaviView
-
- setLongitude(float) - 类 中的方法com.amap.api.navi.model.AMapTrafficIncidentInfo
-
- setLongitude(double) - 类 中的方法com.amap.api.navi.model.NaviLatLng
-
设置经度(水平方向)
Set longitude (horizontal direction).
- setMapStyle(MapStyle, String) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置地图的显示样式
Set the display style of the map
- setModeCrossDisplayShow(boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
- setMonitorCameraBitmap(Bitmap) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置导航路线上的摄像头监控图标(只适用于驾车导航)
Set the camera monitoring icon on the navigation route (only applicable to driving navigation).
- setMonitorCameraEnabled(boolean) - 类 中的方法com.amap.api.navi.NaviSetting
-
HUD模式下,设置限速信息是否显示
Set whether speed limit information is displayed in HUD mode
- setMotorcycleCC(int) - 类 中的方法com.amap.api.navi.model.AMapCarInfo
-
设置摩托车排量(cc)
Set motorcycle displacement (cc)
- setMpid(String) - 类 中的方法com.amap.api.navi.model.AMapNaviMpidRestoreOption
-
- setMultipleRouteNaviMode(boolean) - 类 中的方法com.amap.api.navi.AMapNavi
-
设置多路线导航模式(导航中拥有若干条备选路线供用户选择), 或单路线导航模式(默认模式)
Set multi-route navigation mode (with several alternative routes available for users to choose from) or single route navigation mode (default mode).
- setMultipleRouteNaviMode(boolean) - 类 中的方法com.amap.api.navi.AmapNaviParams
-
设置多路线导航模式(导航中拥有若干条备选路线供用户选择), 或单路线导航模式(默认模式)
Set multi-route navigation mode (navigation with several alternative routes for user selection), or single-route navigation mode (default mode).
- setName(String) - 类 中的方法com.amap.api.navi.model.AMapNaviGuide
-
设置聚合段名称
Set aggregated segment name
- setName(String) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.ChargingInfo
-
- setName(String) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.ServiceAreaInfo
-
- setName(String) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.ServiceChildren
-
- setName(String) - 类 中的方法com.amap.api.navi.model.NaviPoi
-
设置poi名称
Set poi name
- setNaviArrowVisible(boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置路线转向箭头隐藏和显示
Set route turn arrow hide and show
- setNaviMode(int) - 类 中的方法com.amap.api.navi.AmapNaviParams
-
设置直接导航模式(仅在使用组件直接导航(不调起算路页面)时生效)
Set direct navigation mode (only effective when using component direct navigation (without calling up the route calculation page))
- setNaviMode(int) - 类 中的方法com.amap.api.navi.AMapNaviView
-
- setNaviMode(int) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
- setNaviNetworkProxy(AMapNaviNetWorkProxy) - 类 中的方法com.amap.api.navi.AMapNavi
-
设置导航外部网络代理类
Set navigation external network proxy class
- setNaviNight(boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
- setNaviResourceProxy(AMapNaviResourceProxy) - 类 中的方法com.amap.api.navi.AMapNavi
-
设置导航外部资源代理类
Set up the navigation external resource proxy class.
- setNaviStatusBarEnabled(boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置是否启用导航状态栏
Set whether to enable navigation status bar
- setNeedCalculateRouteWhenPresent(boolean) - 类 中的方法com.amap.api.navi.AmapNaviParams
-
启动组件进行直接导航时,设置是否进行算路 (只有在直接跳转导航页的情况下才生效)
When starting the component for direct navigation, set whether to calculate the route (only effective when directly jumping to the navigation page)
- setNeedDestroyDriveManagerInstanceWhenNaviExit(boolean) - 类 中的方法com.amap.api.navi.AmapNaviParams
-
设置退出导航组件是否销毁导航实例
Set whether to destroy navigation instance when exiting navigation component
- setNetWorkingProtocol(NetWorkingProtocol) - 类 中的静态方法com.amap.api.navi.AMapNavi
-
设置网络请求协议
Set network request protocol.
- setNewExtraGPSData(int, AMapLocation) - 类 中的方法com.amap.api.navi.AMapNavi
-
- setNormalRoute(Bitmap) - 类 中的方法com.amap.api.navi.model.RouteOverlayOptions
-
设置无路况路线的纹理
Set the texture of routes without traffic conditions.
- setNormalTimeText(String) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.ServiceAreaInfo
-
- setNumFast(int) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.ChargingInfo
-
- setNumSlow(int) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.ChargingInfo
-
- setNumSuper(int) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.ChargingInfo
-
- setOnCameraChangeListener(AMap.OnCameraChangeListener) - 类 中的方法com.amap.api.navi.AMapNaviView
-
设置自定义导航view中地图的视角变化事件监听
Set map view change event listener in custom navigation view
- setOnMapLoadedListener(AMap.OnMapLoadedListener) - 类 中的方法com.amap.api.navi.AMapNaviView
-
设置自定义导航view中地图的加载完成事件监听
Set map loading completion event listener in custom navigation view
- setOnMapTouchListener(AMap.OnMapTouchListener) - 类 中的方法com.amap.api.navi.AMapNaviView
-
设置自定义导航view中地图的点击事件监听
Set map click event listener in custom navigation view
- setOnMarkerClickListener(AMap.OnMarkerClickListener) - 类 中的方法com.amap.api.navi.AMapNaviView
-
设置marker点击事件
Set marker click event
- setOnPolylineClickListener(AMap.OnPolylineClickListener) - 类 中的方法com.amap.api.navi.AMapNaviView
-
设置polyline点击事件
Set polyline click event
- setOnRouteCameShow(boolean) - 类 中的方法com.amap.api.navi.model.RouteOverlayOptions
-
设置路线上的摄像头气泡是否显示
Set whether the camera bubble on the route is displayed.
- setOpenNextRoadInfo(boolean) - 类 中的方法com.amap.api.navi.NaviSetting
-
- setOpenTagForward(String) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.ChargingInfo
-
- setOverBitmap(Bitmap, Bitmap) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置全览按钮的默认图片和点击图片(默认态与点击态图片同时设置才生效)
Set the default image and click image of the overview button (both default and click state images need to be set simultaneously to take effect)
- setPassFairRoute(Bitmap) - 类 中的方法com.amap.api.navi.model.RouteOverlayOptions
-
自定义走过的步行路线纹理(虚线)
Customize passed walking route texture (dashed line).
- setPassRoute(Bitmap) - 类 中的方法com.amap.api.navi.model.RouteOverlayOptions
-
自定义走过的路线纹理(实线)
Customize passed route texture (solid line).
- setPassRouteVisible(boolean) - 类 中的方法com.amap.api.navi.view.RouteOverLay
-
- setPoiId(String) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.ServiceAreaInfo
-
- setPoiId(String) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.ServiceChildren
-
- setPoiId(String) - 类 中的方法com.amap.api.navi.model.NaviPoi
-
设置poiid
Set poiid
- setPoint(String) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.BroadcastInfo
-
- setPoint(String) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.ServiceAreaInfo
-
- setPoint(String) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.ServiceChildren
-
- setPoints(String) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.SlopeInfo
-
- setPointToCenter(double, double) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置自车位置锁定在屏幕中的位置
Set the vehicle position locked in the screen
- setPosition(NaviLatLng) - 类 中的方法com.amap.api.navi.AMapNaviMarkerOptions
-
- setPriceChargingDesc(String) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.ChargingInfo
-
- setPriceParkingStd(String) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.ServiceAreaInfo
-
- setRealCrossDisplayShow(boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
- setRect(Rect) - 类 中的方法com.amap.api.navi.model.RouteOverlayOptions
-
设置全览状态下,路线距离四周的边距
Set the margin of the route from the surroundings in the overview state
- setRedLightBitmap(Bitmap, Bitmap) - 类 中的方法com.amap.api.navi.view.AmapCameraOverlay
-
设置闯红灯监控的图片
Set the red-light running monitoring images.
- setRemainDist(int) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.ServiceAreaInfo
-
- setRemainTime(int) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.ServiceAreaInfo
-
- setRestoreType(AMapNaviMpidRestoreType) - 类 中的方法com.amap.api.navi.model.AMapNaviMpidRestoreOption
-
- setRestrictAreaInfoStatus(boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置是否绘制限行图层,注意只影响绘制,只会在算路页面显示,默认值:false,不显示
"Set whether to draw the traffic restriction layer.
- setRestriction(boolean) - 类 中的方法com.amap.api.navi.model.AMapCarInfo
-
设置是否躲避车辆限行
Set whether to avoid vehicle restricted driving.
- setRotate(float) - 类 中的方法com.amap.api.navi.view.DirectionView
-
手动设置旋转矩阵的值
Manually set the value of the rotation matrix
- setRouteListButtonShow(boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置导航界面是否显示路线全览按钮
Set whether the route overview button is displayed in the navigation interface.
- setRouteMarkerVisible(boolean, boolean, boolean) - 类 中的方法com.amap.api.navi.AMapNaviView
-
已过时。
- setRouteMarkerVisible(boolean, boolean, boolean, boolean, boolean) - 类 中的方法com.amap.api.navi.AMapNaviView
-
是否显示 起终途点\步行轮渡扎点\禁行限行封路icon\路线起点icon\路线终点icon
Whether to display start/end/waypoint\walking ferry waypoint\prohibition/restriction/road closure icon\route start icon\route end icon
- setRouteOverlayOptions(RouteOverlayOptions) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置导航内置主路线相关的属性,如:路线的路况颜色,路线上是否显示摄像头气泡等
Set navigation built-in main route related properties, such as: route traffic condition colors, whether to display camera bubbles on the route, etc.
- setRouteOverlayOptions(RouteOverlayOptions) - 类 中的方法com.amap.api.navi.view.RouteOverLay
-
设置路线的配置信息,如:路线的交通状态纹理图片
Set route configuration information, such as: traffic status texture images of the route.
- setRouteOverlayVisible(boolean) - 类 中的方法com.amap.api.navi.view.AmapCameraOverlay
-
- setRouteRemainLightCount(int) - 类 中的方法com.amap.api.navi.model.NaviInfo
-
设置路径剩余红绿灯数量
Set number of remaining traffic lights on the route
- setRouteStrategy(int) - 类 中的方法com.amap.api.navi.AmapNaviParams
-
- setRouteStrategy(int) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
- setSapaDetail(int) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.ServiceAreaInfo
-
- setScaleAutoChangeEnable(Context, boolean) - 类 中的方法com.amap.api.navi.AmapNaviParams
-
设置比例尺智能缩放是否开启
Set whether scale intelligent zoom is enabled
- setScreenAlwaysBright(boolean) - 类 中的方法com.amap.api.navi.NaviSetting
-
设置屏幕是否常亮,默认开启
Set whether the screen is always bright, enabled by default
- setSecondActionVisible(boolean) - 类 中的方法com.amap.api.navi.AmapNaviParams
-
设置组件导航页是否显示下下个路口引导,默认不显示
Set whether the component navigation page shows guidance for the next-next intersection, default is not displayed.
- setSecondActionVisible(boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置是否显示下下个路口的转向引导,默认不显示
Set whether to display turn guidance for the next next intersection, default is not display.
- setSensorEnable(boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
自车图标是否使用陀螺仪方向(只在骑行导航和步行导航下有效)
Whether the vehicle icon uses gyroscope direction (only valid in cycling and walking navigation)
- setServiceAreaDetailsEnable(boolean) - 类 中的方法com.amap.api.navi.AMapNavi
-
设置服务区详情是否打开,打开后组件会显示服务区UI,API会返回服务区类型信息
Set whether to open service area details, after opening, the component will display the service area UI, and the API will return the type information of the service area.
- setServiceAreaInfos(AMapServiceAreaDetailInfo.ServiceAreaInfo[]) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo
-
- setServiceChildren(List<AMapServiceAreaDetailInfo.ServiceChildren>) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.ServiceAreaInfo
-
- setSettingMenuEnabled(Boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置菜单按钮是否在导航界面显示
Set whether the menu button is displayed in the navigation interface.
- setShape(String) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.ServiceAreaInfo
-
- setShowCameraDistance(boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置电子眼的距离是否显示
Set whether to display the distance of electronic eye
- setShowCrossImage(boolean) - 类 中的方法com.amap.api.navi.AmapNaviParams
-
设置驾车导航时是否显示路口放大图
Set whether to show intersection enlargement image during driving navigation
- setShowDriveCongestion(boolean) - 类 中的方法com.amap.api.navi.AMapNaviView
-
是否显示拥堵气泡
Whether to display congestion bubble
- setShowExitNaviDialog(boolean) - 类 中的方法com.amap.api.navi.AmapNaviParams
-
设置退出导航组件是否显示退出弹框
Set whether to show exit dialog when exiting navigation component
- setShowMode(int) - 类 中的方法com.amap.api.navi.AMapNaviView
-
设置导航页面显示模式
Set navigation page display mode
- setShowNaviPopTips(boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
导航过程中是否显示底部的tips, 包括:路线切换,禁限行提示等,默认值:true, 显示
导航过程中是否显示底部的tips, 包括:路线切换,禁限行提示等,默认值:true, 显示\":{\"en\":\"Whether to display the bottom tips during navigation, including: route switching, traffic restriction prompts, etc.
- setShowRouteStrategyPreferencePanel(boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置路径规划偏好策略面板是否显示, 默认值:true, 显示
"Set whether the route planning preference strategy panel is displayed.
- setShowRouteStrategyPreferenceView(boolean) - 类 中的方法com.amap.api.navi.AmapNaviParams
-
表示设置路径规划偏好策略页面是否显示
Indicates whether the route planning preference strategy page is displayed
- setShowSettingsPanel(boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置当点击设置按钮时是否显示默认的设置面板。
- setShowTrafficLightView(boolean) - 类 中的方法com.amap.api.navi.AMapNaviView
-
是否显示红绿灯倒计时气泡
Whether to display traffic light countdown bubble
- setShowVoiceSetings(boolean) - 类 中的方法com.amap.api.navi.AmapNaviParams
-
设置是否展示导航语音播报设置项
Set whether to show navigation voice broadcast settings
- setSlopeAngle(int) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.SlopeInfo
-
- setSlopeHeight(int) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.SlopeInfo
-
- setSlopeInfos(AMapServiceAreaDetailInfo.SlopeInfo[]) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo
-
- setSlopeLength(int) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.SlopeInfo
-
- setSlopeType(int) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.SlopeInfo
-
- setSlowTraffic(Bitmap) - 类 中的方法com.amap.api.navi.model.RouteOverlayOptions
-
设置交通状况迟缓下的纹理位图
Set the texture bitmap under slow traffic conditions.
- setSlowTrafficColor(int) - 类 中的方法com.amap.api.navi.view.TrafficProgressBar
-
设置交通状况缓慢状态的颜色
Set the color of slow traffic condition status
- setSmoothTraffic(Bitmap) - 类 中的方法com.amap.api.navi.model.RouteOverlayOptions
-
设置交通状况情况良好下的纹理位图
Set the texture bitmap under good traffic conditions.
- setSmoothTrafficColor(int) - 类 中的方法com.amap.api.navi.view.TrafficProgressBar
-
设置交通状况情况良好下的颜色
Set the color when traffic conditions are good
- setSoTimeout(int) - 类 中的方法com.amap.api.navi.AMapNavi
-
设置服务器返回超时时间,单位毫秒级,最低3000,默认10000
Set server response timeout time, unit in milliseconds, minimum 3000, default 10000.
- setSpeakerId(String) - 类 中的方法com.amap.api.navi.AMapNaviAppLangOptions
-
- setStartPointBitmap(Bitmap) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置起点位图,须在画路前设置
Set the start point bitmap, must be set before drawing the route
- setStopTtsWhenNaviExit(boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
退出导航页面是否停止内置语音播报,默认值:true,停止
Whether to stop built-in voice broadcast when exiting the navigation page, default value: true, stop
- setStrategy(int) - 类 中的方法com.amap.api.navi.model.AMapNaviCalRouteOptions
-
- setTelephone(String) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.ServiceAreaInfo
-
- setTelephone(String) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.ServiceChildren
-
- setTheme(AmapNaviTheme) - 类 中的方法com.amap.api.navi.AmapNaviParams
-
设置组件主题
Set component theme.
- setTilt(int) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置锁车态下地图倾角
Set the map tilt angle under vehicle lock state.
- setTime(int) - 类 中的方法com.amap.api.navi.model.AMapNaviGuide
-
设置聚合段行驶耗时
Set aggregated segment travel time
- setTime(int) - 类 中的方法com.amap.api.navi.model.AMapNaviToViaInfo
-
exclude
- setTitle(String) - 类 中的方法com.amap.api.navi.AMapNaviMarkerOptions
-
- setTitle(String) - 类 中的方法com.amap.api.navi.model.AMapTrafficIncidentInfo
-
- setTMCRouteColor(int, int, int, int, int, int) - 类 中的方法com.amap.api.navi.AMapNaviView
-
设置光柱图的路口颜色
Set the intersection color of the light column chart
- setTMCRouteLayout(int, int, int, int) - 类 中的方法com.amap.api.navi.AMapNaviView
-
设置光柱图的位置
Set the position of the light column chart
- setTrafficBarEnabled(Boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置路况光柱条是否显示(只适用于驾车导航,需要联网)
Set whether the traffic condition light column bar is displayed (only applicable to driving navigation, requires internet connection).
- setTrafficBitmap(Bitmap, Bitmap) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置路况按钮的开启态图片和关闭态图片(开启态与关闭态图片同时设置才生效)
Set the enabled state image and disabled state image of the traffic condition button (both enabled and disabled state images need to be set simultaneously to take effect)
- setTrafficEnabled(boolean) - 类 中的方法com.amap.api.navi.AmapNaviParams
-
导航组件路况开关是否打开
Whether the navigation component traffic condition switch is turned on
- setTrafficInfoUpdateEnabled(boolean) - 类 中的方法com.amap.api.navi.AMapNavi
-
设置是否打开移动交通台功能
Set whether to open the mobile traffic station function.
- setTrafficInfoUpdateEnabled(boolean) - 类 中的方法com.amap.api.navi.NaviSetting
-
- setTrafficLayerEnabled(Boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置[实时交通图层开关按钮]是否显示(只适用于驾车导航,需要联网)
Set whether the [real-time traffic layer switch button] is displayed (only applicable to driving navigation, requires internet connection).
- setTrafficLightsVisible(boolean) - 类 中的方法com.amap.api.navi.AMapNaviView
-
设置是否显示路线上的交通信号灯
Set whether to display traffic lights on the route
- setTrafficLine(boolean) - 类 中的方法com.amap.api.navi.AMapNaviView
-
- setTrafficLine(boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置地图上是否显示交通路况(彩虹线)
Set whether to display traffic conditions (rainbow lines) on the map.
- setTrafficStatusUpdateEnabled(boolean) - 类 中的方法com.amap.api.navi.AMapNavi
-
设置交通状态是否更新
Set whether to update traffic status.
- setTrafficStatusUpdateEnabled(boolean) - 类 中的方法com.amap.api.navi.NaviSetting
-
- setTransparency(float) - 类 中的方法com.amap.api.navi.view.RouteOverLay
-
设置该routeOverlay的透明度
Set the transparency of this routeOverlay
- setTravelInfo(AMapTravelInfo) - 类 中的方法com.amap.api.navi.AMapNavi
-
设置骑步行信息(骑行、步行)
Set cycling or walking information.
- setTruckMultipleRouteNaviMode(boolean) - 类 中的方法com.amap.api.navi.AMapNavi
-
设置货车多路线导航模式(导航中拥有若干条备选路线供用户选择), 或单路线导航模式(默认模式)
Set the multi-route navigation mode for trucks (where there are several alternative routes available for users to choose from) or single route navigation mode (default mode)
注意:此方法仅限于在开始导航前调用有效,步行与骑行导航无效,以下情况不会出现多备选路线:模拟导航、路线存在途经点、路线长度超过80KM。
- setTruckMultipleRouteNaviMode(boolean) - 类 中的方法com.amap.api.navi.AmapNaviParams
-
设置货车多路线导航模式(导航中拥有若干条备选路线供用户选择), 或单路线导航模式(默认模式)
Set truck multi-route navigation mode (navigation with several alternative routes for user selection), or single-route navigation mode (default mode).
- setTtsPlaying(boolean) - 类 中的静态方法com.amap.api.navi.AMapNavi
-
设置外部播放器是否正在播报
Set whether the external player is currently broadcasting.
- setTtsVoicePath(String) - 类 中的方法com.amap.api.navi.AMapNaviAppLangOptions
-
- setTurnArrowIs3D(boolean) - 类 中的方法com.amap.api.navi.model.RouteOverlayOptions
-
设置是否显示3D箭头,默认显示
Set whether to display 3D arrows, displayed by default
- setType(int) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.BroadcastInfo
-
- setType(int) - 类 中的方法com.amap.api.navi.model.AMapTrafficIncidentInfo
-
- setTypeCode(String) - 类 中的方法com.amap.api.navi.model.AMapServiceAreaDetailInfo.ServiceChildren
-
- setUnknownTraffic(Bitmap) - 类 中的方法com.amap.api.navi.model.RouteOverlayOptions
-
设置交通状况未知下的纹理位图
Set the texture bitmap under unknown traffic conditions.
- setUnknownTrafficColor(int) - 类 中的方法com.amap.api.navi.view.TrafficProgressBar
-
设置未知路况状态的颜色
Set the color of unknown road condition status
- setUseInnerVoice(boolean) - 类 中的方法com.amap.api.navi.AMapNavi
-
已过时。
- setUseInnerVoice(boolean, boolean) - 类 中的方法com.amap.api.navi.AMapNavi
-
设置使用内部语音播报
Set internal voice announcement usage
- setUseInnerVoice(boolean) - 类 中的方法com.amap.api.navi.AmapNaviParams
-
设置是否使用内部语音播报
Set whether to use internal voice broadcast
- setVehicleAxis(String) - 类 中的方法com.amap.api.navi.model.AMapCarInfo
-
设置货车的轴数,mCarType = 1时候生效,取值[0-255],默认为2
Set the number of truck axles, effective when mCarType = 1, value range [0-255], default is 2
- setVehicleHeight(String) - 类 中的方法com.amap.api.navi.model.AMapCarInfo
-
设置货车的高度,单位:米,mCarType = 1时候生效,取值[0-25.5]
如:1.8,1.5等等。
- setVehicleLength(String) - 类 中的方法com.amap.api.navi.model.AMapCarInfo
-
设置货车的最大长度,单位:米,mCarType = 1时候生效,取值[0-25]
如:1.8,1.5等等,默认6米
Set the maximum length of the truck, unit: meter, effective when mCarType = 1, value range [0-25]
e.g.: 1.8, 1.5, etc., default is 6 meters
- setVehicleLoad(String) - 类 中的方法com.amap.api.navi.model.AMapCarInfo
-
设置货车的总重,即车重+核定载重,单位:吨,mCarType = 1时候生效,取值[0-6553.5]
Set the total weight of the truck, i.e., vehicle weight + approved load, unit: ton, effective when mCarType = 1, value range [0-6553.5]
- setVehicleLoadSwitch(boolean) - 类 中的方法com.amap.api.navi.model.AMapCarInfo
-
设置货车重量是否参与算路
Set whether the truck weight participates in route calculation
- setVehicleSize(String) - 类 中的方法com.amap.api.navi.model.AMapCarInfo
-
设置货车的大小,默认为2
Set the truck size, default is 2
- setVehicleWeight(String) - 类 中的方法com.amap.api.navi.model.AMapCarInfo
-
设置货车的核定载重,单位:吨,mCarType = 1时候生效,取值[0-6553.5]
Set the approved load of the truck, unit: ton, effective when mCarType = 1, value range [0-6553.5]
- setVehicleWidth(String) - 类 中的方法com.amap.api.navi.model.AMapCarInfo
-
设置货车的最大宽度,单位:米,mCarType = 1时候生效,取值[0-25.5]
如:1.8,1.5等等。
- setVeryJamTraffic(Bitmap) - 类 中的方法com.amap.api.navi.model.RouteOverlayOptions
-
设置交通状况非常拥堵下的纹理位图
Set the texture bitmap under very congested traffic conditions
- setVeryJamTrafficColor(int) - 类 中的方法com.amap.api.navi.view.TrafficProgressBar
-
设置非常拥堵状态的颜色
Set the color of very congested status
- setViaIndex(int) - 类 中的方法com.amap.api.navi.model.AMapNaviToViaInfo
-
exclude
- setViewOptions(AMapNaviViewOptions) - 类 中的方法com.amap.api.navi.AMapNaviView
-
设置导航自定义视图界面的属性配置对象,用于控制导航地图的仰角,是否展示车道信息,是否显示路况放大图等属性
Set the property configuration object of the navigation custom view interface, used to control properties such as map tilt angle, whether to display lane information, whether to display traffic condition enlargement map, etc.
- setVisibility(int) - 类 中的方法com.amap.api.navi.AMapNaviMapView
-
设置可见性
- setVoiceAssistSettings(AMapNaviViewOptions.VoiceAssistSettings) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置语音辅助功能的相关配置项
Set the relevant configuration items for voice assistance function
- setWayPointBitmap(Bitmap) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置导航过程中的途经点位图,须在画路前设置
Set the waypoint bitmap during navigation, must be set before drawing the route
- setWidgetOverSpeedPulseEffective(boolean) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置超速脉冲是否显示
Set whether to display overspeed pulse
- setWidth(int) - 类 中的方法com.amap.api.navi.view.AMapModeCrossOverlay
-
设置路口放大图Bitmap宽度 单位像素
Set the bitmap width of the intersection enlargement map in pixels
- setzIndex(float) - 类 中的方法com.amap.api.navi.AMapNaviMarkerOptions
-
- setZindex(int) - 类 中的方法com.amap.api.navi.view.RouteOverLay
-
设置当前路线的权重,如果路线有重合部分,那么权重高的路线将展现在上面
Set the weight of the current route, If the routes overlap, the route with higher weight will be displayed on top.
- setZoom(int) - 类 中的方法com.amap.api.navi.AMapNaviViewOptions
-
设置锁车下地图缩放等级(仅在关闭了动态比例尺下生效)
Set the map zoom level under vehicle lock (only effective when dynamic scale is turned off)
- SGNaviSetting - com.amap.api.navi中的类
-
- SGNaviSetting() - 类 的构造器com.amap.api.navi.SGNaviSetting
-
- SHOW_MODE_DEFAULT - 类 中的静态变量com.amap.api.navi.enums.AMapNaviViewShowMode
-
普通状态
Normal state
- SHOW_MODE_DISPLAY_OVERVIEW - 类 中的静态变量com.amap.api.navi.enums.AMapNaviViewShowMode
-
全览状态
Overview state
- SHOW_MODE_LOCK_CAR - 类 中的静态变量com.amap.api.navi.enums.AMapNaviViewShowMode
-
锁车状态
Vehicle lock state
- showCross(AMapNaviCross) - 接口 中的方法com.amap.api.navi.AMapNaviListener
-
显示路口放大图回调(实景图)
Display intersection enlargement map callback (real scene map).
- showCross(AMapNaviCross) - 类 中的方法com.amap.api.navi.SimpleNaviListener
-
- showCrossOverlay(byte[]) - 类 中的方法com.amap.api.navi.view.AMapModeCrossOverlay
-
显示模型路口放大图
Display model intersection enlargement map
- showEagleMap(Context, boolean) - 类 中的方法com.amap.api.navi.AmapNaviParams
-
- showLaneInfo(AMapLaneInfo[], byte[], byte[]) - 接口 中的方法com.amap.api.navi.AMapNaviListener
-
- showLaneInfo(AMapLaneInfo) - 接口 中的方法com.amap.api.navi.AMapNaviListener
-
显示道路信息回调
Display road information callback.
- showLaneInfo(AMapLaneInfo[], byte[], byte[]) - 类 中的方法com.amap.api.navi.SimpleNaviListener
-
已过时。
- showLaneInfo(AMapLaneInfo) - 类 中的方法com.amap.api.navi.SimpleNaviListener
-
- showModeCross(AMapModelCross) - 接口 中的方法com.amap.api.navi.AMapNaviListener
-
显示路口放大图回调(模型图)
Display intersection enlargement map callback (model map).
- showModeCross(AMapModelCross) - 类 中的方法com.amap.api.navi.SimpleNaviListener
-
- showRouteActivity(Context, AmapNaviParams, INaviInfoCallback) - 类 中的方法com.amap.api.navi.AmapNaviPage
-
调起导航组件功能
使用此功能后不能再使用AmapNavi对象的任何方法
Invoke navigation component function
After using this function, you can no longer use any methods of the AmapNavi object.
- showRouteActivity(Context, AmapNaviParams, INaviInfoCallback, Class<? extends AmapRouteActivity>) - 类 中的方法com.amap.api.navi.AmapNaviPage
-
调起导航组件功能
使用此功能后不能再使用AmapNavi对象的任何方法
Invoke navigation component function
After using this function, you can no longer use any methods of the AmapNavi object.
- showVoiceAssistEnable() - 类 中的方法com.amap.api.navi.AmapNaviPage
-
设置中是否展示音频控制项
Whether to show audio control items in settings
- showVoiceAssistEnable() - 类 中的方法com.amap.api.navi.AmapNaviParams
-
是否展示导航语音播报设置项
Whether to show navigation voice broadcast settings
- SIDE_ROAD - 类 中的静态变量com.amap.api.navi.enums.RoadType
-
7-辅路
7-Side road
- SIGHTSEEING_BUSLINE - 类 中的静态变量com.amap.api.navi.enums.IconType
-
通过观光车路线图标(数值:41)骑行、步行专有图标
Through sightseeing busline icon (Value: 41) Cycling and walking exclusive icons
- SimpleNaviListener - com.amap.api.navi中的类
-
- SimpleNaviListener() - 类 的构造器com.amap.api.navi.SimpleNaviListener
-
- SITUATION_TYPE_ACCIDENT - 类 中的静态变量com.amap.api.navi.model.AMapNaviSituationInfo
-
事故
- SITUATION_TYPE_CLOSE - 类 中的静态变量com.amap.api.navi.model.AMapNaviSituationInfo
-
封路
- SITUATION_TYPE_CONSTRUCTION - 类 中的静态变量com.amap.api.navi.model.AMapNaviSituationInfo
-
施工
- SITUATION_TYPE_CONTROL - 类 中的静态变量com.amap.api.navi.model.AMapNaviSituationInfo
-
管制
- SKY_CHANNEL - 类 中的静态变量com.amap.api.navi.enums.IconType
-
通过空中通道图标(数值:37)骑行、步行专有图标
Through sky channel icon (Value: 37) Cycling and walking exclusive icons
- SLIDEWAY - 类 中的静态变量com.amap.api.navi.enums.IconType
-
通过滑道图标(数值:42)骑行、步行专有图标
Through slideway icon (Value: 42) Cycling and walking exclusive icons
- SLOPE - 类 中的静态变量com.amap.api.navi.enums.IconType
-
通过斜坡(数值:44)骑行、步行专有图标
Through slope icon (Value: 44) Cycling and walking exclusive icons
- SLOPE_TYPE_DOWN - 类 中的静态变量com.amap.api.navi.AMapNavi
-
- SLOPE_TYPE_UP - 类 中的静态变量com.amap.api.navi.AMapNavi
-
- SlopeInfo() - 类 的构造器com.amap.api.navi.model.AMapServiceAreaDetailInfo.SlopeInfo
-
- SLOW - 类 中的静态变量com.amap.api.navi.enums.TrafficStatus
-
2-道路缓行
2-Road slow
- SMOOTH - 类 中的静态变量com.amap.api.navi.enums.TrafficStatus
-
1-道路通畅
1-Road smooth
- SPECIAL_CONTINUE - 类 中的静态变量com.amap.api.navi.enums.IconType
-
顺行图标(数值:20)
Straight ahead icon (Value: 20)
- SPECIALROAD_DETECTED - 类 中的静态变量com.amap.api.navi.enums.AimLessMode
-
2-巡航模式只播报特殊路段
2-Cruise mode only reports special road sections
- SPEED - 类 中的静态变量com.amap.api.navi.enums.CameraType
-
测速摄像
Speed camera
- SQUARE - 类 中的静态变量com.amap.api.navi.enums.IconType
-
通过广场图标(数值:32)骑行、步行专有图标
Through square icon (Value: 32) Cycling and walking exclusive icons
- STAIRCASE - 类 中的静态变量com.amap.api.navi.enums.IconType
-
通过扶梯图标(数值:34)骑行、步行专有图标
Through escalator icon (Value: 34) Cycling and walking exclusive icons
- startAimlessMode(int) - 类 中的方法com.amap.api.navi.AMapNavi
-
设置在巡航模式(无路线规划)的状态下,智能播报的类型
Set the type of smart announcements in cruise mode (without route planning).
- startEnterAnimation() - 类 中的方法com.amap.api.navi.view.ExitConfirmView
-
- startEnterAnimation() - 类 中的方法com.amap.api.navi.view.GPSFooterView
-
- startExitAnimation() - 类 中的方法com.amap.api.navi.view.ExitConfirmView
-
- startExitAnimation() - 类 中的方法com.amap.api.navi.view.GPSFooterView
-
- startGPS() - 类 中的方法com.amap.api.navi.AMapNavi
-
启动手机卫星定位
Start satellite positioning on the phone.
- startGPS(long, int) - 类 中的方法com.amap.api.navi.AMapNavi
-
- startGPS(long) - 类 中的方法com.amap.api.navi.AMapNavi
-
启动手机卫星定位, 带定位时间间隔参数
Activate mobile satellite positioning with timing interval parameter.
- startNavi(int) - 类 中的方法com.amap.api.navi.AMapNavi
-
开始导航。
- startNavi() - 类 中的方法com.amap.api.navi.AMapNaviParkLimitControl
-
- startNaviWithPath(int, AMapNaviPathGroup) - 类 中的方法com.amap.api.navi.AMapNavi
-
使用指定路线开始导航
Start navigation using a specified route
- startSpeak() - 类 中的方法com.amap.api.navi.AMapNavi
-
开始内置语音播报,只有在使用内置语音的情况下才有效
Start internal voice broadcast, effective only when using internal voice
- status - 类 中的变量com.amap.api.navi.model.NaviCongestionInfo
-
拥堵程度
Congestion level.
- status - 类 中的变量com.autonavi.ae.maps.CoreRouteTrafficStatusColor
-
路况状态
- STATUS_MAIN_ROAD - 类 中的静态变量com.amap.api.navi.enums.AMapNaviParallelRoadStatus
-
在主路(高架上)态
On main road (on elevated road) status
- STATUS_NONE - 类 中的静态变量com.amap.api.navi.enums.AMapNaviParallelRoadStatus
-
无主辅路(无高架)态
No main/sub-road (no elevated road) status
- STATUS_SIDE_ROAD - 类 中的静态变量com.amap.api.navi.enums.AMapNaviParallelRoadStatus
-
在辅路(高架下)态
On side road (under elevated road) status
- stopAimlessMode() - 类 中的方法com.amap.api.navi.AMapNavi
-
停止巡航模式
Stop cruise mode.
- stopGPS() - 类 中的方法com.amap.api.navi.AMapNavi
-
停止手机卫星定位
Stop mobile satellite positioning.
- stopNavi() - 类 中的方法com.amap.api.navi.AMapNavi
-
停止导航,包含实时导航和模拟导航
Stop navigation, including real-time navigation and simulated navigation.
- stopNavi() - 类 中的方法com.amap.api.navi.AMapNaviParkLimitControl
-
- stopSpeak() - 类 中的方法com.amap.api.navi.AMapNavi
-
停止内置语音播报,只有在使用内置语音的情况下有效
Stop internal voice broadcast, effective only when using internal voice.
- STRAIGHT - 类 中的静态变量com.amap.api.navi.enums.IconType
-
直行图标(数值:9)
Straight icon (Value: 9)
- strategyConvert(boolean, boolean, boolean, boolean, boolean) - 类 中的方法com.amap.api.navi.AMapNavi
-
进行算路策略转换,将传入的特定规则转换成PathPlanningStrategy的枚举值
Perform route planning strategy conversion, converting the specific rules passed into enum values of PathPlanningStrategy.
- SUBWAY - 类 中的静态变量com.amap.api.navi.enums.IconType
-
通过地铁通道(数值:47)骑行、步行专有图标
Through subway icon (Value: 47) Cycling and walking exclusive icons
- SURVEILLANCE - 类 中的静态变量com.amap.api.navi.enums.CameraType
-
监控摄像
Surveillance camera
- switchParallelRoad() - 类 中的方法com.amap.api.navi.AMapNavi
-
已过时。
- switchParallelRoad(int) - 类 中的方法com.amap.api.navi.AMapNavi
-
切换平行路,目前支持主辅路和高架上下切换
Switch parallel roads, currently supports main and auxiliary road switching and overpass up and down switching.