bugfix: UI-727, UI-726

This commit is contained in:
wangcongtao
2020-05-09 11:34:11 +08:00
parent eec15d2bd5
commit 2a8dca135e
7 changed files with 407 additions and 330 deletions

View File

@@ -66,6 +66,11 @@ public class MogoMarkerOptions extends Observable {
private Object mObject;
/**
* 是否加入marker管理
*/
private boolean mAutoManager = true;
public MogoMarkerOptions position( MogoLatLng latLng ){
if ( latLng != null ) {
latitude( latLng.lat );
@@ -294,4 +299,13 @@ public class MogoMarkerOptions extends Observable {
public Object getObject() {
return mObject;
}
public boolean isAutoManager() {
return mAutoManager;
}
public MogoMarkerOptions autoManager( boolean autoManager ) {
this.mAutoManager = autoManager;
return this;
}
}