[6.5.0] extend marker options and wait to union map_jni
This commit is contained in:
@@ -65,6 +65,9 @@ public class ObjectUtils {
|
||||
.controlAngle(opt.isControlAngle())
|
||||
.rotateAngle(opt.getRotate())
|
||||
.setFlat(opt.isFlat())
|
||||
// .setAnimResource()
|
||||
// .setDisplayAnimEnable()
|
||||
// .setAnimScale()
|
||||
.visible(opt.isVisible())
|
||||
.infoWindowEnable(opt.isInfoWindowEnable())
|
||||
.scale(opt.getScale())
|
||||
@@ -119,16 +122,13 @@ public class ObjectUtils {
|
||||
markerOptions.setTime(Double.valueOf(trafficData.getSatelliteTime() * 1000).longValue());
|
||||
if(!trafficData.getColor().isEmpty()){
|
||||
if(trafficData.getColor().contains("-drawColor")){
|
||||
// markerOptions.setColorType(3);
|
||||
markerOptions.setColor(trafficData.getColor().split("-")[0]);
|
||||
} else if(trafficData.getColor().contains("-resetColor")){
|
||||
// markerOptions.setColorType(4);
|
||||
markerOptions.setColor(trafficData.getColor().split("-")[0]);
|
||||
} else{
|
||||
markerOptions.setColor(trafficData.getColor());
|
||||
}
|
||||
}else{
|
||||
// markerOptions.setColorType(0);
|
||||
markerOptions.setColor("#00000000");
|
||||
}
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user