@skzz/components-gis 0.1.2 → 0.1.3

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.
@@ -0,0 +1,2 @@
1
+ /** MVT 面注记叠层:与 MVT 服务共用 dictCode + serviceName 的 WFS GeoJSON 地址 */
2
+ export declare function buildMvtWfsLabelUrl(basePath: string, dictCode: string, serviceName: string, cacheBust?: number): string;
@@ -0,0 +1,9 @@
1
+ import * as Cesium from 'cesium';
2
+ /** Cesium 面 entity 注记落点:ENU 本地米制 polylabel,与渲染几何一致 */
3
+ export declare function cesiumPolygonLabelPosition(entity: {
4
+ polygon?: {
5
+ hierarchy?: {
6
+ getValue?: (time: Cesium.JulianDate) => Cesium.PolygonHierarchy;
7
+ };
8
+ };
9
+ }): Cesium.Cartesian3 | undefined;
@@ -13,11 +13,15 @@ declare const _default: import('vue').DefineComponent<{}, {
13
13
  hiddenValues: unknown[];
14
14
  clampToGround: boolean;
15
15
  token: string;
16
+ directRequest: boolean;
17
+ showProperties: boolean;
18
+ sourceCrs: string;
16
19
  fitToLayer: boolean;
17
20
  fitDuration: number;
18
21
  layerZIndex: number;
19
22
  styleByProperty: Record<string, any>;
20
23
  note: Record<string, any>;
24
+ noteOnly: boolean;
21
25
  $props: {
22
26
  readonly style?: Record<string, any> | undefined;
23
27
  readonly geojson?: string | Record<string, any> | undefined;
@@ -26,11 +30,15 @@ declare const _default: import('vue').DefineComponent<{}, {
26
30
  readonly hiddenValues?: unknown[] | undefined;
27
31
  readonly clampToGround?: boolean | undefined;
28
32
  readonly token?: string | undefined;
33
+ readonly directRequest?: boolean | undefined;
34
+ readonly showProperties?: boolean | undefined;
35
+ readonly sourceCrs?: string | undefined;
29
36
  readonly fitToLayer?: boolean | undefined;
30
37
  readonly fitDuration?: number | undefined;
31
38
  readonly layerZIndex?: number | undefined;
32
39
  readonly styleByProperty?: Record<string, any> | undefined;
33
40
  readonly note?: Record<string, any> | undefined;
41
+ readonly noteOnly?: boolean | undefined;
34
42
  };
35
43
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
36
44
  export default _default;
@@ -13,7 +13,7 @@ declare class ShpZztsLayer {
13
13
  opacity: number;
14
14
  batchSize: any;
15
15
  transitionDuration: any;
16
- pointSize: any;
16
+ pointSize: number;
17
17
  displayRange: {
18
18
  west: number;
19
19
  south: number;
@@ -21,6 +21,11 @@ declare class ShpZztsLayer {
21
21
  north: number;
22
22
  } | null;
23
23
  _userColor: any;
24
+ outline: {
25
+ color: string;
26
+ width: number;
27
+ } | null;
28
+ outlineHeightOffset: number;
24
29
  dictCode: any;
25
30
  serviceName: any;
26
31
  enableServiceColor: boolean;
@@ -49,6 +54,8 @@ declare class ShpZztsLayer {
49
54
  loadModelColorsByIds(featureIds?: any[]): Promise<Map<any, any>>;
50
55
  /** 按要素解析颜色:服务配色命中 > 用户统一色 > 默认淡蓝 */
51
56
  _resolveFeatureColor(geom: any, colorMap: any): Cesium.Color;
57
+ /** 边线颜色:优先用户配置色,与 WFS/MVT 预览语义一致(不跟随分类填充色) */
58
+ _resolveOutlineColor(): Cesium.Color;
52
59
  _getScreenBounds(): {
53
60
  requestBounds: {
54
61
  west: number;
@@ -1,5 +1,5 @@
1
1
  declare const _default: import('vue').DefineComponent<{}, {
2
- $emit: ((...args: any[]) => any) | ((evt: string, ...args: any) => void);
2
+ $emit: (event: "load-error", ...args: any[]) => void;
3
3
  groupKey: string;
4
4
  stackIndex: number;
5
5
  subStackIndex: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skzz/components-gis",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "type": "module",
5
5
  "main": "./dist/index.umd.js",
6
6
  "module": "./dist/index.es.js",
@@ -34,7 +34,7 @@
34
34
  ],
35
35
  "peerDependencies": {
36
36
  "@element-plus/icons-vue": "^2.3.2",
37
- "@skzz/libs-base": "^0.0.3",
37
+ "@skzz/libs-base": "^0.0.4",
38
38
  "@skzz/libs-gis": "^0.0.1",
39
39
  "@skzz/utils-common": "^0.0.2",
40
40
  "@vueup/vue-quill": "1.2.0",