mars3d 3.4.15 → 3.4.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/mars3d.css CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Mars3D三维可视化平台 mars3d
3
3
  *
4
- * 版本信息:v3.4.15
5
- * 编译日期:2022-12-05 19:31:45
4
+ * 版本信息:v3.4.16
5
+ * 编译日期:2022-12-05 21:53:28
6
6
  * 版权所有:Copyright by 火星科技 http://mars3d.cn
7
7
  * 使用单位:免费公开版 ,2022-06-01
8
8
  */
package/dist/mars3d.d.ts CHANGED
@@ -2,8 +2,8 @@
2
2
  /**
3
3
  * Mars3D三维可视化平台 mars3d
4
4
  *
5
- * 版本信息:v3.4.15
6
- * 编译日期:2022-12-05 19:31:45
5
+ * 版本信息:v3.4.16
6
+ * 编译日期:2022-12-05 21:53:27
7
7
  * 版权所有:Copyright by 火星科技 http://mars3d.cn
8
8
  * 使用单位:免费公开版 ,2022-06-01
9
9
  */
@@ -235,6 +235,10 @@ declare enum EventType {
235
235
  * 完成
236
236
  */
237
237
  stop = "stop",
238
+ /**
239
+ * 地图zoomIn/zoomOut方法缩放事件
240
+ */
241
+ zoom = "zoom",
238
242
  /**
239
243
  * 完成加载,但未做任何其他处理前
240
244
  */
@@ -19029,10 +19033,11 @@ declare namespace TilesetLayer {
19029
19033
  * @param [options.customShader] - 自定义shader效果
19030
19034
  * @param [options.highlight] - 高亮及其样式配置
19031
19035
  * @param [options.highlight.type] - 鼠标移入高亮 或 单击高亮(type:'click')
19032
- * @param [options.highlight.all] - 是否整体高亮, true:模型整体全部高亮,false:单个构件高亮
19033
19036
  * @param [options.highlight.color = '#FFFF00'] - 颜色,支持rgba字符串
19034
19037
  * @param [options.highlight.outlineEffect = false] - 默认为修改矢量对象本身的style高亮,true时采用{@link OutlineEffect}方式高亮。
19035
19038
  * @param [options.highlight.filter] - 可以设置筛选排除一些构件, 排除的构件在filter方法内返回false
19039
+ * @param [options.highlight.all] - 是否按整体高亮, true:模型整体全部高亮,false:单个构件高亮
19040
+ * @param [options.highlight.uniqueKey] - 按指定字段进行对应相关构件的整体高亮
19036
19041
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
19037
19042
  * @param [options.clampToGround] - 是否贴地,true时自动调用贴地计算,但此属性只适合标准的与地形数据匹配的模型,并不精确,建议通过模型编辑页面调试给具体高度值。
19038
19043
  * @param [options.chinaCRS] - 标识模型的国内坐标系(用于自动纠偏或加偏)
@@ -19122,10 +19127,11 @@ declare class TilesetLayer extends BaseGraphicLayer {
19122
19127
  customShader?: Cesium.CustomShader;
19123
19128
  highlight?: {
19124
19129
  type?: string;
19125
- all?: boolean;
19126
19130
  color?: string | ((...params: any[]) => any);
19127
19131
  outlineEffect?: boolean;
19128
19132
  filter?: (...params: any[]) => any;
19133
+ all?: boolean;
19134
+ uniqueKey?: string;
19129
19135
  };
19130
19136
  allowDrillPick?: boolean | ((...params: any[]) => any);
19131
19137
  clampToGround?: boolean;