@ray-js/adapter 1.7.41 → 1.7.42

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.
@@ -7,6 +7,11 @@ export interface MapProps extends BaseProps, DiffLayer {
7
7
  minScale?: number;
8
8
  maxScale?: number;
9
9
  disableAnimation?: boolean;
10
+ /**
11
+ * 地图类型
12
+ * @description 0:夜景地图,1:白昼地图,2:卫星图
13
+ */
14
+ mapType?: 0 | 1 | 2;
10
15
  markers?: Array<Marker>;
11
16
  polyline?: Array<Polyline>;
12
17
  circles?: Array<Circle>;
@@ -9,6 +9,7 @@ export declare const alias: {
9
9
  minScale: string;
10
10
  maxScale: string;
11
11
  disableAnimation: string;
12
+ mapType: string;
12
13
  markers: string;
13
14
  polyline: string;
14
15
  circles: string;
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
4
  const universal_1 = require("../universal");
5
- exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', className: 'class', style: 'style', updateLayout: 'update-layout', longitude: 'longitude', latitude: 'latitude', scale: 'scale', minScale: 'min-scale', maxScale: 'max-scale', disableAnimation: 'disable-animation', markers: 'markers', polyline: 'polyline', circles: 'circles', polygons: 'polygons', borderWidth: 'border-width', borderStyle: 'border-style', borderColor: 'border-color', borderRadius: 'border-radius', borderRadiusTopLeft: 'border-radius-top-left', borderRadiusTopRight: 'border-radius-top-right', borderRadiusBottomLeft: 'border-radius-bottom-left', borderRadiusBottomRight: 'border-radius-bottom-right', backgroundColor: 'background-color', onMarkertap: 'bind:markertap', onCallouttap: 'bind:callouttap', onRegionchange: 'bind:regionchange', onInitdone: 'bind:initdone' });
5
+ exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', className: 'class', style: 'style', updateLayout: 'update-layout', longitude: 'longitude', latitude: 'latitude', scale: 'scale', minScale: 'min-scale', maxScale: 'max-scale', disableAnimation: 'disable-animation', mapType: 'map-type', markers: 'markers', polyline: 'polyline', circles: 'circles', polygons: 'polygons', borderWidth: 'border-width', borderStyle: 'border-style', borderColor: 'border-color', borderRadius: 'border-radius', borderRadiusTopLeft: 'border-radius-top-left', borderRadiusTopRight: 'border-radius-top-right', borderRadiusBottomLeft: 'border-radius-bottom-left', borderRadiusBottomRight: 'border-radius-bottom-right', backgroundColor: 'background-color', onMarkertap: 'bind:markertap', onCallouttap: 'bind:callouttap', onRegionchange: 'bind:regionchange', onInitdone: 'bind:initdone' });
6
6
  exports.props = Object.values(exports.alias);
@@ -7,6 +7,11 @@ export interface MapProps extends BaseProps, DiffLayer {
7
7
  minScale?: number;
8
8
  maxScale?: number;
9
9
  disableAnimation?: boolean;
10
+ /**
11
+ * 地图类型
12
+ * @description 0:夜景地图,1:白昼地图,2:卫星图
13
+ */
14
+ mapType?: 0 | 1 | 2;
10
15
  markers?: Array<Marker>;
11
16
  polyline?: Array<Polyline>;
12
17
  circles?: Array<Circle>;
@@ -9,6 +9,7 @@ export declare const alias: {
9
9
  minScale: string;
10
10
  maxScale: string;
11
11
  disableAnimation: string;
12
+ mapType: string;
12
13
  markers: string;
13
14
  polyline: string;
14
15
  circles: string;
@@ -1,3 +1,3 @@
1
1
  import { universalAlias } from '../universal';
2
- export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', style: 'style', updateLayout: 'update-layout', longitude: 'longitude', latitude: 'latitude', scale: 'scale', minScale: 'min-scale', maxScale: 'max-scale', disableAnimation: 'disable-animation', markers: 'markers', polyline: 'polyline', circles: 'circles', polygons: 'polygons', borderWidth: 'border-width', borderStyle: 'border-style', borderColor: 'border-color', borderRadius: 'border-radius', borderRadiusTopLeft: 'border-radius-top-left', borderRadiusTopRight: 'border-radius-top-right', borderRadiusBottomLeft: 'border-radius-bottom-left', borderRadiusBottomRight: 'border-radius-bottom-right', backgroundColor: 'background-color', onMarkertap: 'bind:markertap', onCallouttap: 'bind:callouttap', onRegionchange: 'bind:regionchange', onInitdone: 'bind:initdone' });
2
+ export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', style: 'style', updateLayout: 'update-layout', longitude: 'longitude', latitude: 'latitude', scale: 'scale', minScale: 'min-scale', maxScale: 'max-scale', disableAnimation: 'disable-animation', mapType: 'map-type', markers: 'markers', polyline: 'polyline', circles: 'circles', polygons: 'polygons', borderWidth: 'border-width', borderStyle: 'border-style', borderColor: 'border-color', borderRadius: 'border-radius', borderRadiusTopLeft: 'border-radius-top-left', borderRadiusTopRight: 'border-radius-top-right', borderRadiusBottomLeft: 'border-radius-bottom-left', borderRadiusBottomRight: 'border-radius-bottom-right', backgroundColor: 'background-color', onMarkertap: 'bind:markertap', onCallouttap: 'bind:callouttap', onRegionchange: 'bind:regionchange', onInitdone: 'bind:initdone' });
3
3
  export const props = Object.values(alias);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/adapter",
3
- "version": "1.7.41",
3
+ "version": "1.7.42",
4
4
  "description": "Ray adapter for tuya",
5
5
  "keywords": [
6
6
  "ray"
@@ -36,7 +36,7 @@
36
36
  "@ray-core/types": "^0.4.9"
37
37
  },
38
38
  "devDependencies": {
39
- "@ray-js/types": "1.7.41",
39
+ "@ray-js/types": "1.7.42",
40
40
  "concurrently": "^6.5.1"
41
41
  },
42
42
  "publishConfig": {
@@ -44,5 +44,5 @@
44
44
  "registry": "https://registry.npmjs.org"
45
45
  },
46
46
  "esnext": "./esm/index.js",
47
- "gitHead": "8d87c81bc22eb81e68c5ca8d0d76028cf9867a30"
47
+ "gitHead": "9e3b039de41328fdebad855d23830e342b4bfaa5"
48
48
  }