您好,跟踪层没办法设置选择集颜色,可以获取选中对象,设置对象的风格,把对象的前景色设置会透明的。请参考:
var jeepModel = new SuperMap.Web.Core.GeoModel();
var modelurl = "http://localhost:8090/RealspaceSample/jeep.zip";
jeepModel.fromModelFile(modelurl);
jeepModel.set_position(point3D);
var style = new SuperMap.Web.Core.Style3D();
style.set_altitudeMode(2);
style.set_bottomAltitude("12");
style.set_fillForeColor(new SuperMap.Web.Core.Color(255,0,0,50));
var feature = new SuperMap.Web.Core.Feature3D();
var resultVar = feature.set_geometry(jeepModel);
console.log(resultVar);
feature.set_style3D(style);
feature.set_isVisible(true);
var index = sceneControl.get_scene().get_trackingLayer3D().add(feature, "test");