JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 510
  • Score
    100M100P100Q102598F
  • License ISC

中科软地图js

Package Exports

  • gis-sino
  • gis-sino/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gis-sino) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

gis-sino

gis的JS代码库

如何使用

  1. 通过npm安装gis-sino
npm install gis-sino
  1. 在代码中引入gis-sino
import { cesiumSino, olSino } from 'gis-sino'
  1. 使用gis-sino
// cesiumSino
cesiumSino.sinoCsPointInit(对应的参数)
// olSino
olSino.initMap(对应的参数)

如何发布

  1. 执行node build.js进行构建和混淆js代码
  2. 执行npm config set registry https://registry.npmjs.org/设置npm的仓库地址
  3. 执行npm login登录npm
  4. 执行npm version patch patch:增加补丁版本号 v1.0.1->v1.0.2 执行 npm version minor minor:增加次版本号 v1.0.1->v1.1.0 执行 npm version major major:增加主版本号 v1.0.1->v2.0.0
  5. 执行npm publish发布npm包