优化显示逻辑

This commit is contained in:
wangcongtao
2021-03-09 10:05:49 +08:00
parent 76f0095dd7
commit 731ffde5aa
12 changed files with 219 additions and 110 deletions

View File

@@ -382,6 +382,10 @@ public interface IMogoMarker {
}
default void updateInfoWindowView( String viewResName ) {
}
default void setInfoWindowOffset( int offsetX, int offsetY ) {
}
@@ -398,4 +402,13 @@ public interface IMogoMarker {
default String getMarkerResName() {
return "";
}
/**
* 获取 marker infowindow 内部使用资源内容 md5
*
* @return
*/
default String getMarkerInfoResName() {
return "";
}
}

View File

@@ -288,4 +288,22 @@ public interface IMogoMapUIController {
default double[] matchRoad( double lon, double lat, double angle, boolean isGpsLocation, boolean isRTK ) {
return null;
}
/**
* 获取车速资源缓存 id
* @param speedVal
* @return
*/
default String getMarkerInfoResName(String speedVal){
return "";
}
/**
* 获取车速资源缓存 id
* @param speedVal
* @return
*/
default void setMarkerInfoResName(String speedVal, String val){
}
}