opt
This commit is contained in:
@@ -4,6 +4,8 @@ import android.graphics.Bitmap;
|
||||
import android.location.Location;
|
||||
import android.view.View;
|
||||
|
||||
import androidx.annotation.RawRes;
|
||||
|
||||
import com.mogo.map.MogoLatLng;
|
||||
import com.mogo.map.location.MogoLocation;
|
||||
|
||||
@@ -71,6 +73,8 @@ public class MogoMarkerOptions extends Observable {
|
||||
*/
|
||||
private boolean mAutoManager = true;
|
||||
|
||||
private @RawRes int mIcon3DRes = 0;
|
||||
|
||||
public MogoMarkerOptions position( MogoLatLng latLng ){
|
||||
if ( latLng != null ) {
|
||||
latitude( latLng.lat );
|
||||
@@ -212,6 +216,11 @@ public class MogoMarkerOptions extends Observable {
|
||||
return this;
|
||||
}
|
||||
|
||||
public MogoMarkerOptions icon3DRes(@RawRes int icon3DRes){
|
||||
this.mIcon3DRes = icon3DRes;
|
||||
return this;
|
||||
}
|
||||
|
||||
public double getLatitude() {
|
||||
return latitude;
|
||||
}
|
||||
@@ -309,6 +318,10 @@ public class MogoMarkerOptions extends Observable {
|
||||
return this;
|
||||
}
|
||||
|
||||
public int getIcon3DRes() {
|
||||
return mIcon3DRes;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "MogoMarkerOptions{" +
|
||||
|
||||
Reference in New Issue
Block a user