vue-bigemap
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

install

npm i vue-bigemap

usage

   import vueBigemap from "vue-bigemap";

   const bige_map = vueBigemap({
    el: "bige_map", // 组件挂载的元素id
    httpurl: "http://192.168.12.111:3000", // 组件使用bigeMap 静态能力,需要提供访问 地图js 资源地址
    mapkey: "****", // 地图key
    center: [31.8179931640625, 117.11885070800781], // 默认中心
    zoom: 16, // 默认缩放级别
  });

  // 地图加载成功监听
  bige_map.on("load", (map) => {
    console.log("load --- 地图实例", map);
  });
  // 地图加载失败监听
  bige_map.on("error", () => {
    
  });

/vue-bigemap/

    Package Sidebar

    Install

    npm i vue-bigemap

    Weekly Downloads

    0

    Version

    0.0.3

    License

    none

    Unpacked Size

    2.19 MB

    Total Files

    52

    Last publish

    Collaborators

    • shuaiyang