@operato/scene-google-map 10.0.0-beta.1 → 10.0.0-beta.22
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/README.md +18 -10
- package/dist/templates/gmap-marker.js +1 -1
- package/dist/templates/gmap-marker.js.map +1 -1
- package/dist/templates/gmap-path.js +1 -1
- package/dist/templates/gmap-path.js.map +1 -1
- package/dist/templates/google-map.js +1 -1
- package/dist/templates/google-map.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,15 +1,23 @@
|
|
|
1
|
-
|
|
1
|
+
# @operato/scene-google-map
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> Google map integration component for things-scene
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
<!-- AUTOGEN_BEGIN: do not edit between markers (run scripts/regenerate-readmes.mjs to update) -->
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
| ---- | ----------------------------- | -------------- | ------ |
|
|
9
|
-
| UMD | things-scene-google-map.js | modern browser | O |
|
|
10
|
-
| UMD | things-scene-google-map-ie.js | ie 11 | O |
|
|
11
|
-
| ESM | things-scene-google-map.mjs | modern browser | O |
|
|
7
|
+
## Install
|
|
12
8
|
|
|
13
|
-
|
|
9
|
+
```bash
|
|
10
|
+
yarn add @operato/scene-google-map
|
|
11
|
+
```
|
|
14
12
|
|
|
15
|
-
|
|
13
|
+
## Build
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
yarn build
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Output: ESM module at `dist/index.js` (single bundle, no UMD/IE legacy).
|
|
20
|
+
|
|
21
|
+
_Version: 10.0.0-beta.2_
|
|
22
|
+
|
|
23
|
+
<!-- AUTOGEN_END -->
|
|
@@ -3,7 +3,7 @@ export default {
|
|
|
3
3
|
type: 'gmap-marker',
|
|
4
4
|
description: 'google map marker',
|
|
5
5
|
group: 'etc',
|
|
6
|
-
/* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|
|
|
6
|
+
/* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|3D|facility|storage|conveyance|transport|form|etc */
|
|
7
7
|
icon,
|
|
8
8
|
model: {
|
|
9
9
|
type: 'gmap-marker',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gmap-marker.js","sourceRoot":"","sources":["../../src/templates/gmap-marker.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,6BAA6B,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAEzE,eAAe;IACb,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,mBAAmB;IAChC,KAAK,EAAE,KAAK;IACZ,
|
|
1
|
+
{"version":3,"file":"gmap-marker.js","sourceRoot":"","sources":["../../src/templates/gmap-marker.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,6BAA6B,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAEzE,eAAe;IACb,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,mBAAmB;IAChC,KAAK,EAAE,KAAK;IACZ,wHAAwH;IACxH,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,aAAa;QACnB,IAAI,EAAE,GAAG;QACT,GAAG,EAAE,GAAG;QACR,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,UAAU;QACf,SAAS,EAAE,SAAS;QACpB,MAAM,EAAE,IAAI;KACb;CACF,CAAA","sourcesContent":["const icon = new URL('../../icons/gmap-marker.png', import.meta.url).href\n\nexport default {\n type: 'gmap-marker',\n description: 'google map marker',\n group: 'etc',\n /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|3D|facility|storage|conveyance|transport|form|etc */\n icon,\n model: {\n type: 'gmap-marker',\n left: 150,\n top: 150,\n width: 40,\n height: 60,\n lat: 22.308117,\n lng: 114.225443,\n fillStyle: '#00ff00',\n hidden: true\n }\n}\n"]}
|
|
@@ -3,7 +3,7 @@ export default {
|
|
|
3
3
|
type: 'gmap-path',
|
|
4
4
|
description: 'google map path',
|
|
5
5
|
group: 'etc',
|
|
6
|
-
/* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|
|
|
6
|
+
/* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|3D|facility|storage|conveyance|transport|form|etc */
|
|
7
7
|
icon,
|
|
8
8
|
model: {
|
|
9
9
|
type: 'gmap-path',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gmap-path.js","sourceRoot":"","sources":["../../src/templates/gmap-path.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,2BAA2B,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAEvE,eAAe;IACb,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,iBAAiB;IAC9B,KAAK,EAAE,KAAK;IACZ,
|
|
1
|
+
{"version":3,"file":"gmap-path.js","sourceRoot":"","sources":["../../src/templates/gmap-path.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,2BAA2B,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAEvE,eAAe;IACb,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,iBAAiB;IAC9B,KAAK,EAAE,KAAK;IACZ,wHAAwH;IACxH,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,GAAG;QACT,GAAG,EAAE,GAAG;QACR,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,OAAO,EAAE;YACP;gBACE,GAAG,EAAE,SAAS;gBACd,GAAG,EAAE,UAAU;aAChB;SACF;QACD,6BAA6B,EAAE,IAAI;QACnC,SAAS,EAAE,SAAS;QACpB,MAAM,EAAE,IAAI;KACb;CACF,CAAA","sourcesContent":["const icon = new URL('../../icons/gmap-path.png', import.meta.url).href\n\nexport default {\n type: 'gmap-path',\n description: 'google map path',\n group: 'etc',\n /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|3D|facility|storage|conveyance|transport|form|etc */\n icon,\n model: {\n type: 'gmap-path',\n left: 150,\n top: 150,\n width: 40,\n height: 60,\n latlngs: [\n {\n lat: 22.308117,\n lng: 114.225443\n }\n ],\n startEndMarkerDifferentDesign: true,\n fillStyle: '#00ff00',\n hidden: true\n }\n}\n"]}
|
|
@@ -3,7 +3,7 @@ export default {
|
|
|
3
3
|
type: 'google-map',
|
|
4
4
|
description: 'google-map',
|
|
5
5
|
group: 'etc',
|
|
6
|
-
/* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|
|
|
6
|
+
/* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|3D|facility|storage|conveyance|transport|form|etc */
|
|
7
7
|
icon,
|
|
8
8
|
model: {
|
|
9
9
|
type: 'google-map',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"google-map.js","sourceRoot":"","sources":["../../src/templates/google-map.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,4BAA4B,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAExE,eAAe;IACb,IAAI,EAAE,YAAY;IAClB,WAAW,EAAE,YAAY;IACzB,KAAK,EAAE,KAAK;IACZ,
|
|
1
|
+
{"version":3,"file":"google-map.js","sourceRoot":"","sources":["../../src/templates/google-map.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,4BAA4B,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAExE,eAAe;IACb,IAAI,EAAE,YAAY;IAClB,WAAW,EAAE,YAAY;IACzB,KAAK,EAAE,KAAK;IACZ,wHAAwH;IACxH,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,GAAG;QACT,GAAG,EAAE,GAAG;QACR,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,GAAG;QACX,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,UAAU;QACf,IAAI,EAAE,EAAE;QACR,MAAM,EAAE,yCAAyC;KAClD;CACF,CAAA","sourcesContent":["const icon = new URL('../../icons/google-map.png', import.meta.url).href\n\nexport default {\n type: 'google-map',\n description: 'google-map',\n group: 'etc',\n /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|3D|facility|storage|conveyance|transport|form|etc */\n icon,\n model: {\n type: 'google-map',\n left: 150,\n top: 150,\n width: 300,\n height: 200,\n lat: 22.308117,\n lng: 114.225443,\n zoom: 20,\n apiKey: 'AIzaSyBgQZb-SFqjQBC_XTxNiz0XapejNwV9PgA'\n }\n}\n"]}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@operato/scene-google-map",
|
|
3
3
|
"description": "Google map integration component for things-scene",
|
|
4
4
|
"author": "heartyoh",
|
|
5
|
-
"version": "10.0.0-beta.
|
|
5
|
+
"version": "10.0.0-beta.22",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"module": "dist/index.js",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"prettier --write"
|
|
60
60
|
]
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "f48e52f4f5fdc30ec06af9da7cf253f6e29cfb0e"
|
|
63
63
|
}
|