/******/ (function() { // webpackBootstrap
/******/ 	"use strict";
/******/ 	// The require scope
/******/ 	var __webpack_require__ = {};
/******/ 	
/************************************************************************/
/******/ 	/* webpack/runtime/compat get default export */
/******/ 	!function() {
/******/ 		// getDefaultExport function for compatibility with non-harmony modules
/******/ 		__webpack_require__.n = function(module) {
/******/ 			var getter = module && module.__esModule ?
/******/ 				function() { return module['default']; } :
/******/ 				function() { return module; };
/******/ 			__webpack_require__.d(getter, { a: getter });
/******/ 			return getter;
/******/ 		};
/******/ 	}();
/******/ 	
/******/ 	/* webpack/runtime/define property getters */
/******/ 	!function() {
/******/ 		// define getter functions for harmony exports
/******/ 		__webpack_require__.d = function(exports, definition) {
/******/ 			for(var key in definition) {
/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
/******/ 				}
/******/ 			}
/******/ 		};
/******/ 	}();
/******/ 	
/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
/******/ 	!function() {
/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
/******/ 	}();
/******/ 	
/******/ 	/* webpack/runtime/make namespace object */
/******/ 	!function() {
/******/ 		// define __esModule on exports
/******/ 		__webpack_require__.r = function(exports) {
/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ 			}
/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
/******/ 		};
/******/ 	}();
/******/ 	
/************************************************************************/
var __webpack_exports__ = {};
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// EXPORTS
__webpack_require__.d(__webpack_exports__, {
  "Clear": function() { return /* reexport */ Clear; },
  "FixedZoomin": function() { return /* reexport */ FixedZoomin; },
  "FixedZoomout": function() { return /* reexport */ FixedZoomout; },
  "FullExtent": function() { return /* reexport */ FullExtent; },
  "NextExtent": function() { return /* reexport */ NextExtent; },
  "PreviousExtent": function() { return /* reexport */ PreviousExtent; },
  "Zoomin": function() { return /* reexport */ Zoomin; },
  "Zoomout": function() { return /* reexport */ Zoomout; },
  "default": function() { return /* reexport */ Pan; }
});

;// CONCATENATED MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject = require("vue");
;// CONCATENATED MODULE: external "@element-plus/icons-vue"
var icons_vue_namespaceObject = require("@element-plus/icons-vue");
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
function _defineProperty(obj, key, value) {
  if (key in obj) {
    Object.defineProperty(obj, key, {
      value: value,
      enumerable: true,
      configurable: true,
      writable: true
    });
  } else {
    obj[key] = value;
  }

  return obj;
}
;// CONCATENATED MODULE: external "@zpc_npm/vue-iclient-common/_utils/gis-utils"
var gis_utils_namespaceObject = require("@zpc_npm/vue-iclient-common/_utils/gis-utils");
;// CONCATENATED MODULE: ./src/leaflet/mapcommontools/CommonToolsViewModel.js


class CommonToolsViewModel extends window.L.Evented {
  constructor() {
    super();

    _defineProperty(this, "_webMap", null);

    this._loaded = this._loaded.bind(this);

    this._registerEvents();
  }
  /**
   * 注册事件
   */


  _registerEvents() {
    // if (!this._mapTarget) {
    //   utils.getTargetName("leaflet", mt => {
    //     this._mapTarget = mt;
    //     if (!this._mapTarget) {
    //       console.error("未找到绑定的地图对象");
    //       return;
    //     }
    //     utils.getWebMap("leaflet", this._loaded, this._mapTarget);
    //   });
    // } else {
    //   utils.getWebMap("leaflet", this._loaded, this._mapTarget);
    // }
    gis_utils_namespaceObject.utils.getWebMap(this._mapTarget, this._loaded);
  }

  _loaded(webmap) {
    this._webMap = webmap;
  }

  operate(type) {
    if (!this._webMap) return;

    switch (type) {
      case "pan":
        {
          this._webMap.pan();

          break;
        }

      case "fullextent":
        {
          this._webMap.fullExtent();

          break;
        }

      case "fixedzoomout":
        {
          // zl zoomOut、zoomIn方法在lw修改过的leaflet版本中被修改过，必须带上第二个参数isControlZoom
          this._webMap.map.zoomOut(1, {
            isControlZoom: true
          });

          break;
        }

      case "fixedzoomin":
        {
          // zl zoomOut、zoomIn方法在lw修改过的leaflet版本中被修改过，必须带上第二个参数isControlZoom
          this._webMap.map.zoomIn(1, {
            isControlZoom: true
          });

          break;
        }

      case "zoomout":
        {
          this._webMap.startLKSX();

          break;
        }

      case "zoomin":
        {
          this._webMap.startLKFD();

          break;
        }

      case "previous":
        {
          this._webMap.history.goBack();

          break;
        }

      case "next":
        {
          this._webMap.history.goForward();

          break;
        }

      case "clear":
        {
          this._webMap.mapDraw.removeAllGeometry();

          break;
        }
    }
  } // 销毁


  destroy() {
    // 删除所有事件监听
    this.off();
  }

}
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/leaflet/mapcommontools/Pan.vue?vue&type=script&setup=true&lang=js



 // 获取组件传参

const __default__ = {
  name: "KqPan"
};
/* harmony default export */ var Panvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
  props: {
    // 每个地图相关组件的必须参数 非必传 指定组件绑定的map对象的div的id
    mapTarget: String
  },

  setup(__props) {
    const props = __props;
    let viewModel = null;
    (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
      viewModel = new CommonToolsViewModel();
    });

    function btnClick() {
      viewModel.operate("pan");
    }

    return (_ctx, _cache) => {
      const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-icon");

      const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-button");

      return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createBlock)(_component_kq_button, {
        title: "平移",
        type: "primary",
        onClick: btnClick,
        style: {
          "width": "32px"
        }
      }, {
        default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_icon, {
          size: 16
        }, {
          default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(icons_vue_namespaceObject.Pointer))]),
          _: 1
          /* STABLE */

        })]),
        _: 1
        /* STABLE */

      });
    };
  }

}));
;// CONCATENATED MODULE: ./src/leaflet/mapcommontools/Pan.vue?vue&type=script&setup=true&lang=js
 
;// CONCATENATED MODULE: ./src/leaflet/mapcommontools/Pan.vue



const __exports__ = Panvue_type_script_setup_true_lang_js;

/* harmony default export */ var Pan = (__exports__);
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/leaflet/mapcommontools/FullExtent.vue?vue&type=script&setup=true&lang=js



 // 获取组件传参

const FullExtentvue_type_script_setup_true_lang_js_default_ = {
  name: "KqFullExtent"
};
/* harmony default export */ var FullExtentvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(FullExtentvue_type_script_setup_true_lang_js_default_, {
  props: {
    // 每个地图相关组件的必须参数 非必传 指定组件绑定的map对象的div的id
    mapTarget: String
  },

  setup(__props) {
    const props = __props;
    let viewModel = null;
    let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
    (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
      viewModel = new CommonToolsViewModel();
    });

    function btnClick() {
      btn.value.$el.blur();
      viewModel.operate("fullextent");
    }

    return (_ctx, _cache) => {
      const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-icon");

      const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-button");

      return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createBlock)(_component_kq_button, {
        title: "全图",
        ref_key: "btn",
        ref: btn,
        type: "primary",
        onClick: btnClick,
        style: {
          "width": "32px"
        }
      }, {
        default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_icon, {
          size: 16
        }, {
          default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(icons_vue_namespaceObject.FullScreen))]),
          _: 1
          /* STABLE */

        })]),
        _: 1
        /* STABLE */

      }, 512
      /* NEED_PATCH */
      );
    };
  }

}));
;// CONCATENATED MODULE: ./src/leaflet/mapcommontools/FullExtent.vue?vue&type=script&setup=true&lang=js
 
;// CONCATENATED MODULE: ./src/leaflet/mapcommontools/FullExtent.vue



const FullExtent_exports_ = FullExtentvue_type_script_setup_true_lang_js;

/* harmony default export */ var FullExtent = (FullExtent_exports_);
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/leaflet/mapcommontools/FixedZoomin.vue?vue&type=script&setup=true&lang=js



 // 获取组件传参

const FixedZoominvue_type_script_setup_true_lang_js_default_ = {
  name: "KqFixedZoomin"
};
/* harmony default export */ var FixedZoominvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(FixedZoominvue_type_script_setup_true_lang_js_default_, {
  props: {
    // 每个地图相关组件的必须参数 非必传 指定组件绑定的map对象的div的id
    mapTarget: String
  },

  setup(__props) {
    const props = __props;
    let viewModel = null;
    let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
    (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
      viewModel = new CommonToolsViewModel();
    });

    function btnClick(e) {
      btn.value.$el.blur();
      viewModel.operate("fixedzoomin");
    }

    return (_ctx, _cache) => {
      const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-icon");

      const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-button");

      return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createBlock)(_component_kq_button, {
        title: "固定放大",
        ref_key: "btn",
        ref: btn,
        type: "primary",
        onClick: btnClick,
        style: {
          "width": "32px"
        }
      }, {
        default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_icon, {
          size: 16
        }, {
          default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(icons_vue_namespaceObject.Plus))]),
          _: 1
          /* STABLE */

        })]),
        _: 1
        /* STABLE */

      }, 512
      /* NEED_PATCH */
      );
    };
  }

}));
;// CONCATENATED MODULE: ./src/leaflet/mapcommontools/FixedZoomin.vue?vue&type=script&setup=true&lang=js
 
;// CONCATENATED MODULE: ./src/leaflet/mapcommontools/FixedZoomin.vue



const FixedZoomin_exports_ = FixedZoominvue_type_script_setup_true_lang_js;

/* harmony default export */ var FixedZoomin = (FixedZoomin_exports_);
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/leaflet/mapcommontools/FixedZoomout.vue?vue&type=script&setup=true&lang=js



 // 获取组件传参

const FixedZoomoutvue_type_script_setup_true_lang_js_default_ = {
  name: "KqFixedZoomout"
};
/* harmony default export */ var FixedZoomoutvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(FixedZoomoutvue_type_script_setup_true_lang_js_default_, {
  props: {
    // 每个地图相关组件的必须参数 非必传 指定组件绑定的map对象的div的id
    mapTarget: String
  },

  setup(__props) {
    const props = __props;
    let viewModel = null;
    let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
    (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
      viewModel = new CommonToolsViewModel();
    });

    function btnClick() {
      btn.value.$el.blur();
      viewModel.operate("fixedzoomout");
    }

    return (_ctx, _cache) => {
      const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-icon");

      const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-button");

      return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createBlock)(_component_kq_button, {
        title: "固定缩小",
        ref_key: "btn",
        ref: btn,
        type: "primary",
        onClick: btnClick,
        style: {
          "width": "32px"
        }
      }, {
        default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_icon, {
          size: 16
        }, {
          default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(icons_vue_namespaceObject.Minus))]),
          _: 1
          /* STABLE */

        })]),
        _: 1
        /* STABLE */

      }, 512
      /* NEED_PATCH */
      );
    };
  }

}));
;// CONCATENATED MODULE: ./src/leaflet/mapcommontools/FixedZoomout.vue?vue&type=script&setup=true&lang=js
 
;// CONCATENATED MODULE: ./src/leaflet/mapcommontools/FixedZoomout.vue



const FixedZoomout_exports_ = FixedZoomoutvue_type_script_setup_true_lang_js;

/* harmony default export */ var FixedZoomout = (FixedZoomout_exports_);
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/leaflet/mapcommontools/Zoomout.vue?vue&type=script&setup=true&lang=js



 // 获取组件传参

const Zoomoutvue_type_script_setup_true_lang_js_default_ = {
  name: "KqZoomout"
};
/* harmony default export */ var Zoomoutvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(Zoomoutvue_type_script_setup_true_lang_js_default_, {
  props: {
    // 每个地图相关组件的必须参数 非必传 指定组件绑定的map对象的div的id
    mapTarget: String
  },

  setup(__props) {
    const props = __props;
    let viewModel = null;
    let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
    (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
      viewModel = new CommonToolsViewModel();
    });

    function btnClick() {
      btn.value.$el.blur();
      viewModel.operate("zoomout");
    }

    return (_ctx, _cache) => {
      const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-icon");

      const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-button");

      return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createBlock)(_component_kq_button, {
        title: "拉框缩小",
        ref_key: "btn",
        ref: btn,
        type: "primary",
        onClick: btnClick,
        style: {
          "width": "32px"
        }
      }, {
        default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_icon, {
          size: 16
        }, {
          default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(icons_vue_namespaceObject.Remove))]),
          _: 1
          /* STABLE */

        })]),
        _: 1
        /* STABLE */

      }, 512
      /* NEED_PATCH */
      );
    };
  }

}));
;// CONCATENATED MODULE: ./src/leaflet/mapcommontools/Zoomout.vue?vue&type=script&setup=true&lang=js
 
;// CONCATENATED MODULE: ./src/leaflet/mapcommontools/Zoomout.vue



const Zoomout_exports_ = Zoomoutvue_type_script_setup_true_lang_js;

/* harmony default export */ var Zoomout = (Zoomout_exports_);
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/leaflet/mapcommontools/Zoomin.vue?vue&type=script&setup=true&lang=js



 // 获取组件传参

const Zoominvue_type_script_setup_true_lang_js_default_ = {
  name: "KqZoomin"
};
/* harmony default export */ var Zoominvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(Zoominvue_type_script_setup_true_lang_js_default_, {
  props: {
    // 每个地图相关组件的必须参数 非必传 指定组件绑定的map对象的div的id
    mapTarget: String
  },

  setup(__props) {
    const props = __props;
    let viewModel = null;
    let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
    (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
      viewModel = new CommonToolsViewModel();
    });

    function btnClick(e) {
      btn.value.$el.blur();
      viewModel.operate("zoomin");
    }

    return (_ctx, _cache) => {
      const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-icon");

      const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-button");

      return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createBlock)(_component_kq_button, {
        title: "拉框放大",
        ref_key: "btn",
        ref: btn,
        type: "primary",
        onClick: btnClick,
        style: {
          "width": "32px"
        }
      }, {
        default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_icon, {
          size: 16
        }, {
          default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(icons_vue_namespaceObject.CirclePlus))]),
          _: 1
          /* STABLE */

        })]),
        _: 1
        /* STABLE */

      }, 512
      /* NEED_PATCH */
      );
    };
  }

}));
;// CONCATENATED MODULE: ./src/leaflet/mapcommontools/Zoomin.vue?vue&type=script&setup=true&lang=js
 
;// CONCATENATED MODULE: ./src/leaflet/mapcommontools/Zoomin.vue



const Zoomin_exports_ = Zoominvue_type_script_setup_true_lang_js;

/* harmony default export */ var Zoomin = (Zoomin_exports_);
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/leaflet/mapcommontools/NextExtent.vue?vue&type=script&setup=true&lang=js



 // 获取组件传参

const NextExtentvue_type_script_setup_true_lang_js_default_ = {
  name: "Kq2dNextExtent"
};
/* harmony default export */ var NextExtentvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(NextExtentvue_type_script_setup_true_lang_js_default_, {
  props: {
    // 每个地图相关组件的必须参数 非必传 指定组件绑定的map对象的div的id
    mapTarget: String
  },

  setup(__props) {
    const props = __props;
    let viewModel = null;
    let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
    (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
      viewModel = new CommonToolsViewModel();
    });

    function btnClick(e) {
      btn.value.$el.blur();
      viewModel.operate("next");
    }

    return (_ctx, _cache) => {
      const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-icon");

      const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-button");

      return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createBlock)(_component_kq_button, {
        title: "返回下一视图",
        ref_key: "btn",
        ref: btn,
        type: "primary",
        onClick: btnClick,
        style: {
          "width": "32px"
        }
      }, {
        default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_icon, {
          size: 16
        }, {
          default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(icons_vue_namespaceObject.Right))]),
          _: 1
          /* STABLE */

        })]),
        _: 1
        /* STABLE */

      }, 512
      /* NEED_PATCH */
      );
    };
  }

}));
;// CONCATENATED MODULE: ./src/leaflet/mapcommontools/NextExtent.vue?vue&type=script&setup=true&lang=js
 
;// CONCATENATED MODULE: ./src/leaflet/mapcommontools/NextExtent.vue



const NextExtent_exports_ = NextExtentvue_type_script_setup_true_lang_js;

/* harmony default export */ var NextExtent = (NextExtent_exports_);
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/leaflet/mapcommontools/PreviousExtent.vue?vue&type=script&setup=true&lang=js



 // 获取组件传参

const PreviousExtentvue_type_script_setup_true_lang_js_default_ = {
  name: "Kq2dPreviousExtent"
};
/* harmony default export */ var PreviousExtentvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(PreviousExtentvue_type_script_setup_true_lang_js_default_, {
  props: {
    // 每个地图相关组件的必须参数 非必传 指定组件绑定的map对象的div的id
    mapTarget: String
  },

  setup(__props) {
    const props = __props;
    let viewModel = null;
    let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
    (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
      viewModel = new CommonToolsViewModel();
    });

    function btnClick(e) {
      btn.value.$el.blur();
      viewModel.operate("previous");
    }

    return (_ctx, _cache) => {
      const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-icon");

      const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-button");

      return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createBlock)(_component_kq_button, {
        title: "返回上一视图",
        ref_key: "btn",
        ref: btn,
        type: "primary",
        onClick: btnClick,
        style: {
          "width": "32px"
        }
      }, {
        default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_icon, {
          size: 16
        }, {
          default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(icons_vue_namespaceObject.Back))]),
          _: 1
          /* STABLE */

        })]),
        _: 1
        /* STABLE */

      }, 512
      /* NEED_PATCH */
      );
    };
  }

}));
;// CONCATENATED MODULE: ./src/leaflet/mapcommontools/PreviousExtent.vue?vue&type=script&setup=true&lang=js
 
;// CONCATENATED MODULE: ./src/leaflet/mapcommontools/PreviousExtent.vue



const PreviousExtent_exports_ = PreviousExtentvue_type_script_setup_true_lang_js;

/* harmony default export */ var PreviousExtent = (PreviousExtent_exports_);
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/leaflet/mapcommontools/Clear.vue?vue&type=script&setup=true&lang=js



 // 获取组件传参

const Clearvue_type_script_setup_true_lang_js_default_ = {
  name: "KqClear"
};
/* harmony default export */ var Clearvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(Clearvue_type_script_setup_true_lang_js_default_, {
  props: {
    // 每个地图相关组件的必须参数 非必传 指定组件绑定的map对象的div的id
    mapTarget: String
  },

  setup(__props) {
    const props = __props;
    let viewModel = null;
    let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
    (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
      viewModel = new CommonToolsViewModel();
    });

    function btnClick(e) {
      btn.value.$el.blur();
      viewModel.operate("clear");
    }

    return (_ctx, _cache) => {
      const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-icon");

      const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-button");

      return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createBlock)(_component_kq_button, {
        title: "清除绘图",
        ref_key: "btn",
        ref: btn,
        type: "primary",
        onClick: btnClick,
        style: {
          "width": "32px"
        }
      }, {
        default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_icon, {
          size: 16
        }, {
          default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(icons_vue_namespaceObject.Delete))]),
          _: 1
          /* STABLE */

        })]),
        _: 1
        /* STABLE */

      }, 512
      /* NEED_PATCH */
      );
    };
  }

}));
;// CONCATENATED MODULE: ./src/leaflet/mapcommontools/Clear.vue?vue&type=script&setup=true&lang=js
 
;// CONCATENATED MODULE: ./src/leaflet/mapcommontools/Clear.vue



const Clear_exports_ = Clearvue_type_script_setup_true_lang_js;

/* harmony default export */ var Clear = (Clear_exports_);
;// CONCATENATED MODULE: external "@zpc_npm/vue-iclient-common/init.js"
var init_js_namespaceObject = require("@zpc_npm/vue-iclient-common/init.js");
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
;// CONCATENATED MODULE: ./src/leaflet/mapcommontools/index.js











Pan.install = (Vue, opts) => {
  init_js_default()(Vue, opts);
  Vue.component(Pan.name, Pan);
};

FullExtent.install = (Vue, opts) => {
  init_js_default()(Vue, opts);
  Vue.component(FullExtent.name, FullExtent);
};

FixedZoomin.install = (Vue, opts) => {
  init_js_default()(Vue, opts);
  Vue.component(FixedZoomin.name, FixedZoomin);
};

FixedZoomout.install = (Vue, opts) => {
  init_js_default()(Vue, opts);
  Vue.component(FixedZoomout.name, FixedZoomout);
};

Zoomout.install = (Vue, opts) => {
  init_js_default()(Vue, opts);
  Vue.component(Zoomout.name, Zoomout);
};

Zoomin.install = (Vue, opts) => {
  init_js_default()(Vue, opts);
  Vue.component(Zoomin.name, Zoomin);
};

NextExtent.install = (Vue, opts) => {
  init_js_default()(Vue, opts);
  Vue.component(NextExtent.name, NextExtent);
};

PreviousExtent.install = (Vue, opts) => {
  init_js_default()(Vue, opts);
  Vue.component(PreviousExtent.name, PreviousExtent);
};

Clear.install = (Vue, opts) => {
  init_js_default()(Vue, opts);
  Vue.component(Clear.name, Clear);
};


module.exports = __webpack_exports__;
/******/ })()
;