@mapxus/mapxus-visual 1.8.1 → 1.9.0-rc.1
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 +10 -5
- package/dist/mapxus-visual.css +1070 -0
- package/dist/mapxus-visual.d.ts +6919 -0
- package/dist/mapxus-visual.js +11 -0
- package/dist/mapxus-visual.js.map +1 -0
- package/dist/mapxus-visual.module.d.ts +6919 -0
- package/dist/mapxus-visual.module.js +91327 -0
- package/dist/mapxus-visual.module.js.map +1 -0
- package/dist/mapxus-visual.unminified.js +91353 -0
- package/dist/mapxus-visual.unminified.js.map +1 -0
- package/package.json +45 -8
- package/LICENSE +0 -11
- package/index.css +0 -2
- package/index.d.ts +0 -163
- package/index.js +0 -1
package/README.md
CHANGED
|
@@ -2,27 +2,32 @@
|
|
|
2
2
|
|
|
3
3
|
## Install
|
|
4
4
|
```
|
|
5
|
-
npm install mapxus-visual
|
|
5
|
+
npm install @mapxus/mapxus-visual
|
|
6
6
|
```
|
|
7
7
|
|
|
8
8
|
## Example
|
|
9
9
|
```js
|
|
10
|
-
import
|
|
11
|
-
|
|
10
|
+
// import * as MapxusVisual from "@mapxus/mapxus-visual";
|
|
11
|
+
// OR
|
|
12
|
+
import { Viewer } from "@mapxus/mapxus-visual";
|
|
13
|
+
import "@mapxus/mapxus-visual/style";
|
|
12
14
|
|
|
13
15
|
var baseOption = {
|
|
14
16
|
appId: '<your_app_id>',
|
|
15
17
|
secret: '<your_secret>',
|
|
16
18
|
container: '<html Container id>',
|
|
19
|
+
keyPlatform: "WEB"
|
|
17
20
|
}
|
|
18
21
|
// Init. Mapxus Visual Viewer
|
|
19
|
-
var viewer = new
|
|
22
|
+
var viewer = new Viewer(baseOption);
|
|
20
23
|
```
|
|
21
24
|
|
|
25
|
+
More sample page at [https://map-service.mapxus.com/bssww/beeview](https://map-service.mapxus.com/bssww/beeview)
|
|
26
|
+
|
|
22
27
|
## Documentation
|
|
23
28
|
|
|
24
29
|
Docs are available at [https://map-service.mapxus.com/dpw/visualMapWeb](https://map-service.mapxus.com/dpw/visualMapWeb)
|
|
25
30
|
|
|
26
31
|
## License
|
|
27
32
|
|
|
28
|
-
3-Clause BSD
|
|
33
|
+
3-Clause BSD
|