opt
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 24 KiB |
BIN
libraries/mogo-map-api/src/main/res/drawable-xhdpi/ic_navi_start.png
Executable file → Normal file
BIN
libraries/mogo-map-api/src/main/res/drawable-xhdpi/ic_navi_start.png
Executable file → Normal file
Binary file not shown.
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.9 KiB |
BIN
libraries/mogo-map-api/src/main/res/drawable-xhdpi/ic_navi_target.png
Executable file → Normal file
BIN
libraries/mogo-map-api/src/main/res/drawable-xhdpi/ic_navi_target.png
Executable file → Normal file
Binary file not shown.
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 4.9 KiB |
Reference in New Issue
Block a user