优化显示逻辑
This commit is contained in:
@@ -17,6 +17,7 @@ public class MogoLatLng implements Parcelable {
|
||||
@Deprecated
|
||||
public final double lng;
|
||||
public final double lon;
|
||||
public long time;
|
||||
|
||||
public MogoLatLng( double lat, double lon ) {
|
||||
this.lat = lat;
|
||||
@@ -42,6 +43,13 @@ public class MogoLatLng implements Parcelable {
|
||||
return lon;
|
||||
}
|
||||
|
||||
public long getTime() {
|
||||
return time;
|
||||
}
|
||||
|
||||
public void setTime( long time ) {
|
||||
this.time = time;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals( Object o ) {
|
||||
@@ -75,12 +83,14 @@ public class MogoLatLng implements Parcelable {
|
||||
dest.writeDouble( this.lat );
|
||||
dest.writeDouble( this.lng );
|
||||
dest.writeDouble( this.lon );
|
||||
dest.writeLong( this.time );
|
||||
}
|
||||
|
||||
protected MogoLatLng( Parcel in ) {
|
||||
this.lat = in.readDouble();
|
||||
this.lng = in.readDouble();
|
||||
this.lon = in.readDouble();
|
||||
this.time = in.readLong();
|
||||
}
|
||||
|
||||
public static final Creator< MogoLatLng > CREATOR = new Creator< MogoLatLng >() {
|
||||
|
||||
@@ -351,6 +351,24 @@ public interface IMogoMarker {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 使用缓存过的3d资源
|
||||
*
|
||||
* @param resName
|
||||
*/
|
||||
default void use3DResource( String resName ) {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 使用缓存过的2d资源
|
||||
*
|
||||
* @param resName
|
||||
*/
|
||||
default void use2DResource( String resName ) {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置3D车模颜色
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user