This commit is contained in:
wangcongtao
2020-01-13 15:29:54 +08:00
parent ef8e4979d3
commit 565541496d
107 changed files with 270 additions and 328 deletions

View File

@@ -60,6 +60,8 @@ public class MogoMarkerOptions extends Observable {
// marker 归属模块
private String mOwner;
private Object mObject;
public MogoMarkerOptions latitude( double latitude ) {
this.latitude = latitude;
return this;
@@ -156,6 +158,11 @@ public class MogoMarkerOptions extends Observable {
return this;
}
public MogoMarkerOptions object( Object object ) {
this.mObject = object;
return this;
}
/**
* 自定义marker图层样式优先使用 icon {@link #icon(Bitmap)}作为marker资源
*
@@ -255,4 +262,8 @@ public class MogoMarkerOptions extends Observable {
public String getOwner() {
return mOwner;
}
public Object getObject() {
return mObject;
}
}