修改“查询我的分享”不生效问题

This commit is contained in:
tongchenfei
2020-11-04 20:04:40 +08:00
parent 706749aa80
commit aaa955a1fd
3 changed files with 12 additions and 6 deletions

View File

@@ -48,7 +48,9 @@ public class AMapWrapper implements IMogoMap {
mContext = context;
mUIcontroller = controller;
// 设置实现自定义 info window
mAMap.setInfoWindowAdapter( new AMapInfoWindowAdapter() );
if(mAMap!=null) {
mAMap.setInfoWindowAdapter(new AMapInfoWindowAdapter());
}
AMapUIController.getInstance().initClient( mUIcontroller );
}