优化显示逻辑

This commit is contained in:
wangcongtao
2021-03-05 16:06:42 +08:00
parent 19f8787f77
commit 3a888ecd8f
14 changed files with 386 additions and 267 deletions

View File

@@ -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 >() {

View File

@@ -351,6 +351,24 @@ public interface IMogoMarker {
}
/**
* 使用缓存过的3d资源
*
* @param resName
*/
default void use3DResource( String resName ) {
}
/**
* 使用缓存过的2d资源
*
* @param resName
*/
default void use2DResource( String resName ) {
}
/**
* 设置3D车模颜色
*