fix log print

This commit is contained in:
jiaguofeng
2020-08-18 17:52:31 +08:00
parent d10b4dba2b
commit 5d83c4a2e2
14 changed files with 18 additions and 19 deletions

View File

@@ -26,7 +26,6 @@ public class AMapBaseMapView implements IMogoMapViewCreator {
MapAutoApi.INSTANCE.init(context, MapParams.Companion.init().setDebugMode( false )
.setCoordinateType( MapParams.COORDINATETYPE_GCJ02 )
.setPerspectiveMode( MapParams.MAP_PERSPECTIVE_2D )
// .setStyleDir("/sdcard/shmdata/style" )
.setZoom( 16 )
.setPointToCenter(0.5f,0.5f)
.setStyleMode( MapParams.MAP_STYLE_NIGHT ) );

View File

@@ -50,7 +50,7 @@
// * @author congtaowang
// * @since 2019-12-18
// * <p>
// * 代理高德导航地图
// * 代理自研导航地图
// */
//public class AMapNaviViewWrapper implements IMogoMapView,
// IMogoMapUIController,
@@ -477,7 +477,7 @@
//
// private boolean checkAMapView() {
// if ( mMapView == null ) {
// Logger.e( TAG, "高德mapView实例为空请检查" );
// Logger.e( TAG, "自研mapView实例为空请检查" );
// return false;
// }
// return true;

View File

@@ -9,7 +9,7 @@ import java.lang.reflect.Method;
* @author congtaowang
* @since 2019-12-18
* <p>
* 代理高德地图UiSettings
* 代理自研地图UiSettings
*/
public class AMapUiSettingsWrapper implements IMogoUiSettings {

View File

@@ -335,7 +335,7 @@ public class AMapViewWrapper implements IMogoMapView, IMogoMapUIController, Loca
private boolean checkAMapView() {
if (mMapView == null || mMapView.getMapAutoViewHelper() == null) {
Logger.e(TAG, "高德mapView实例为空请检查");
Logger.e(TAG, "自研mapView实例为空请检查");
return false;
}
return true;

View File

@@ -37,7 +37,7 @@ import java.util.List;
* @author congtaowang
* @since 2019-12-18
* <p>
* 代理高德AMap
* 代理自研AMap
*/
public class AMapWrapper implements IMogoMap {
@@ -262,7 +262,7 @@ public class AMapWrapper implements IMogoMap {
mAMap = mMapView.getMapAutoViewHelper();
sAMap = mAMap;
if (mAMap == null) {
Logger.e(TAG, "高德map实例为空请检查");
Logger.e(TAG, "自研map实例为空请检查");
return false;
}
return true;

View File

@@ -22,7 +22,7 @@ import java.util.Set;
* @author congtaowang
* @since 2019-12-19
* <p>
* 高德定位
* 自研定位
*/
public class ALocationClient implements IMogoLocationClient {

View File

@@ -35,7 +35,7 @@ import java.util.Observer;
* @author congtaowang
* @since 2019-12-18
* <p>
* 高德marker
* 自研marker
*/
public class AMapMarkerWrapper implements IMogoMarker, Observer {
@@ -54,7 +54,7 @@ public class AMapMarkerWrapper implements IMogoMarker, Observer {
public AMapMarkerWrapper(Marker marker, MogoMarkerOptions mogoMarkerOptions) {
this.mMarker = marker;
if (marker != null) {
// 设置高德 marker 的object对象为 IMogoMarker 实例。!!!!
// 设置自研 marker 的object对象为 IMogoMarker 实例。!!!!
marker.setMObject(this);
MarkerWrapperClickHelper.getInstance().setMogoMarkerMap(marker.getId(),this);
}

View File

@@ -21,7 +21,7 @@
// * @author congtaowang
// * @since 2019-12-25
// * <p>
// * 高德导航事件:导航事件
// * 自研导航事件:导航事件
// */
//public abstract class AMapNaviListenerAdapter implements AMapNaviListener {
//

View File

@@ -34,7 +34,7 @@ import java.util.List;
* @author congtaowang
* @since 2019-12-25
* <p>
* 高德导航
* 自研导航
*/
public class NaviClient implements IMogoNavi {
@@ -283,7 +283,7 @@ public class NaviClient implements IMogoNavi {
private boolean checkAMapNavi() {
mAMapNavi = AMapWrapper.getAMap();
if ( mAMapNavi == null ) {
Logger.e( TAG, "高德导航实例为空!!!" );
Logger.e( TAG, "自研导航实例为空!!!" );
return false;
}
return true;

View File

@@ -30,7 +30,7 @@
// * @author congtaowang
// * @since 2019-12-25
// * <p>
// * 高德导航回调
// * 自研导航回调
// */
//public class NaviListenerAdapter extends AMapNaviListenerAdapter {
//

View File

@@ -26,7 +26,7 @@ import java.util.List;
* @author congtaowang
* @since 2019-12-19
* <p>
* 地理编码/逆地理编码高德实现
* 地理编码/逆地理编码自研实现
*/
public class GeocodeSearchClient implements IMogoGeoSearch, OnGeocodeSearchListener {

View File

@@ -20,7 +20,7 @@ import java.util.List;
* @author congtaowang
* @since 2019-12-20
* <p>
* 高德地图 inputtips搜索实现
* 自研地图 inputtips搜索实现
*/
public class InputtipsSearch implements IMogoInputtipsSearch, InputtipsListener {

View File

@@ -25,7 +25,7 @@ import java.util.List;
* @author congtaowang
* @since 2019-12-24
* <p>
* poi搜索高德实现
* poi搜索自研实现
* <p>
* 错误码对照表https://lbs.amap.com/api/android-sdk/guide/map-tools/error-code
*/

View File

@@ -57,8 +57,8 @@
// options.setPassRoute( colorToBitmap( ColorEnum.light_gray.getColor() ) );
//// // 设置路线虚线纹理
//// options.setFairWayRes( colorToBitmap( ColorEnum.route_overlay_line_normal.getColor() ) );
// options.setArrowColor( Color.parseColor( "#92C9FF" ) ); // 高德地图内部配置颜色
// options.setArrowSideColor( Color.parseColor( "#4F9BF2" ) ); // 高德地图内部配置颜色
// options.setArrowColor( Color.parseColor( "#92C9FF" ) ); // 自研地图内部配置颜色
// options.setArrowSideColor( Color.parseColor( "#4F9BF2" ) ); // 自研地图内部配置颜色
// return options;
// }
//