# 已过时的 API

## 目录

- 已过时的接口
- 已过时的类
- 已过时的字段
- 已过时的方法
- 已过时的构造器

- 已过时的接口
  接口和说明
  com.amap.api.maps.AMap.onMapPrintScreenListener 建议使用 `AMap.OnMapScreenShotListener` It is recommended to use `AMap.OnMapScreenShotListener`

- 已过时的类
  类和说明
  com.amap.api.maps.utils.overlay.SmoothMoveMarker 建议使用 `MovingPointOverlay` 替换 It is recommended to replace with `MovingPointOverlay`

- 已过时的字段
  字段和说明
  com.amap.api.maps.model.NaviPara.DRIVING_AVOID_CONGESTION
  com.amap.api.maps.model.NaviPara.DRIVING_DEFAULT
  com.amap.api.maps.model.NaviPara.DRIVING_NO_HIGHWAY
  com.amap.api.maps.model.NaviPara.DRIVING_NO_HIGHWAY_AVOID_CONGESTION
  com.amap.api.maps.model.NaviPara.DRIVING_NO_HIGHWAY_AVOID_SHORT_MONEY
  com.amap.api.maps.model.NaviPara.DRIVING_NO_HIGHWAY_SAVE_MONEY_AVOID_CONGESTION
  com.amap.api.maps.model.NaviPara.DRIVING_SAVE_MONEY
  com.amap.api.maps.model.NaviPara.DRIVING_SAVE_MONEY_AVOID_CONGESTION
  com.amap.api.maps.model.NaviPara.DRIVING_SHORT_DISTANCE
  com.amap.api.maps.AMap.LOCATION_TYPE_LOCATE 5.0.0 之后请参考 `MyLocationStyle.LOCATION_TYPE_LOCATE` After 5.0.0, please refer to `MyLocationStyle.LOCATION_TYPE_LOCATE`
  com.amap.api.maps.AMap.LOCATION_TYPE_MAP_FOLLOW 5.0.0 之后请参考 `MyLocationStyle.LOCATION_TYPE_FOLLOW` After 5.0.0, please refer to `MyLocationStyle.LOCATION_TYPE_FOLLOW`
  com.amap.api.maps.AMap.LOCATION_TYPE_MAP_ROTATE 5.0.0 之后请参考 `MyLocationStyle.LOCATION_TYPE_MAP_ROTATE` After 5.0.0, please refer to `MyLocationStyle.LOCATION_TYPE_MAP_ROTATE`

- 已过时的方法
  方法和说明
  com.amap.api.maps.AMap.getMapPrintScreen(AMap.onMapPrintScreenListener) 建议使用`AMap.getMapScreenShot(OnMapScreenShotListener)` It is recommended to use `AMap.getMapScreenShot(OnMapScreenShotListener)`"
  com.amap.api.maps.AMap.getMyTrafficStyle() 自7.8.0之后不再支持 No longer supported since version 7.8.0.
  com.amap.api.maps.MapsInitializer.getNetWorkEnable() 5.0.0开始废弃 Deprecated since version 5.0.0.
  com.amap.api.maps.model.NavigateArrow.getSideColor()
  com.amap.api.maps.AMap.getVersion()
  com.amap.api.maps.model.MarkerOptions.isPerspective()
  com.amap.api.maps.model.Marker.isPerspective() 已取消这个效果 This effect has been canceled.
  com.amap.api.maps.model.MarkerOptions.perspective(boolean)
  com.amap.api.maps.AMap.setCustomMapStyleID(String) 该方法已无效，建议到官网lbs.amap.com更新样式文件并使用 `AMap.setCustomMapStyle(CustomMapStyleOptions)` )} 替换 This method is invalid. It is recommended to update the style file on the official website lbs.amap.com and use `AMap.setCustomMapStyle(CustomMapStyleOptions)` )} to replace it
  com.amap.api.maps.AMap.setCustomMapStylePath(String) 该方法已无效，建议到官网lbs.amap.com更新样式文件并使用 `AMap.setCustomMapStyle(CustomMapStyleOptions)` )} 替换 This method is invalid. It is recommended to update the style file on the official website lbs.amap.com and use `AMap.setCustomMapStyle(CustomMapStyleOptions)` )} to replace it
  com.amap.api.maps.AMap.setMapCustomEnable(boolean) 该方法已无效，建议到官网lbs.amap.com更新样式文件并使用 `AMap.setCustomMapStyle(CustomMapStyleOptions)` )} 替换 This method is invalid. It is recommended to update the style file on the official website lbs.amap.com and use `AMap.setCustomMapStyle(CustomMapStyleOptions)` )} to replace it
  com.amap.api.maps.AMap.setMyLocationRotateAngle(float) 自5.0.0 废弃 Deprecated since version 5.0.0.
  com.amap.api.maps.AMap.setMyLocationType(int) 5.0.0 之后请使用 `AMap.setMyLocationStyle(MyLocationStyle)` 代替 After version 5.0.0, please use `AMap.setMyLocationStyle(MyLocationStyle)` instead.
  com.amap.api.maps.AMap.setMyTrafficStyle(MyTrafficStyle) 自7.8.0之后不再支持 No longer supported since version 7.8.0.
  com.amap.api.maps.MapsInitializer.setNetWorkEnable(boolean) 5.0.0开始废弃 Deprecated since version 5.0.0.
  com.amap.api.maps.model.Marker.setPerspective(boolean) 已取消这个效果 This effect has been canceled.
  com.amap.api.maps.model.BuildingOverlayOptions.setZIndex(float) 该设置废弃，请使用`BuildingOverlay.setZIndex(float)`
  com.amap.api.maps.Projection.toMapLocation(LatLng)

- 已过时的构造器
  构造器和说明
  com.amap.api.trace.LBSTraceClient(Context) 使用 {`LBSTraceClient.getInstance(Context)`} Use {`LBSTraceClient.getInstance(Context)`}