@styzy/vue-amap 1.0.0 → 1.0.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.
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack://vue-amap/webpack/universalModuleDefinition","webpack://vue-amap/webpack/bootstrap","webpack://vue-amap/./src/Components/VAMapPlaceSearchInput.vue?5095","webpack://vue-amap/./node_modules/css-loader/dist/runtime/api.js","webpack://vue-amap/./src/Components/VAMapPlaceSearchInput.vue?05ee","webpack://vue-amap/./src/Components/VAMap.vue?34a1","webpack://vue-amap/./node_modules/vue-style-loader/lib/listToStyles.js","webpack://vue-amap/./node_modules/vue-style-loader/lib/addStylesClient.js","webpack://vue-amap/./src/Components/VAMap.vue?8b29","webpack://vue-amap/./src/Components/VAMapPlaceSearchInput.vue?31b0","webpack://vue-amap/./src/Components/VAMapPlaceSearchInput.vue?1285","webpack://vue-amap/./src/Components/VAMap.vue?d63e","webpack://vue-amap/./src/Components/VAMapPlaceSearchInput.vue?8c95","webpack://vue-amap/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://vue-amap/./src/CONSTANTS/index.js","webpack://vue-amap/./src/loader/index.js","webpack://vue-amap/./src/Components/VAMap.vue?872d","webpack://vue-amap/./src/utils/listenerProxy.js","webpack://vue-amap/./src/utils/typeOf.js","webpack://vue-amap/./src/utils/watchProps.js","webpack://vue-amap/src/Components/VAMap.vue","webpack://vue-amap/./src/Components/VAMap.vue?f26e","webpack://vue-amap/./node_modules/vue-loader/lib/runtime/componentNormalizer.js","webpack://vue-amap/./src/Components/VAMap.vue","webpack://vue-amap/./src/Components/VAMapMarker.vue?5feb","webpack://vue-amap/src/Components/VAMapMarker.vue","webpack://vue-amap/./src/Components/VAMapMarker.vue?01bc","webpack://vue-amap/./src/Components/VAMapMarker.vue","webpack://vue-amap/src/Components/VAMapMassMarks.vue","webpack://vue-amap/./src/Components/VAMapMassMarks.vue","webpack://vue-amap/./src/Components/VAMapMassMarks.vue?89cb","webpack://vue-amap/src/Components/VAMapPolygon.vue","webpack://vue-amap/./src/Components/VAMapPolygon.vue","webpack://vue-amap/./src/Components/VAMapPolygon.vue?75e2","webpack://vue-amap/./src/Components/VAMapPlaceSearchInput.vue?2aa1","webpack://vue-amap/src/Components/VAMapPlaceSearchInput.vue","webpack://vue-amap/./src/Components/VAMapPlaceSearchInput.vue?06ed","webpack://vue-amap/./src/Components/VAMapPlaceSearchInput.vue","webpack://vue-amap/./src/Components/index.js","webpack://vue-amap/./src/index.js","webpack://vue-amap/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js","webpack://vue-amap/./src/Components/VAMapPlaceSearchInput.vue?125d"],"names":["root","factory","exports","module","define","amd","self","this","installedModules","__webpack_require__","moduleId","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","___CSS_LOADER_API_IMPORT___","push","cssWithMappingToString","item","useSourceMap","content","cssMapping","btoa","sourceMapping","toComment","sourceURLs","sources","map","source","concat","sourceRoot","join","sourceMap","base64","unescape","encodeURIComponent","JSON","stringify","data","list","toString","mediaQuery","dedupe","alreadyImportedModules","length","id","_i","default","locals","add","listToStyles","parentId","styles","newStyles","css","media","part","parts","hasDocument","document","DEBUG","Error","stylesInDom","head","getElementsByTagName","singletonElement","singletonCounter","isProduction","noop","options","ssrIdKey","isOldIE","navigator","test","userAgent","toLowerCase","addStylesClient","_isProduction","_options","addStylesToDom","newList","mayRemove","domStyle","refs","j","addStyle","createStyleElement","styleElement","createElement","type","appendChild","obj","update","remove","querySelector","parentNode","removeChild","styleIndex","applyToSingletonTag","applyToTag","newObj","replaceText","textStore","index","replacement","filter","Boolean","styleSheet","cssText","cssNode","createTextNode","childNodes","insertBefore","setAttribute","ssrId","firstChild","window","currentScript","src","match","CONSTANTS","SDK_URL","CALLBACK_NAME","_key","_version","_uiVersion","_plugins","version","callbackName","plugins","uiVersion","_callbackName","_isSdkLoaded","_isSdkLoading","_callbacks","_loadCallback","Date","now","url","callback","el_script","charset","addEventListener","attachEvent","target","event","srcElement","readyState","isSdkLoaded","AMap","isSdkLoading","Promise","resolve","callbacks","initAMapUI","forEach","_loadScript","uiSdkUrl","sdkUrl","render","_vm","_c","_self","staticClass","ref","aMap","_t","_e","staticRenderFns","listenerProxy","aMapObject","vm","listeners","$listeners","handler","on","args","typeOf","param","watchProps","props","prop","watchProp","$watch","newValue","oldValue","replace","toUpperCase","error","console","watchedProps","setCenter","_createMap","_destroyMap","methods","load","assign","globalMapOptions","$attrs","Map","$refs","$emit","destroy","marker","normalizeComponent","scriptExports","functionalTemplate","injectStyles","scopeId","moduleIdentifier","shadowMode","hook","_compiled","functional","_scopeId","context","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","_registeredComponents","_ssrRegister","$root","$options","shadowRoot","_injectStyles","originalRender","h","existing","beforeCreate","component","_updateMarkerContent","setzIndex","isFixedMarkerSize","_createMarker","$nextTick","_removeMarker","$scopedSlots","$el","Marker","_addMarker","setContent","$parent","addMarker","removeMarker","setData","setStyle","style","styleObject","MassMarks","setMap","clear","setOptions","zIndex","bubble","cursor","strokeColor","strokeOpacity","strokeWeight","strokeStyle","strokeDasharray","fillColor","fillOpacity","draggable","undefined","Polygon","attrs","placeholder","String","customEnable","autocompleteListener","placeSearchListener","addListener","removeListener","autocomplete","Autocomplete","input","placeSearch","PlaceSearch","search","poi","position","poiList","pois","location","lng","lat","VAMap","VAMapMarker","VAMapMassMarks","VAMapPolygon","VAMapPlaceSearchInput","Vue","Components","Component","config"],"mappings":"CAAA,SAA2CA,EAAMC,GAC1B,kBAAZC,SAA0C,kBAAXC,OACxCA,OAAOD,QAAUD,IACQ,oBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,kBAAZC,QACdA,QAAQ,YAAcD,IAEtBD,EAAK,YAAcC,KARrB,CASoB,qBAATK,KAAuBA,KAAOC,MA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WACApI,IACC,IAAIwI,EAAW,KAEdxI,GACAA,EAAMyI,SACNzI,EAAMyI,QAAQC,MACd1I,EAAMyI,QAAQC,KAAK/O,SAEnB6O,EAAW,CACVxI,EAAMyI,QAAQC,KAAK,GAAGC,SAASC,IAC/B5I,EAAMyI,QAAQC,KAAK,GAAGC,SAASE,MAGjCnT,KAAK8N,MAAM,SAAUgF,GAEhBA,GAAa9S,KAAKkS,eACtBlS,KAAK6N,MAAM4E,MAAMpR,MAAQ,OAK7B,iBACCrB,KAAK0K,KAAKJ,MAAMgI,eAAetS,KAAKmS,sBACpCnS,KAAK0K,KAAKJ,MAAMgI,eAAetS,KAAKoS,wBC3EuK,ICS1M,G,oBAAY,EACd,EACA,EACA,GACA,EACA,KACA,WACA,OAIa,I,QCdA,GACdgB,EACAC,EACAC,EACAC,EACAC,GCRD,IAAI9F,EAAmB,GAEvB,MAAM,EACL,wBACC,OAAO,EAER,8BACC,OAAOA,EAER,eAAe+F,GACdC,EAAW1I,QAAQ2I,IAClBF,EAAI9D,UAAUgE,EAAUhT,KAAMgT,KAGhC,uBAAwBjG,iBAAkBhI,EAAU,MAAO2G,IAK1D,OAJAqB,EAAmB5M,OAAO2M,OAAO,GAAI/H,GAErC,EAAWkO,OAAO,IAAKvH,UAEV,EAAWmB,OAEzB,gBAKc,QC3BA,gB,kCCFf,a","file":"vue-amap.umd.min.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"vue-amap\"] = factory();\n\telse\n\t\troot[\"vue-amap\"] = factory();\n})((typeof self !== 'undefined' ? self : this), function() {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"fb15\");\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".amap-sug-result{display:none}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\n// eslint-disable-next-line func-names\nmodule.exports = function (useSourceMap) {\n var list = []; // return the list of modules as css string\n\n list.toString = function toString() {\n return this.map(function (item) {\n var content = cssWithMappingToString(item, useSourceMap);\n\n if (item[2]) {\n return \"@media \".concat(item[2], \" {\").concat(content, \"}\");\n }\n\n return content;\n }).join('');\n }; // import a list of modules into the list\n // eslint-disable-next-line func-names\n\n\n list.i = function (modules, mediaQuery, dedupe) {\n if (typeof modules === 'string') {\n // eslint-disable-next-line no-param-reassign\n modules = [[null, modules, '']];\n }\n\n var alreadyImportedModules = {};\n\n if (dedupe) {\n for (var i = 0; i < this.length; i++) {\n // eslint-disable-next-line prefer-destructuring\n var id = this[i][0];\n\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n\n for (var _i = 0; _i < modules.length; _i++) {\n var item = [].concat(modules[_i]);\n\n if (dedupe && alreadyImportedModules[item[0]]) {\n // eslint-disable-next-line no-continue\n continue;\n }\n\n if (mediaQuery) {\n if (!item[2]) {\n item[2] = mediaQuery;\n } else {\n item[2] = \"\".concat(mediaQuery, \" and \").concat(item[2]);\n }\n }\n\n list.push(item);\n }\n };\n\n return list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n var content = item[1] || ''; // eslint-disable-next-line prefer-destructuring\n\n var cssMapping = item[3];\n\n if (!cssMapping) {\n return content;\n }\n\n if (useSourceMap && typeof btoa === 'function') {\n var sourceMapping = toComment(cssMapping);\n var sourceURLs = cssMapping.sources.map(function (source) {\n return \"/*# sourceURL=\".concat(cssMapping.sourceRoot || '').concat(source, \" */\");\n });\n return [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n }\n\n return [content].join('\\n');\n} // Adapted from convert-source-map (MIT)\n\n\nfunction toComment(sourceMap) {\n // eslint-disable-next-line no-undef\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n return \"/*# \".concat(data, \" */\");\n}","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-3!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-4!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMapPlaceSearchInput.vue?vue&type=style&index=1&id=57fd4556&prod&lang=stylus&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"37432b0a\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-3!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-4!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMap.vue?vue&type=style&index=0&id=37c06024&prod&lang=stylus&scoped=true&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"329bbec2\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","/**\n * Translates the list format produced by css-loader into something\n * easier to manipulate.\n */\nexport default function listToStyles (parentId, list) {\n var styles = []\n var newStyles = {}\n for (var i = 0; i < list.length; i++) {\n var item = list[i]\n var id = item[0]\n var css = item[1]\n var media = item[2]\n var sourceMap = item[3]\n var part = {\n id: parentId + ':' + i,\n css: css,\n media: media,\n sourceMap: sourceMap\n }\n if (!newStyles[id]) {\n styles.push(newStyles[id] = { id: id, parts: [part] })\n } else {\n newStyles[id].parts.push(part)\n }\n }\n return styles\n}\n","/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n Modified by Evan You @yyx990803\n*/\n\nimport listToStyles from './listToStyles'\n\nvar hasDocument = typeof document !== 'undefined'\n\nif (typeof DEBUG !== 'undefined' && DEBUG) {\n if (!hasDocument) {\n throw new Error(\n 'vue-style-loader cannot be used in a non-browser environment. ' +\n \"Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.\"\n ) }\n}\n\n/*\ntype StyleObject = {\n id: number;\n parts: Array<StyleObjectPart>\n}\n\ntype StyleObjectPart = {\n css: string;\n media: string;\n sourceMap: ?string\n}\n*/\n\nvar stylesInDom = {/*\n [id: number]: {\n id: number,\n refs: number,\n parts: Array<(obj?: StyleObjectPart) => void>\n }\n*/}\n\nvar head = hasDocument && (document.head || document.getElementsByTagName('head')[0])\nvar singletonElement = null\nvar singletonCounter = 0\nvar isProduction = false\nvar noop = function () {}\nvar options = null\nvar ssrIdKey = 'data-vue-ssr-id'\n\n// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\n// tags it will allow on a page\nvar isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase())\n\nexport default function addStylesClient (parentId, list, _isProduction, _options) {\n isProduction = _isProduction\n\n options = _options || {}\n\n var styles = listToStyles(parentId, list)\n addStylesToDom(styles)\n\n return function update (newList) {\n var mayRemove = []\n for (var i = 0; i < styles.length; i++) {\n var item = styles[i]\n var domStyle = stylesInDom[item.id]\n domStyle.refs--\n mayRemove.push(domStyle)\n }\n if (newList) {\n styles = listToStyles(parentId, newList)\n addStylesToDom(styles)\n } else {\n styles = []\n }\n for (var i = 0; i < mayRemove.length; i++) {\n var domStyle = mayRemove[i]\n if (domStyle.refs === 0) {\n for (var j = 0; j < domStyle.parts.length; j++) {\n domStyle.parts[j]()\n }\n delete stylesInDom[domStyle.id]\n }\n }\n }\n}\n\nfunction addStylesToDom (styles /* Array<StyleObject> */) {\n for (var i = 0; i < styles.length; i++) {\n var item = styles[i]\n var domStyle = stylesInDom[item.id]\n if (domStyle) {\n domStyle.refs++\n for (var j = 0; j < domStyle.parts.length; j++) {\n domStyle.parts[j](item.parts[j])\n }\n for (; j < item.parts.length; j++) {\n domStyle.parts.push(addStyle(item.parts[j]))\n }\n if (domStyle.parts.length > item.parts.length) {\n domStyle.parts.length = item.parts.length\n }\n } else {\n var parts = []\n for (var j = 0; j < item.parts.length; j++) {\n parts.push(addStyle(item.parts[j]))\n }\n stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }\n }\n }\n}\n\nfunction createStyleElement () {\n var styleElement = document.createElement('style')\n styleElement.type = 'text/css'\n head.appendChild(styleElement)\n return styleElement\n}\n\nfunction addStyle (obj /* StyleObjectPart */) {\n var update, remove\n var styleElement = document.querySelector('style[' + ssrIdKey + '~=\"' + obj.id + '\"]')\n\n if (styleElement) {\n if (isProduction) {\n // has SSR styles and in production mode.\n // simply do nothing.\n return noop\n } else {\n // has SSR styles but in dev mode.\n // for some reason Chrome can't handle source map in server-rendered\n // style tags - source maps in <style> only works if the style tag is\n // created and inserted dynamically. So we remove the server rendered\n // styles and inject new ones.\n styleElement.parentNode.removeChild(styleElement)\n }\n }\n\n if (isOldIE) {\n // use singleton mode for IE9.\n var styleIndex = singletonCounter++\n styleElement = singletonElement || (singletonElement = createStyleElement())\n update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)\n remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)\n } else {\n // use multi-style-tag mode in all other cases\n styleElement = createStyleElement()\n update = applyToTag.bind(null, styleElement)\n remove = function () {\n styleElement.parentNode.removeChild(styleElement)\n }\n }\n\n update(obj)\n\n return function updateStyle (newObj /* StyleObjectPart */) {\n if (newObj) {\n if (newObj.css === obj.css &&\n newObj.media === obj.media &&\n newObj.sourceMap === obj.sourceMap) {\n return\n }\n update(obj = newObj)\n } else {\n remove()\n }\n }\n}\n\nvar replaceText = (function () {\n var textStore = []\n\n return function (index, replacement) {\n textStore[index] = replacement\n return textStore.filter(Boolean).join('\\n')\n }\n})()\n\nfunction applyToSingletonTag (styleElement, index, remove, obj) {\n var css = remove ? '' : obj.css\n\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = replaceText(index, css)\n } else {\n var cssNode = document.createTextNode(css)\n var childNodes = styleElement.childNodes\n if (childNodes[index]) styleElement.removeChild(childNodes[index])\n if (childNodes.length) {\n styleElement.insertBefore(cssNode, childNodes[index])\n } else {\n styleElement.appendChild(cssNode)\n }\n }\n}\n\nfunction applyToTag (styleElement, obj) {\n var css = obj.css\n var media = obj.media\n var sourceMap = obj.sourceMap\n\n if (media) {\n styleElement.setAttribute('media', media)\n }\n if (options.ssrId) {\n styleElement.setAttribute(ssrIdKey, obj.id)\n }\n\n if (sourceMap) {\n // https://developer.chrome.com/devtools/docs/javascript-debugging\n // this makes source maps inside style tags work properly in Chrome\n css += '\\n/*# sourceURL=' + sourceMap.sources[0] + ' */'\n // http://stackoverflow.com/a/26603875\n css += '\\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'\n }\n\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild)\n }\n styleElement.appendChild(document.createTextNode(css))\n }\n}\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".v-amap-ctn[data-v-37c06024],.v-amap-ctn .v-amap[data-v-37c06024]{height:100%}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export * from \"-!../../node_modules/vue-style-loader/index.js??ref--11-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-3!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-4!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMapPlaceSearchInput.vue?vue&type=style&index=0&id=57fd4556&prod&lang=stylus&scoped=true&\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".v-amap-place-search-input input[data-v-57fd4556]{display:inline-block;box-sizing:border-box;padding:0 15px;width:100%;height:40px;outline:0;border:1px solid #dcdfe6;border-radius:4px;background-color:#fff;background-image:none;color:#606266;font-size:inherit;line-height:40px;transition:border-color .2s cubic-bezier(.645,.045,.355,1);-webkit-appearance:none}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export * from \"-!../../node_modules/vue-style-loader/index.js??ref--11-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-3!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-4!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMap.vue?vue&type=style&index=0&id=37c06024&prod&lang=stylus&scoped=true&\"","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-3!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-4!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMapPlaceSearchInput.vue?vue&type=style&index=0&id=57fd4556&prod&lang=stylus&scoped=true&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"1e99f6c0\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","const CONSTANTS = {\r\n\tSDK_URL: 'https://webapi.amap.com/maps',\r\n\tCALLBACK_NAME: 'aMapInitCallback'\r\n}\r\n\r\nexport default CONSTANTS\r\n","import CONSTANTS from '../CONSTANTS'\r\n\r\nclass Loader {\r\n\tget key() {\r\n\t\treturn this._key\r\n\t}\r\n\tget version() {\r\n\t\treturn this._version\r\n\t}\r\n\tget uiVersion() {\r\n\t\treturn this._uiVersion\r\n\t}\r\n\tget plugins() {\r\n\t\treturn this._plugins\r\n\t}\r\n\tget sdkUrl() {\r\n\t\treturn `${CONSTANTS.SDK_URL}?v=${this.version}&key=${\r\n\t\t\tthis.key\r\n\t\t}&callback=${this.callbackName}&plugin=${this.plugins.join(',')}`\r\n\t}\r\n\tget uiSdkUrl() {\r\n\t\treturn `https://webapi.amap.com/ui/${this.uiVersion}/main-async.js`\r\n\t}\r\n\tget callbackName() {\r\n\t\treturn this._callbackName\r\n\t}\r\n\tget isSdkLoaded() {\r\n\t\treturn this._isSdkLoaded\r\n\t}\r\n\tget isSdkLoading() {\r\n\t\treturn this._isSdkLoading\r\n\t}\r\n\tget callbacks() {\r\n\t\treturn this._callbacks\r\n\t}\r\n\tconstructor() {\r\n\t\tthis._loadCallback = null\r\n\t\tthis._callbackName = `${CONSTANTS.CALLBACK_NAME}_${Date.now()}`\r\n\t\tthis._isSdkLoaded = false\r\n\t\tthis._isSdkLoading = false\r\n\t\tthis._callbacks = []\r\n\t}\r\n\t_loadScript(url, callback) {\r\n\t\tlet el_script = document.createElement('script')\r\n\t\tel_script.charset = 'utf-8'\r\n\t\tel_script.src = url\r\n\r\n\t\tif (el_script.addEventListener) {\r\n\t\t\tel_script.addEventListener('load', () => {\r\n\t\t\t\tcallback && callback()\r\n\t\t\t})\r\n\t\t} else if (el_script.attachEvent) {\r\n\t\t\tel_script.attachEvent('onreadystatechange', () => {\r\n\t\t\t\tlet target = window.event.srcElement\r\n\t\t\t\tif (target.readyState == 'loaded') {\r\n\t\t\t\t\tcallback && callback()\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t}\r\n\t\tdocument.head.appendChild(el_script)\r\n\t}\r\n\tconfig({ key = '', version = '', uiVersion = '', plugins } = {}) {\r\n\t\tthis._key = key\r\n\t\tthis._version = version\r\n\t\tthis._uiVersion = uiVersion\r\n\t\tthis._plugins = plugins\r\n\t}\r\n\tasync load() {\r\n\t\tif (this.isSdkLoaded) return window.AMap\r\n\r\n\t\tif (this.isSdkLoading)\r\n\t\t\treturn new Promise(resolve => {\r\n\t\t\t\tthis.callbacks.push(() => {\r\n\t\t\t\t\tresolve(window.AMap)\r\n\t\t\t\t})\r\n\t\t\t})\r\n\r\n\t\treturn new Promise(resolve => {\r\n\t\t\tthis._isSdkLoading = true\r\n\r\n\t\t\twindow[this.callbackName] = () => {\r\n\t\t\t\tthis._isSdkLoaded = true\r\n\t\t\t\tthis._isSdkLoading = false\r\n\r\n\t\t\t\tif (this.uiVersion) {\r\n\t\t\t\t\twindow.initAMapUI()\r\n\t\t\t\t}\r\n\r\n\t\t\t\tdelete window[this.callbackName]\r\n\t\t\t\tresolve(window.AMap)\r\n\r\n\t\t\t\tthis.callbacks.forEach(callback => {\r\n\t\t\t\t\tcallback && callback()\r\n\t\t\t\t})\r\n\r\n\t\t\t\tthis._callbacks = []\r\n\t\t\t}\r\n\t\t\tif (this.uiVersion) {\r\n\t\t\t\tthis._loadScript(this.uiSdkUrl, () => {\r\n\t\t\t\t\tthis._loadScript(this.sdkUrl)\r\n\t\t\t\t})\r\n\t\t\t} else {\r\n\t\t\t\tthis._loadScript(this.sdkUrl)\r\n\t\t\t}\r\n\t\t})\r\n\t}\r\n}\r\n\r\nexport default new Loader()\r\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"v-amap-ctn\"},[_c('div',{ref:\"aMap\",staticClass:\"v-amap\"}),(_vm.AMap && _vm.aMap)?[_vm._t(\"default\",null,{\"AMap\":_vm.AMap,\"aMap\":_vm.aMap})]:_vm._e()],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","const listenerProxy = (aMapObject, vm) => {\r\n\tconst listeners = vm.$listeners\r\n\r\n\tfor (const event in listeners) {\r\n\t\tif (Object.hasOwnProperty.call(listeners, event)) {\r\n\t\t\tconst handler = listeners[event]\r\n\r\n\t\t\taMapObject.on(event, (...args) => {\r\n\t\t\t\thandler(...args)\r\n\t\t\t})\r\n\t\t}\r\n\t}\r\n}\r\n\r\nexport default listenerProxy\r\n","const typeOf = function (param) {\r\n\treturn Object.prototype.toString.call(param).match(/\\s+(\\w+)/)[1]\r\n}\r\n\r\nexport default typeOf\r\n","import typeOf from './typeOf'\r\n\r\nconst watchProps = (aMapObject, vm, props) => {\r\n\tprops\r\n\t\t.map(prop => {\r\n\t\t\tif (typeOf(prop) === 'String')\r\n\t\t\t\treturn { prop, watchProp: `$attrs.${prop}` }\r\n\t\t\tif (typeOf(prop) === 'Array')\r\n\t\t\t\treturn {\r\n\t\t\t\t\tprop: prop[0],\r\n\t\t\t\t\twatchProp: `$attrs.${prop[0]}`,\r\n\t\t\t\t\thandler: prop[1]\r\n\t\t\t\t}\r\n\t\t})\r\n\t\t.forEach(({ watchProp, prop, handler }) => {\r\n\t\t\tvm.$watch(watchProp, (newValue, oldValue) => {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tif (handler) {\r\n\t\t\t\t\t\thandler.call(vm, aMapObject, newValue, oldValue)\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\taMapObject[\r\n\t\t\t\t\t\t\t`set${prop.replace(prop[0], prop[0].toUpperCase())}`\r\n\t\t\t\t\t\t](newValue)\r\n\t\t\t\t\t}\r\n\t\t\t\t} catch (error) {\r\n\t\t\t\t\t// eslint-disable-next-line\r\n\t\t\t\t\tconsole.error('Props watch error:', error)\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t})\r\n}\r\n\r\nexport default watchProps\r\n","<template lang=\"pug\">\r\n.v-amap-ctn\r\n\t.v-amap(ref=\"aMap\")\r\n\ttemplate(v-if=\"AMap && aMap\")\r\n\t\tslot(:AMap=\"AMap\" :aMap=\"aMap\")\r\n</template>\r\n\r\n<script>\r\nimport AMapManager, { AMapLoader } from '@'\r\nimport { listenerProxy, watchProps } from '@/utils'\r\n\r\nconst watchedProps = [\r\n\t'zoom',\r\n\t[\r\n\t\t'center',\r\n\t\tfunction (aMap, newValue, oldValue) {\r\n\t\t\tif (newValue === oldValue) return\r\n\t\t\taMap.setCenter(newValue)\r\n\t\t}\r\n\t],\r\n\t'labelzIndex',\r\n\t'lang',\r\n\t'defaultCursor',\r\n\t'features',\r\n\t'mapStyle',\r\n\t'pitch'\r\n]\r\n\r\nexport default {\r\n\tname: 'VAMap',\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tAMap: null,\r\n\t\t\taMap: null\r\n\t\t}\r\n\t},\r\n\tcreated() {\r\n\t\tthis._createMap()\r\n\t},\r\n\tdestroyed() {\r\n\t\tthis._destroyMap()\r\n\t},\r\n\tmethods: {\r\n\t\tasync _createMap() {\r\n\t\t\tthis.AMap = await AMapLoader.load()\r\n\r\n\t\t\tconst options = Object.assign(\r\n\t\t\t\t{},\r\n\t\t\t\tAMapManager.globalMapOptions,\r\n\t\t\t\tthis.$attrs\r\n\t\t\t)\r\n\r\n\t\t\tthis.aMap = new this.AMap.Map(this.$refs.aMap, options)\r\n\r\n\t\t\tlistenerProxy(this.aMap, this)\r\n\t\t\twatchProps(this.aMap, this, watchedProps)\r\n\r\n\t\t\tthis.$emit('init', this.aMap, this.AMap)\r\n\t\t},\r\n\t\t_destroyMap() {\r\n\t\t\tthis.aMap && this.aMap.destroy()\r\n\t\t},\r\n\t\taddMarker(marker) {\r\n\t\t\tthis.aMap && this.aMap.add(marker)\r\n\t\t},\r\n\t\tremoveMarker(marker) {\r\n\t\t\tthis.aMap && this.aMap.remove(marker)\r\n\t\t}\r\n\t}\r\n}\r\n</script>\r\n\r\n<style lang=\"stylus\" scoped>\r\n.v-amap-ctn\r\n\t// overflow hidden\r\n\theight 100%\r\n\t.v-amap\r\n\t\theight 100%\r\n</style>\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMap.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMap.vue?vue&type=script&lang=js&\"","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent(\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier /* server only */,\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options =\n typeof scriptExports === 'function' ? scriptExports.options : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) {\n // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","import { render, staticRenderFns } from \"./VAMap.vue?vue&type=template&id=37c06024&scoped=true&lang=pug&\"\nimport script from \"./VAMap.vue?vue&type=script&lang=js&\"\nexport * from \"./VAMap.vue?vue&type=script&lang=js&\"\nimport style0 from \"./VAMap.vue?vue&type=style&index=0&id=37c06024&prod&lang=stylus&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"37c06024\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"v-amap-marker\"},[_vm._t(\"default\")],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template lang=\"pug\">\r\n.v-amap-marker\r\n\tslot\r\n</template>\r\n<script>\r\nimport { AMapLoader } from '@'\r\nimport { listenerProxy, watchProps } from '@/utils'\r\n\r\nconst watchedProps = [\r\n\t'position',\r\n\t'anchor',\r\n\t'offset',\r\n\t'icon',\r\n\t'draggable',\r\n\t'cursor',\r\n\t[\r\n\t\t'visible',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker[value ? 'show' : 'hide']()\r\n\t\t\tvalue && this._updateMarkerContent()\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'zIndex',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setzIndex(value)\r\n\t\t}\r\n\t],\r\n\t'angle',\r\n\t'animation',\r\n\t'shadow',\r\n\t'title',\r\n\t'clickable',\r\n\t'shape',\r\n\t'extData',\r\n\t'label'\r\n]\r\n\r\nexport default {\r\n\tname: 'VAMapMarker',\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tmarker: null,\r\n\t\t\tisFixedMarkerSize: false\r\n\t\t}\r\n\t},\r\n\tmounted() {\r\n\t\tthis._createMarker()\r\n\t},\r\n\tasync updated() {\r\n\t\tif (!this.marker) return\r\n\t\tif (this.isFixedMarkerSize) return\r\n\r\n\t\tthis.isFixedMarkerSize = true\r\n\r\n\t\tawait this.$nextTick()\r\n\r\n\t\tthis._updateMarkerContent()\r\n\t},\r\n\tdestroyed() {\r\n\t\tthis._removeMarker()\r\n\t},\r\n\tmethods: {\r\n\t\tasync _createMarker() {\r\n\t\t\tconst AMap = await AMapLoader.load(),\r\n\t\t\t\toptions = Object.assign({}, this.$attrs, {\r\n\t\t\t\t\tcontent: this.$scopedSlots.default ? this.$el : null\r\n\t\t\t\t})\r\n\r\n\t\t\tthis.marker = new AMap.Marker(options)\r\n\r\n\t\t\tlistenerProxy(this.marker, this)\r\n\t\t\twatchProps(this.marker, this, watchedProps)\r\n\r\n\t\t\tthis._addMarker()\r\n\t\t},\r\n\t\t_updateMarkerContent() {\r\n\t\t\tthis.marker.setContent(this.$el)\r\n\t\t},\r\n\t\t_addMarker() {\r\n\t\t\tif (!this.$parent.addMarker) return\r\n\r\n\t\t\tthis.$parent.addMarker(this.marker)\r\n\r\n\t\t\tthis.$emit('init', this.marker)\r\n\t\t},\r\n\t\t_removeMarker() {\r\n\t\t\tif (!this.marker) return\r\n\t\t\tif (!this.$parent.removeMarker) return\r\n\r\n\t\t\tthis.$parent.removeMarker(this.marker)\r\n\t\t}\r\n\t}\r\n}\r\n</script>\r\n\r\n<style lang=\"stylus\" scoped></style>\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMapMarker.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMapMarker.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./VAMapMarker.vue?vue&type=template&id=18484f00&scoped=true&lang=pug&\"\nimport script from \"./VAMapMarker.vue?vue&type=script&lang=js&\"\nexport * from \"./VAMapMarker.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"18484f00\",\n null\n \n)\n\nexport default component.exports","<script>\r\nimport { AMapLoader } from '@'\r\nimport { listenerProxy, watchProps } from '@/utils'\r\n\r\nconst watchedProps = [\r\n\t// 新增属性\r\n\t[\r\n\t\t'data',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setData(value)\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'styleObject',\r\n\t\t(marker, value) => {\r\n\t\t\tmarker.setStyle(value)\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'visible',\r\n\t\t(marker, value) => {\r\n\t\t\tmarker[value ? 'show' : 'hide']()\r\n\t\t}\r\n\t]\r\n]\r\n\r\nexport default {\r\n\tname: 'VAMapMassMarks',\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tmarker: null\r\n\t\t}\r\n\t},\r\n\tcreated() {\r\n\t\tthis._createMarker()\r\n\t},\r\n\tdestroyed() {\r\n\t\tthis._removeMarker()\r\n\t},\r\n\tmethods: {\r\n\t\tasync _createMarker() {\r\n\t\t\tconst AMap = await AMapLoader.load(),\r\n\t\t\t\toptions = Object.assign({}, this.$attrs, {\r\n\t\t\t\t\tstyle: this.$attrs.styleObject || {}\r\n\t\t\t\t})\r\n\r\n\t\t\tthis.marker = new AMap.MassMarks(this.$attrs.data || [], options)\r\n\r\n\t\t\tlistenerProxy(this.marker, this)\r\n\t\t\twatchProps(this.marker, this, watchedProps)\r\n\r\n\t\t\tthis._addMarker()\r\n\t\t},\r\n\t\t_addMarker() {\r\n\t\t\tif (!this.$parent.aMap) return\r\n\r\n\t\t\tthis.marker.setMap(this.$parent.aMap)\r\n\r\n\t\t\tthis.$emit('init', this.marker)\r\n\t\t},\r\n\t\t_removeMarker() {\r\n\t\t\tif (!this.marker) return\r\n\r\n\t\t\tthis.marker.clear()\r\n\t\t\tthis.marker.setMap()\r\n\t\t}\r\n\t},\r\n\trender() {\r\n\t\treturn null\r\n\t}\r\n}\r\n</script>\r\n","var render, staticRenderFns\nimport script from \"./VAMapMassMarks.vue?vue&type=script&lang=js&\"\nexport * from \"./VAMapMassMarks.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMapMassMarks.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMapMassMarks.vue?vue&type=script&lang=js&\"","<script>\r\nimport { AMapLoader } from '@'\r\nimport { listenerProxy, watchProps } from '@/utils'\r\n\r\nconst watchedProps = [\r\n\t'path',\r\n\t// 新增属性\r\n\t[\r\n\t\t'visible',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker[value ? 'show' : 'hide']()\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'zIndex',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ zIndex: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'bubble',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ bubble: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'cursor',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ cursor: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'strokeColor',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ strokeColor: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'strokeOpacity',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ strokeOpacity: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'strokeWeight',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ strokeWeight: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'strokeStyle',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ strokeStyle: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'strokeDasharray',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ strokeDasharray: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'fillColor',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ fillColor: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'fillOpacity',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ fillOpacity: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'draggable',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ draggable: value })\r\n\t\t}\r\n\t]\r\n]\r\n\r\nexport default {\r\n\tname: 'VAMapPolygon',\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tmarker: null\r\n\t\t}\r\n\t},\r\n\tcreated() {\r\n\t\tthis._createMarker()\r\n\t},\r\n\tdestroyed() {\r\n\t\tthis._removeMarker()\r\n\t},\r\n\tmethods: {\r\n\t\tasync _createMarker() {\r\n\t\t\tconst AMap = await AMapLoader.load(),\r\n\t\t\t\toptions = Object.assign({}, this.$attrs, {\r\n\t\t\t\t\tmap: undefined\r\n\t\t\t\t})\r\n\r\n\t\t\tthis.marker = new AMap.Polygon(options)\r\n\r\n\t\t\tlistenerProxy(this.marker, this)\r\n\t\t\twatchProps(this.marker, this, watchedProps)\r\n\r\n\t\t\tthis._addMarker()\r\n\t\t},\r\n\t\t_addMarker() {\r\n\t\t\tif (!this.$parent.addMarker) return\r\n\r\n\t\t\tthis.$parent.addMarker(this.marker)\r\n\r\n\t\t\tthis.$emit('init', this.marker)\r\n\t\t},\r\n\t\t_removeMarker() {\r\n\t\t\tif (!this.marker) return\r\n\t\t\tif (!this.$parent.removeMarker) return\r\n\r\n\t\t\tthis.$parent.removeMarker(this.marker)\r\n\t\t}\r\n\t},\r\n\trender() {\r\n\t\treturn null\r\n\t}\r\n}\r\n</script>\r\n","var render, staticRenderFns\nimport script from \"./VAMapPolygon.vue?vue&type=script&lang=js&\"\nexport * from \"./VAMapPolygon.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMapPolygon.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMapPolygon.vue?vue&type=script&lang=js&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"v-amap-place-search-input\"},[_c('input',{ref:\"input\",attrs:{\"placeholder\":_vm.placeholder}})])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template lang=\"pug\">\r\n.v-amap-place-search-input\r\n\tinput(:placeholder=\"placeholder\" ref=\"input\")\r\n</template>\r\n\r\n<script>\r\nimport { AMapLoader } from '@'\r\n\r\nexport default {\r\n\tname: 'VAMapPlaceSearchInput',\r\n\tprops: {\r\n\t\tplaceholder: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\tcustomEnable: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: true\r\n\t\t}\r\n\t},\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tAMap: null,\r\n\t\t\tautocompleteListener: null,\r\n\t\t\tplaceSearchListener: null\r\n\t\t}\r\n\t},\r\n\tasync mounted() {\r\n\t\tthis.AMap = await AMapLoader.load()\r\n\t\tthis.addListener()\r\n\t},\r\n\tdestroyed() {\r\n\t\tthis.removeListener()\r\n\t},\r\n\tmethods: {\r\n\t\tasync addListener() {\r\n\t\t\tconst autocomplete = new this.AMap.Autocomplete({\r\n\t\t\t\t\tinput: this.$refs.input\r\n\t\t\t\t}),\r\n\t\t\t\tplaceSearch = new this.AMap.PlaceSearch({})\r\n\r\n\t\t\tthis.autocompleteListener = this.AMap.event.addListener(\r\n\t\t\t\tautocomplete,\r\n\t\t\t\t'select',\r\n\t\t\t\tevent => {\r\n\t\t\t\t\tplaceSearch.search(event.poi.name)\r\n\t\t\t\t}\r\n\t\t\t)\r\n\r\n\t\t\tthis.placeSearchListener = this.AMap.event.addListener(\r\n\t\t\t\tplaceSearch,\r\n\t\t\t\t'complete',\r\n\t\t\t\tevent => {\r\n\t\t\t\t\tvar position = null\r\n\t\t\t\t\tif (\r\n\t\t\t\t\t\tevent &&\r\n\t\t\t\t\t\tevent.poiList &&\r\n\t\t\t\t\t\tevent.poiList.pois &&\r\n\t\t\t\t\t\tevent.poiList.pois.length\r\n\t\t\t\t\t) {\r\n\t\t\t\t\t\tposition = [\r\n\t\t\t\t\t\t\tevent.poiList.pois[0].location.lng,\r\n\t\t\t\t\t\t\tevent.poiList.pois[0].location.lat\r\n\t\t\t\t\t\t]\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.$emit('change', position)\r\n\r\n\t\t\t\t\tif (!position && !this.customEnable) {\r\n\t\t\t\t\t\tthis.$refs.input.value = ''\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t)\r\n\t\t},\r\n\t\tremoveListener() {\r\n\t\t\tthis.AMap.event.removeListener(this.autocompleteListener)\r\n\t\t\tthis.AMap.event.removeListener(this.placeSearchListener)\r\n\t\t}\r\n\t}\r\n}\r\n</script>\r\n\r\n<style lang=\"stylus\" scoped>\r\n.v-amap-place-search-input\r\n\tinput\r\n\t\tdisplay inline-block\r\n\t\tbox-sizing border-box\r\n\t\tpadding 0 15px\r\n\t\twidth 100%\r\n\t\theight 40px\r\n\t\toutline 0\r\n\t\tborder 1px solid #DCDFE6\r\n\t\tborder-radius 4px\r\n\t\tbackground-color #FFF\r\n\t\tbackground-image none\r\n\t\tcolor #606266\r\n\t\tfont-size inherit\r\n\t\tline-height 40px\r\n\t\ttransition border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1)\r\n\t\t-webkit-appearance none\r\n</style>\r\n\r\n<style lang=\"stylus\">\r\n.amap-sug-result\r\n\tdisplay none\r\n</style>\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMapPlaceSearchInput.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMapPlaceSearchInput.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./VAMapPlaceSearchInput.vue?vue&type=template&id=57fd4556&scoped=true&lang=pug&\"\nimport script from \"./VAMapPlaceSearchInput.vue?vue&type=script&lang=js&\"\nexport * from \"./VAMapPlaceSearchInput.vue?vue&type=script&lang=js&\"\nimport style0 from \"./VAMapPlaceSearchInput.vue?vue&type=style&index=0&id=57fd4556&prod&lang=stylus&scoped=true&\"\nimport style1 from \"./VAMapPlaceSearchInput.vue?vue&type=style&index=1&id=57fd4556&prod&lang=stylus&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"57fd4556\",\n null\n \n)\n\nexport default component.exports","import VAMap from './VAMap'\r\nimport VAMapMarker from './VAMapMarker'\r\nimport VAMapMassMarks from './VAMapMassMarks'\r\nimport VAMapPolygon from './VAMapPolygon'\r\nimport VAMapPlaceSearchInput from './VAMapPlaceSearchInput'\r\n\r\nexport default [\r\n\tVAMap,\r\n\tVAMapMarker,\r\n\tVAMapMassMarks,\r\n\tVAMapPolygon,\r\n\tVAMapPlaceSearchInput\r\n]\r\n","import AMapLoader from './loader'\r\nimport Components from './Components'\r\n\r\nlet globalMapOptions = {}\r\n\r\nclass AMapManager {\r\n\tstatic get AMapLoader() {\r\n\t\treturn AMapLoader\r\n\t}\r\n\tstatic get globalMapOptions() {\r\n\t\treturn globalMapOptions\r\n\t}\r\n\tstatic install(Vue) {\r\n\t\tComponents.forEach(Component => {\r\n\t\t\tVue.component(Component.name, Component)\r\n\t\t})\r\n\t}\r\n\tstatic async initAMap({ globalMapOptions: options = {}, ...args }) {\r\n\t\tglobalMapOptions = Object.assign({}, options)\r\n\r\n\t\tAMapLoader.config({ ...args })\r\n\r\n\t\treturn await AMapLoader.load()\r\n\t}\r\n\tconstructor() {}\r\n}\r\n\r\nexport { AMapLoader }\r\n\r\nexport default AMapManager\r\n","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n","export * from \"-!../../node_modules/vue-style-loader/index.js??ref--11-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-3!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-4!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMapPlaceSearchInput.vue?vue&type=style&index=1&id=57fd4556&prod&lang=stylus&\""],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack://vue-amap/webpack/universalModuleDefinition","webpack://vue-amap/webpack/bootstrap","webpack://vue-amap/./src/Components/VAMapPlaceSearchInput.vue?5095","webpack://vue-amap/./node_modules/css-loader/dist/runtime/api.js","webpack://vue-amap/./src/Components/VAMapPlaceSearchInput.vue?05ee","webpack://vue-amap/./src/Components/VAMap.vue?34a1","webpack://vue-amap/./node_modules/vue-style-loader/lib/listToStyles.js","webpack://vue-amap/./node_modules/vue-style-loader/lib/addStylesClient.js","webpack://vue-amap/./src/Components/VAMap.vue?8b29","webpack://vue-amap/./src/Components/VAMapPlaceSearchInput.vue?31b0","webpack://vue-amap/./src/Components/VAMapPlaceSearchInput.vue?1285","webpack://vue-amap/./src/Components/VAMap.vue?d63e","webpack://vue-amap/./src/Components/VAMapPlaceSearchInput.vue?8c95","webpack://vue-amap/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://vue-amap/./src/CONSTANTS/index.js","webpack://vue-amap/./src/loader/index.js","webpack://vue-amap/./src/Components/VAMap.vue?645a","webpack://vue-amap/./src/utils/listenerProxy.js","webpack://vue-amap/./src/utils/typeOf.js","webpack://vue-amap/./src/utils/watchProps.js","webpack://vue-amap/src/Components/VAMap.vue","webpack://vue-amap/./src/Components/VAMap.vue?f26e","webpack://vue-amap/./node_modules/vue-loader/lib/runtime/componentNormalizer.js","webpack://vue-amap/./src/Components/VAMap.vue","webpack://vue-amap/./src/Components/VAMapMarker.vue?e40c","webpack://vue-amap/src/Components/VAMapMarker.vue","webpack://vue-amap/./src/Components/VAMapMarker.vue?01bc","webpack://vue-amap/./src/Components/VAMapMarker.vue","webpack://vue-amap/src/Components/VAMapMassMarks.vue","webpack://vue-amap/./src/Components/VAMapMassMarks.vue","webpack://vue-amap/./src/Components/VAMapMassMarks.vue?89cb","webpack://vue-amap/src/Components/VAMapPolygon.vue","webpack://vue-amap/./src/Components/VAMapPolygon.vue","webpack://vue-amap/./src/Components/VAMapPolygon.vue?75e2","webpack://vue-amap/./src/Components/VAMapPlaceSearchInput.vue?76b5","webpack://vue-amap/src/Components/VAMapPlaceSearchInput.vue","webpack://vue-amap/./src/Components/VAMapPlaceSearchInput.vue?06ed","webpack://vue-amap/./src/Components/VAMapPlaceSearchInput.vue","webpack://vue-amap/./src/Components/index.js","webpack://vue-amap/./src/index.js","webpack://vue-amap/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js","webpack://vue-amap/./src/Components/VAMapPlaceSearchInput.vue?125d"],"names":["root","factory","exports","module","define","amd","self","this","installedModules","__webpack_require__","moduleId","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","___CSS_LOADER_API_IMPORT___","push","cssWithMappingToString","item","useSourceMap","content","cssMapping","btoa","sourceMapping","toComment","sourceURLs","sources","map","source","concat","sourceRoot","join","sourceMap","base64","unescape","encodeURIComponent","JSON","stringify","data","list","toString","mediaQuery","dedupe","alreadyImportedModules","length","id","_i","default","locals","add","listToStyles","parentId","styles","newStyles","css","media","part","parts","hasDocument","document","DEBUG","Error","stylesInDom","head","getElementsByTagName","singletonElement","singletonCounter","isProduction","noop","options","ssrIdKey","isOldIE","navigator","test","userAgent","toLowerCase","addStylesClient","_isProduction","_options","addStylesToDom","newList","mayRemove","domStyle","refs","j","addStyle","createStyleElement","styleElement","createElement","type","appendChild","obj","update","remove","querySelector","parentNode","removeChild","styleIndex","applyToSingletonTag","applyToTag","newObj","replaceText","textStore","index","replacement","filter","Boolean","styleSheet","cssText","cssNode","createTextNode","childNodes","insertBefore","setAttribute","ssrId","firstChild","window","currentScript","src","match","CONSTANTS","SDK_URL","CALLBACK_NAME","_key","_version","_uiVersion","_plugins","version","callbackName","plugins","uiVersion","_callbackName","_isSdkLoaded","_isSdkLoading","_callbacks","_loadCallback","Date","now","url","callback","el_script","charset","addEventListener","attachEvent","target","event","srcElement","readyState","isSdkLoaded","AMap","isSdkLoading","Promise","resolve","callbacks","initAMapUI","forEach","_loadScript","uiSdkUrl","sdkUrl","render","_vm","_c","_self","staticClass","ref","aMap","_t","_e","staticRenderFns","listenerProxy","aMapObject","vm","listeners","$listeners","handler","on","args","typeOf","param","watchProps","props","prop","watchProp","$watch","newValue","oldValue","replace","toUpperCase","error","console","watchedProps","setCenter","_createMap","_destroyMap","methods","load","assign","globalMapOptions","$attrs","Map","$refs","$emit","destroy","marker","normalizeComponent","scriptExports","functionalTemplate","injectStyles","scopeId","moduleIdentifier","shadowMode","hook","_compiled","functional","_scopeId","context","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","_registeredComponents","_ssrRegister","$root","$options","shadowRoot","_injectStyles","originalRender","h","existing","beforeCreate","component","_updateMarkerContent","setzIndex","isFixedMarkerSize","_createMarker","$nextTick","_resetMarkerContent","_removeMarker","$scopedSlots","Marker","_addMarker","setContent","$el","$parent","addMarker","removeMarker","setData","setStyle","style","styleObject","MassMarks","setMap","clear","setOptions","zIndex","bubble","cursor","strokeColor","strokeOpacity","strokeWeight","strokeStyle","strokeDasharray","fillColor","fillOpacity","draggable","undefined","Polygon","attrs","placeholder","String","customEnable","autocompleteListener","placeSearchListener","addListener","removeListener","autocomplete","Autocomplete","input","placeSearch","PlaceSearch","search","poi","position","poiList","pois","location","lng","lat","VAMap","VAMapMarker","VAMapMassMarks","VAMapPolygon","VAMapPlaceSearchInput","Vue","Components","Component","config"],"mappings":"CAAA,SAA2CA,EAAMC,GAC1B,kBAAZC,SAA0C,kBAAXC,OACxCA,OAAOD,QAAUD,IACQ,oBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,kBAAZC,QACdA,QAAQ,YAAc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AI3S,KAAK0K,KAAKkI,YAAY,IAEzC5S,KAAKoS,qBAAuBpS,KAAK0K,KAAKJ,MAAMgI,YAC3CE,EACA,SACAlI,IACCqI,EAAYE,OAAOvI,EAAMwI,IAAInS,QAI/BX,KAAKqS,oBAAsBrS,KAAK0K,KAAKJ,MAAMgI,YAC1CK,EACA,WACArI,IACC,IAAIyI,EAAW,KAEdzI,GACAA,EAAM0I,SACN1I,EAAM0I,QAAQC,MACd3I,EAAM0I,QAAQC,KAAKhP,SAEnB8O,EAAW,CACVzI,EAAM0I,QAAQC,KAAK,GAAGC,SAASC,IAC/B7I,EAAM0I,QAAQC,KAAK,GAAGC,SAASE,MAGjCpT,KAAK8N,MAAM,SAAUiF,GAEhBA,GAAa/S,KAAKmS,eACtBnS,KAAK6N,MAAM6E,MAAMrR,MAAQ,OAK7B,iBACCrB,KAAK0K,KAAKJ,MAAMiI,eAAevS,KAAKoS,sBACpCpS,KAAK0K,KAAKJ,MAAMiI,eAAevS,KAAKqS,wBC3EuK,ICS1M,G,oBAAY,EACd,EACA,EACA,GACA,EACA,KACA,WACA,OAIa,I,QCdA,GACdgB,EACAC,EACAC,EACAC,EACAC,GCRD,IAAI/F,EAAmB,GAEvB,MAAM,EACL,wBACC,OAAO,EAER,8BACC,OAAOA,EAER,eAAegG,GACdC,EAAW3I,QAAQ4I,IAClBF,EAAI/D,UAAUiE,EAAUjT,KAAMiT,KAGhC,uBAAwBlG,iBAAkBhI,EAAU,MAAO2G,IAK1D,OAJAqB,EAAmB5M,OAAO2M,OAAO,GAAI/H,GAErC,EAAWmO,OAAO,IAAKxH,UAEV,EAAWmB,OAEzB,gBAKc,QC3BA,gB,kCCFf,a","file":"vue-amap.umd.min.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"vue-amap\"] = factory();\n\telse\n\t\troot[\"vue-amap\"] = factory();\n})((typeof self !== 'undefined' ? self : this), function() {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"fb15\");\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".amap-sug-result{display:none}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\n// eslint-disable-next-line func-names\nmodule.exports = function (useSourceMap) {\n var list = []; // return the list of modules as css string\n\n list.toString = function toString() {\n return this.map(function (item) {\n var content = cssWithMappingToString(item, useSourceMap);\n\n if (item[2]) {\n return \"@media \".concat(item[2], \" {\").concat(content, \"}\");\n }\n\n return content;\n }).join('');\n }; // import a list of modules into the list\n // eslint-disable-next-line func-names\n\n\n list.i = function (modules, mediaQuery, dedupe) {\n if (typeof modules === 'string') {\n // eslint-disable-next-line no-param-reassign\n modules = [[null, modules, '']];\n }\n\n var alreadyImportedModules = {};\n\n if (dedupe) {\n for (var i = 0; i < this.length; i++) {\n // eslint-disable-next-line prefer-destructuring\n var id = this[i][0];\n\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n\n for (var _i = 0; _i < modules.length; _i++) {\n var item = [].concat(modules[_i]);\n\n if (dedupe && alreadyImportedModules[item[0]]) {\n // eslint-disable-next-line no-continue\n continue;\n }\n\n if (mediaQuery) {\n if (!item[2]) {\n item[2] = mediaQuery;\n } else {\n item[2] = \"\".concat(mediaQuery, \" and \").concat(item[2]);\n }\n }\n\n list.push(item);\n }\n };\n\n return list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n var content = item[1] || ''; // eslint-disable-next-line prefer-destructuring\n\n var cssMapping = item[3];\n\n if (!cssMapping) {\n return content;\n }\n\n if (useSourceMap && typeof btoa === 'function') {\n var sourceMapping = toComment(cssMapping);\n var sourceURLs = cssMapping.sources.map(function (source) {\n return \"/*# sourceURL=\".concat(cssMapping.sourceRoot || '').concat(source, \" */\");\n });\n return [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n }\n\n return [content].join('\\n');\n} // Adapted from convert-source-map (MIT)\n\n\nfunction toComment(sourceMap) {\n // eslint-disable-next-line no-undef\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n return \"/*# \".concat(data, \" */\");\n}","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-3!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-4!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMapPlaceSearchInput.vue?vue&type=style&index=1&id=57fd4556&prod&lang=stylus&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"37432b0a\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-3!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-4!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMap.vue?vue&type=style&index=0&id=37c06024&prod&lang=stylus&scoped=true&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"329bbec2\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","/**\n * Translates the list format produced by css-loader into something\n * easier to manipulate.\n */\nexport default function listToStyles (parentId, list) {\n var styles = []\n var newStyles = {}\n for (var i = 0; i < list.length; i++) {\n var item = list[i]\n var id = item[0]\n var css = item[1]\n var media = item[2]\n var sourceMap = item[3]\n var part = {\n id: parentId + ':' + i,\n css: css,\n media: media,\n sourceMap: sourceMap\n }\n if (!newStyles[id]) {\n styles.push(newStyles[id] = { id: id, parts: [part] })\n } else {\n newStyles[id].parts.push(part)\n }\n }\n return styles\n}\n","/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n Modified by Evan You @yyx990803\n*/\n\nimport listToStyles from './listToStyles'\n\nvar hasDocument = typeof document !== 'undefined'\n\nif (typeof DEBUG !== 'undefined' && DEBUG) {\n if (!hasDocument) {\n throw new Error(\n 'vue-style-loader cannot be used in a non-browser environment. ' +\n \"Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.\"\n ) }\n}\n\n/*\ntype StyleObject = {\n id: number;\n parts: Array<StyleObjectPart>\n}\n\ntype StyleObjectPart = {\n css: string;\n media: string;\n sourceMap: ?string\n}\n*/\n\nvar stylesInDom = {/*\n [id: number]: {\n id: number,\n refs: number,\n parts: Array<(obj?: StyleObjectPart) => void>\n }\n*/}\n\nvar head = hasDocument && (document.head || document.getElementsByTagName('head')[0])\nvar singletonElement = null\nvar singletonCounter = 0\nvar isProduction = false\nvar noop = function () {}\nvar options = null\nvar ssrIdKey = 'data-vue-ssr-id'\n\n// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\n// tags it will allow on a page\nvar isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase())\n\nexport default function addStylesClient (parentId, list, _isProduction, _options) {\n isProduction = _isProduction\n\n options = _options || {}\n\n var styles = listToStyles(parentId, list)\n addStylesToDom(styles)\n\n return function update (newList) {\n var mayRemove = []\n for (var i = 0; i < styles.length; i++) {\n var item = styles[i]\n var domStyle = stylesInDom[item.id]\n domStyle.refs--\n mayRemove.push(domStyle)\n }\n if (newList) {\n styles = listToStyles(parentId, newList)\n addStylesToDom(styles)\n } else {\n styles = []\n }\n for (var i = 0; i < mayRemove.length; i++) {\n var domStyle = mayRemove[i]\n if (domStyle.refs === 0) {\n for (var j = 0; j < domStyle.parts.length; j++) {\n domStyle.parts[j]()\n }\n delete stylesInDom[domStyle.id]\n }\n }\n }\n}\n\nfunction addStylesToDom (styles /* Array<StyleObject> */) {\n for (var i = 0; i < styles.length; i++) {\n var item = styles[i]\n var domStyle = stylesInDom[item.id]\n if (domStyle) {\n domStyle.refs++\n for (var j = 0; j < domStyle.parts.length; j++) {\n domStyle.parts[j](item.parts[j])\n }\n for (; j < item.parts.length; j++) {\n domStyle.parts.push(addStyle(item.parts[j]))\n }\n if (domStyle.parts.length > item.parts.length) {\n domStyle.parts.length = item.parts.length\n }\n } else {\n var parts = []\n for (var j = 0; j < item.parts.length; j++) {\n parts.push(addStyle(item.parts[j]))\n }\n stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }\n }\n }\n}\n\nfunction createStyleElement () {\n var styleElement = document.createElement('style')\n styleElement.type = 'text/css'\n head.appendChild(styleElement)\n return styleElement\n}\n\nfunction addStyle (obj /* StyleObjectPart */) {\n var update, remove\n var styleElement = document.querySelector('style[' + ssrIdKey + '~=\"' + obj.id + '\"]')\n\n if (styleElement) {\n if (isProduction) {\n // has SSR styles and in production mode.\n // simply do nothing.\n return noop\n } else {\n // has SSR styles but in dev mode.\n // for some reason Chrome can't handle source map in server-rendered\n // style tags - source maps in <style> only works if the style tag is\n // created and inserted dynamically. So we remove the server rendered\n // styles and inject new ones.\n styleElement.parentNode.removeChild(styleElement)\n }\n }\n\n if (isOldIE) {\n // use singleton mode for IE9.\n var styleIndex = singletonCounter++\n styleElement = singletonElement || (singletonElement = createStyleElement())\n update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)\n remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)\n } else {\n // use multi-style-tag mode in all other cases\n styleElement = createStyleElement()\n update = applyToTag.bind(null, styleElement)\n remove = function () {\n styleElement.parentNode.removeChild(styleElement)\n }\n }\n\n update(obj)\n\n return function updateStyle (newObj /* StyleObjectPart */) {\n if (newObj) {\n if (newObj.css === obj.css &&\n newObj.media === obj.media &&\n newObj.sourceMap === obj.sourceMap) {\n return\n }\n update(obj = newObj)\n } else {\n remove()\n }\n }\n}\n\nvar replaceText = (function () {\n var textStore = []\n\n return function (index, replacement) {\n textStore[index] = replacement\n return textStore.filter(Boolean).join('\\n')\n }\n})()\n\nfunction applyToSingletonTag (styleElement, index, remove, obj) {\n var css = remove ? '' : obj.css\n\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = replaceText(index, css)\n } else {\n var cssNode = document.createTextNode(css)\n var childNodes = styleElement.childNodes\n if (childNodes[index]) styleElement.removeChild(childNodes[index])\n if (childNodes.length) {\n styleElement.insertBefore(cssNode, childNodes[index])\n } else {\n styleElement.appendChild(cssNode)\n }\n }\n}\n\nfunction applyToTag (styleElement, obj) {\n var css = obj.css\n var media = obj.media\n var sourceMap = obj.sourceMap\n\n if (media) {\n styleElement.setAttribute('media', media)\n }\n if (options.ssrId) {\n styleElement.setAttribute(ssrIdKey, obj.id)\n }\n\n if (sourceMap) {\n // https://developer.chrome.com/devtools/docs/javascript-debugging\n // this makes source maps inside style tags work properly in Chrome\n css += '\\n/*# sourceURL=' + sourceMap.sources[0] + ' */'\n // http://stackoverflow.com/a/26603875\n css += '\\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'\n }\n\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild)\n }\n styleElement.appendChild(document.createTextNode(css))\n }\n}\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".v-amap-ctn[data-v-37c06024],.v-amap-ctn .v-amap[data-v-37c06024]{height:100%}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export * from \"-!../../node_modules/vue-style-loader/index.js??ref--11-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-3!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-4!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMapPlaceSearchInput.vue?vue&type=style&index=0&id=57fd4556&prod&lang=stylus&scoped=true&\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".v-amap-place-search-input input[data-v-57fd4556]{display:inline-block;box-sizing:border-box;padding:0 15px;width:100%;height:40px;outline:0;border:1px solid #dcdfe6;border-radius:4px;background-color:#fff;background-image:none;color:#606266;font-size:inherit;line-height:40px;transition:border-color .2s cubic-bezier(.645,.045,.355,1);-webkit-appearance:none}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export * from \"-!../../node_modules/vue-style-loader/index.js??ref--11-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-3!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-4!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMap.vue?vue&type=style&index=0&id=37c06024&prod&lang=stylus&scoped=true&\"","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-3!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-4!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMapPlaceSearchInput.vue?vue&type=style&index=0&id=57fd4556&prod&lang=stylus&scoped=true&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"1e99f6c0\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","const CONSTANTS = {\r\n\tSDK_URL: 'https://webapi.amap.com/maps',\r\n\tCALLBACK_NAME: 'aMapInitCallback'\r\n}\r\n\r\nexport default CONSTANTS\r\n","import CONSTANTS from '../CONSTANTS'\r\n\r\nclass Loader {\r\n\tget key() {\r\n\t\treturn this._key\r\n\t}\r\n\tget version() {\r\n\t\treturn this._version\r\n\t}\r\n\tget uiVersion() {\r\n\t\treturn this._uiVersion\r\n\t}\r\n\tget plugins() {\r\n\t\treturn this._plugins\r\n\t}\r\n\tget sdkUrl() {\r\n\t\treturn `${CONSTANTS.SDK_URL}?v=${this.version}&key=${\r\n\t\t\tthis.key\r\n\t\t}&callback=${this.callbackName}&plugin=${this.plugins.join(',')}`\r\n\t}\r\n\tget uiSdkUrl() {\r\n\t\treturn `https://webapi.amap.com/ui/${this.uiVersion}/main-async.js`\r\n\t}\r\n\tget callbackName() {\r\n\t\treturn this._callbackName\r\n\t}\r\n\tget isSdkLoaded() {\r\n\t\treturn this._isSdkLoaded\r\n\t}\r\n\tget isSdkLoading() {\r\n\t\treturn this._isSdkLoading\r\n\t}\r\n\tget callbacks() {\r\n\t\treturn this._callbacks\r\n\t}\r\n\tconstructor() {\r\n\t\tthis._loadCallback = null\r\n\t\tthis._callbackName = `${CONSTANTS.CALLBACK_NAME}_${Date.now()}`\r\n\t\tthis._isSdkLoaded = false\r\n\t\tthis._isSdkLoading = false\r\n\t\tthis._callbacks = []\r\n\t}\r\n\t_loadScript(url, callback) {\r\n\t\tlet el_script = document.createElement('script')\r\n\t\tel_script.charset = 'utf-8'\r\n\t\tel_script.src = url\r\n\r\n\t\tif (el_script.addEventListener) {\r\n\t\t\tel_script.addEventListener('load', () => {\r\n\t\t\t\tcallback && callback()\r\n\t\t\t})\r\n\t\t} else if (el_script.attachEvent) {\r\n\t\t\tel_script.attachEvent('onreadystatechange', () => {\r\n\t\t\t\tlet target = window.event.srcElement\r\n\t\t\t\tif (target.readyState == 'loaded') {\r\n\t\t\t\t\tcallback && callback()\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t}\r\n\t\tdocument.head.appendChild(el_script)\r\n\t}\r\n\tconfig({ key = '', version = '', uiVersion = '', plugins } = {}) {\r\n\t\tthis._key = key\r\n\t\tthis._version = version\r\n\t\tthis._uiVersion = uiVersion\r\n\t\tthis._plugins = plugins\r\n\t}\r\n\tasync load() {\r\n\t\tif (this.isSdkLoaded) return window.AMap\r\n\r\n\t\tif (this.isSdkLoading)\r\n\t\t\treturn new Promise(resolve => {\r\n\t\t\t\tthis.callbacks.push(() => {\r\n\t\t\t\t\tresolve(window.AMap)\r\n\t\t\t\t})\r\n\t\t\t})\r\n\r\n\t\treturn new Promise(resolve => {\r\n\t\t\tthis._isSdkLoading = true\r\n\r\n\t\t\twindow[this.callbackName] = () => {\r\n\t\t\t\tthis._isSdkLoaded = true\r\n\t\t\t\tthis._isSdkLoading = false\r\n\r\n\t\t\t\tif (this.uiVersion) {\r\n\t\t\t\t\twindow.initAMapUI()\r\n\t\t\t\t}\r\n\r\n\t\t\t\tdelete window[this.callbackName]\r\n\t\t\t\tresolve(window.AMap)\r\n\r\n\t\t\t\tthis.callbacks.forEach(callback => {\r\n\t\t\t\t\tcallback && callback()\r\n\t\t\t\t})\r\n\r\n\t\t\t\tthis._callbacks = []\r\n\t\t\t}\r\n\t\t\tif (this.uiVersion) {\r\n\t\t\t\tthis._loadScript(this.uiSdkUrl, () => {\r\n\t\t\t\t\tthis._loadScript(this.sdkUrl)\r\n\t\t\t\t})\r\n\t\t\t} else {\r\n\t\t\t\tthis._loadScript(this.sdkUrl)\r\n\t\t\t}\r\n\t\t})\r\n\t}\r\n}\r\n\r\nexport default new Loader()\r\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"v-amap-ctn\"},[_c('div',{ref:\"aMap\",staticClass:\"v-amap\"}),(_vm.AMap && _vm.aMap)?[_vm._t(\"default\",null,{\"AMap\":_vm.AMap,\"aMap\":_vm.aMap})]:_vm._e()],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","const listenerProxy = (aMapObject, vm) => {\r\n\tconst listeners = vm.$listeners\r\n\r\n\tfor (const event in listeners) {\r\n\t\tif (Object.hasOwnProperty.call(listeners, event)) {\r\n\t\t\tconst handler = listeners[event]\r\n\r\n\t\t\taMapObject.on(event, (...args) => {\r\n\t\t\t\thandler(...args)\r\n\t\t\t})\r\n\t\t}\r\n\t}\r\n}\r\n\r\nexport default listenerProxy\r\n","const typeOf = function (param) {\r\n\treturn Object.prototype.toString.call(param).match(/\\s+(\\w+)/)[1]\r\n}\r\n\r\nexport default typeOf\r\n","import typeOf from './typeOf'\r\n\r\nconst watchProps = (aMapObject, vm, props) => {\r\n\tprops\r\n\t\t.map(prop => {\r\n\t\t\tif (typeOf(prop) === 'String')\r\n\t\t\t\treturn { prop, watchProp: `$attrs.${prop}` }\r\n\t\t\tif (typeOf(prop) === 'Array')\r\n\t\t\t\treturn {\r\n\t\t\t\t\tprop: prop[0],\r\n\t\t\t\t\twatchProp: `$attrs.${prop[0]}`,\r\n\t\t\t\t\thandler: prop[1]\r\n\t\t\t\t}\r\n\t\t})\r\n\t\t.forEach(({ watchProp, prop, handler }) => {\r\n\t\t\tvm.$watch(watchProp, (newValue, oldValue) => {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tif (handler) {\r\n\t\t\t\t\t\thandler.call(vm, aMapObject, newValue, oldValue)\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\taMapObject[\r\n\t\t\t\t\t\t\t`set${prop.replace(prop[0], prop[0].toUpperCase())}`\r\n\t\t\t\t\t\t](newValue)\r\n\t\t\t\t\t}\r\n\t\t\t\t} catch (error) {\r\n\t\t\t\t\t// eslint-disable-next-line\r\n\t\t\t\t\tconsole.error('Props watch error:', error)\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t})\r\n}\r\n\r\nexport default watchProps\r\n","<template lang=\"pug\">\r\n.v-amap-ctn\r\n\t.v-amap(ref=\"aMap\")\r\n\ttemplate(v-if=\"AMap && aMap\")\r\n\t\tslot(:AMap=\"AMap\" :aMap=\"aMap\")\r\n</template>\r\n\r\n<script>\r\nimport AMapManager, { AMapLoader } from '@'\r\nimport { listenerProxy, watchProps } from '@/utils'\r\n\r\nconst watchedProps = [\r\n\t'zoom',\r\n\t[\r\n\t\t'center',\r\n\t\tfunction (aMap, newValue, oldValue) {\r\n\t\t\tif (newValue === oldValue) return\r\n\t\t\taMap.setCenter(newValue)\r\n\t\t}\r\n\t],\r\n\t'labelzIndex',\r\n\t'lang',\r\n\t'defaultCursor',\r\n\t'features',\r\n\t'mapStyle',\r\n\t'pitch'\r\n]\r\n\r\nexport default {\r\n\tname: 'VAMap',\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tAMap: null,\r\n\t\t\taMap: null\r\n\t\t}\r\n\t},\r\n\tcreated() {\r\n\t\tthis._createMap()\r\n\t},\r\n\tdestroyed() {\r\n\t\tthis._destroyMap()\r\n\t},\r\n\tmethods: {\r\n\t\tasync _createMap() {\r\n\t\t\tthis.AMap = await AMapLoader.load()\r\n\r\n\t\t\tconst options = Object.assign(\r\n\t\t\t\t{},\r\n\t\t\t\tAMapManager.globalMapOptions,\r\n\t\t\t\tthis.$attrs\r\n\t\t\t)\r\n\r\n\t\t\tthis.aMap = new this.AMap.Map(this.$refs.aMap, options)\r\n\r\n\t\t\tlistenerProxy(this.aMap, this)\r\n\t\t\twatchProps(this.aMap, this, watchedProps)\r\n\r\n\t\t\tthis.$emit('init', this.aMap, this.AMap)\r\n\t\t},\r\n\t\t_destroyMap() {\r\n\t\t\tthis.aMap && this.aMap.destroy()\r\n\t\t},\r\n\t\taddMarker(marker) {\r\n\t\t\tthis.aMap && this.aMap.add(marker)\r\n\t\t},\r\n\t\tremoveMarker(marker) {\r\n\t\t\tthis.aMap && this.aMap.remove(marker)\r\n\t\t}\r\n\t}\r\n}\r\n</script>\r\n\r\n<style lang=\"stylus\" scoped>\r\n.v-amap-ctn\r\n\t// overflow hidden\r\n\theight 100%\r\n\t.v-amap\r\n\t\theight 100%\r\n</style>\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMap.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMap.vue?vue&type=script&lang=js&\"","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent(\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier /* server only */,\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options =\n typeof scriptExports === 'function' ? scriptExports.options : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) {\n // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","import { render, staticRenderFns } from \"./VAMap.vue?vue&type=template&id=37c06024&scoped=true&lang=pug&\"\nimport script from \"./VAMap.vue?vue&type=script&lang=js&\"\nexport * from \"./VAMap.vue?vue&type=script&lang=js&\"\nimport style0 from \"./VAMap.vue?vue&type=style&index=0&id=37c06024&prod&lang=stylus&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"37c06024\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"v-amap-marker\"},[_c('div',{ref:\"content\",staticClass:\"v-amap-marker-content\"},[_vm._t(\"default\")],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template lang=\"pug\">\r\n.v-amap-marker\r\n\t.v-amap-marker-content(ref=\"content\")\r\n\t\tslot\r\n</template>\r\n<script>\r\nimport { AMapLoader } from '@'\r\nimport { listenerProxy, watchProps } from '@/utils'\r\n\r\nconst watchedProps = [\r\n\t'position',\r\n\t'anchor',\r\n\t'offset',\r\n\t'icon',\r\n\t'draggable',\r\n\t'cursor',\r\n\t[\r\n\t\t'visible',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker[value ? 'show' : 'hide']()\r\n\t\t\tvalue && this._updateMarkerContent()\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'zIndex',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setzIndex(value)\r\n\t\t}\r\n\t],\r\n\t'angle',\r\n\t'animation',\r\n\t'shadow',\r\n\t'title',\r\n\t'clickable',\r\n\t'shape',\r\n\t'extData',\r\n\t'label'\r\n]\r\n\r\nexport default {\r\n\tname: 'VAMapMarker',\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tmarker: null,\r\n\t\t\tisFixedMarkerSize: false\r\n\t\t}\r\n\t},\r\n\tmounted() {\r\n\t\tthis._createMarker()\r\n\t},\r\n\tasync updated() {\r\n\t\tif (!this.marker) return\r\n\t\tif (this.isFixedMarkerSize) return\r\n\r\n\t\tthis.isFixedMarkerSize = true\r\n\r\n\t\tawait this.$nextTick()\r\n\r\n\t\tthis._updateMarkerContent()\r\n\t},\r\n\tbeforeDestroy() {\r\n\t\tthis._resetMarkerContent()\r\n\t},\r\n\tdestroyed() {\r\n\t\tthis._removeMarker()\r\n\t},\r\n\tmethods: {\r\n\t\tasync _createMarker() {\r\n\t\t\tconst AMap = await AMapLoader.load(),\r\n\t\t\t\toptions = Object.assign({}, this.$attrs, {\r\n\t\t\t\t\tcontent: this.$scopedSlots.default\r\n\t\t\t\t\t\t? this.$refs.content\r\n\t\t\t\t\t\t: null\r\n\t\t\t\t})\r\n\r\n\t\t\tthis.marker = new AMap.Marker(options)\r\n\r\n\t\t\tlistenerProxy(this.marker, this)\r\n\t\t\twatchProps(this.marker, this, watchedProps)\r\n\r\n\t\t\tthis._addMarker()\r\n\t\t},\r\n\t\t_updateMarkerContent() {\r\n\t\t\tthis.marker.setContent(this.$refs.content)\r\n\t\t},\r\n\t\t_resetMarkerContent() {\r\n\t\t\tthis.$el.appendChild(this.$refs.content)\r\n\t\t},\r\n\t\t_addMarker() {\r\n\t\t\tif (!this.$parent.addMarker) return\r\n\r\n\t\t\tthis.$parent.addMarker(this.marker)\r\n\r\n\t\t\tthis.$emit('init', this.marker)\r\n\t\t},\r\n\t\t_removeMarker() {\r\n\t\t\tif (!this.marker) return\r\n\t\t\tif (!this.$parent.removeMarker) return\r\n\r\n\t\t\tthis.$parent.removeMarker(this.marker)\r\n\t\t}\r\n\t}\r\n}\r\n</script>\r\n\r\n<style lang=\"stylus\" scoped></style>\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMapMarker.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMapMarker.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./VAMapMarker.vue?vue&type=template&id=79bc5cde&scoped=true&lang=pug&\"\nimport script from \"./VAMapMarker.vue?vue&type=script&lang=js&\"\nexport * from \"./VAMapMarker.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"79bc5cde\",\n null\n \n)\n\nexport default component.exports","<script>\r\nimport { AMapLoader } from '@'\r\nimport { listenerProxy, watchProps } from '@/utils'\r\n\r\nconst watchedProps = [\r\n\t// 新增属性\r\n\t[\r\n\t\t'data',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setData(value)\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'styleObject',\r\n\t\t(marker, value) => {\r\n\t\t\tmarker.setStyle(value)\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'visible',\r\n\t\t(marker, value) => {\r\n\t\t\tmarker[value ? 'show' : 'hide']()\r\n\t\t}\r\n\t]\r\n]\r\n\r\nexport default {\r\n\tname: 'VAMapMassMarks',\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tmarker: null\r\n\t\t}\r\n\t},\r\n\tcreated() {\r\n\t\tthis._createMarker()\r\n\t},\r\n\tdestroyed() {\r\n\t\tthis._removeMarker()\r\n\t},\r\n\tmethods: {\r\n\t\tasync _createMarker() {\r\n\t\t\tconst AMap = await AMapLoader.load(),\r\n\t\t\t\toptions = Object.assign({}, this.$attrs, {\r\n\t\t\t\t\tstyle: this.$attrs.styleObject || {}\r\n\t\t\t\t})\r\n\r\n\t\t\tthis.marker = new AMap.MassMarks(this.$attrs.data || [], options)\r\n\r\n\t\t\tlistenerProxy(this.marker, this)\r\n\t\t\twatchProps(this.marker, this, watchedProps)\r\n\r\n\t\t\tthis._addMarker()\r\n\t\t},\r\n\t\t_addMarker() {\r\n\t\t\tif (!this.$parent.aMap) return\r\n\r\n\t\t\tthis.marker.setMap(this.$parent.aMap)\r\n\r\n\t\t\tthis.$emit('init', this.marker)\r\n\t\t},\r\n\t\t_removeMarker() {\r\n\t\t\tif (!this.marker) return\r\n\r\n\t\t\tthis.marker.clear()\r\n\t\t\tthis.marker.setMap()\r\n\t\t}\r\n\t},\r\n\trender() {\r\n\t\treturn null\r\n\t}\r\n}\r\n</script>\r\n","var render, staticRenderFns\nimport script from \"./VAMapMassMarks.vue?vue&type=script&lang=js&\"\nexport * from \"./VAMapMassMarks.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMapMassMarks.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMapMassMarks.vue?vue&type=script&lang=js&\"","<script>\r\nimport { AMapLoader } from '@'\r\nimport { listenerProxy, watchProps } from '@/utils'\r\n\r\nconst watchedProps = [\r\n\t'path',\r\n\t// 新增属性\r\n\t[\r\n\t\t'visible',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker[value ? 'show' : 'hide']()\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'zIndex',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ zIndex: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'bubble',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ bubble: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'cursor',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ cursor: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'strokeColor',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ strokeColor: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'strokeOpacity',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ strokeOpacity: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'strokeWeight',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ strokeWeight: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'strokeStyle',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ strokeStyle: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'strokeDasharray',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ strokeDasharray: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'fillColor',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ fillColor: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'fillOpacity',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ fillOpacity: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'draggable',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ draggable: value })\r\n\t\t}\r\n\t]\r\n]\r\n\r\nexport default {\r\n\tname: 'VAMapPolygon',\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tmarker: null\r\n\t\t}\r\n\t},\r\n\tcreated() {\r\n\t\tthis._createMarker()\r\n\t},\r\n\tdestroyed() {\r\n\t\tthis._removeMarker()\r\n\t},\r\n\tmethods: {\r\n\t\tasync _createMarker() {\r\n\t\t\tconst AMap = await AMapLoader.load(),\r\n\t\t\t\toptions = Object.assign({}, this.$attrs, {\r\n\t\t\t\t\tmap: undefined\r\n\t\t\t\t})\r\n\r\n\t\t\tthis.marker = new AMap.Polygon(options)\r\n\r\n\t\t\tlistenerProxy(this.marker, this)\r\n\t\t\twatchProps(this.marker, this, watchedProps)\r\n\r\n\t\t\tthis._addMarker()\r\n\t\t},\r\n\t\t_addMarker() {\r\n\t\t\tif (!this.$parent.addMarker) return\r\n\r\n\t\t\tthis.$parent.addMarker(this.marker)\r\n\r\n\t\t\tthis.$emit('init', this.marker)\r\n\t\t},\r\n\t\t_removeMarker() {\r\n\t\t\tif (!this.marker) return\r\n\t\t\tif (!this.$parent.removeMarker) return\r\n\r\n\t\t\tthis.$parent.removeMarker(this.marker)\r\n\t\t}\r\n\t},\r\n\trender() {\r\n\t\treturn null\r\n\t}\r\n}\r\n</script>\r\n","var render, staticRenderFns\nimport script from \"./VAMapPolygon.vue?vue&type=script&lang=js&\"\nexport * from \"./VAMapPolygon.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMapPolygon.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMapPolygon.vue?vue&type=script&lang=js&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"v-amap-place-search-input\"},[_c('input',{ref:\"input\",attrs:{\"placeholder\":_vm.placeholder}})])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template lang=\"pug\">\r\n.v-amap-place-search-input\r\n\tinput(:placeholder=\"placeholder\" ref=\"input\")\r\n</template>\r\n\r\n<script>\r\nimport { AMapLoader } from '@'\r\n\r\nexport default {\r\n\tname: 'VAMapPlaceSearchInput',\r\n\tprops: {\r\n\t\tplaceholder: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\tcustomEnable: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: true\r\n\t\t}\r\n\t},\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tAMap: null,\r\n\t\t\tautocompleteListener: null,\r\n\t\t\tplaceSearchListener: null\r\n\t\t}\r\n\t},\r\n\tasync mounted() {\r\n\t\tthis.AMap = await AMapLoader.load()\r\n\t\tthis.addListener()\r\n\t},\r\n\tdestroyed() {\r\n\t\tthis.removeListener()\r\n\t},\r\n\tmethods: {\r\n\t\tasync addListener() {\r\n\t\t\tconst autocomplete = new this.AMap.Autocomplete({\r\n\t\t\t\t\tinput: this.$refs.input\r\n\t\t\t\t}),\r\n\t\t\t\tplaceSearch = new this.AMap.PlaceSearch({})\r\n\r\n\t\t\tthis.autocompleteListener = this.AMap.event.addListener(\r\n\t\t\t\tautocomplete,\r\n\t\t\t\t'select',\r\n\t\t\t\tevent => {\r\n\t\t\t\t\tplaceSearch.search(event.poi.name)\r\n\t\t\t\t}\r\n\t\t\t)\r\n\r\n\t\t\tthis.placeSearchListener = this.AMap.event.addListener(\r\n\t\t\t\tplaceSearch,\r\n\t\t\t\t'complete',\r\n\t\t\t\tevent => {\r\n\t\t\t\t\tvar position = null\r\n\t\t\t\t\tif (\r\n\t\t\t\t\t\tevent &&\r\n\t\t\t\t\t\tevent.poiList &&\r\n\t\t\t\t\t\tevent.poiList.pois &&\r\n\t\t\t\t\t\tevent.poiList.pois.length\r\n\t\t\t\t\t) {\r\n\t\t\t\t\t\tposition = [\r\n\t\t\t\t\t\t\tevent.poiList.pois[0].location.lng,\r\n\t\t\t\t\t\t\tevent.poiList.pois[0].location.lat\r\n\t\t\t\t\t\t]\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.$emit('change', position)\r\n\r\n\t\t\t\t\tif (!position && !this.customEnable) {\r\n\t\t\t\t\t\tthis.$refs.input.value = ''\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t)\r\n\t\t},\r\n\t\tremoveListener() {\r\n\t\t\tthis.AMap.event.removeListener(this.autocompleteListener)\r\n\t\t\tthis.AMap.event.removeListener(this.placeSearchListener)\r\n\t\t}\r\n\t}\r\n}\r\n</script>\r\n\r\n<style lang=\"stylus\" scoped>\r\n.v-amap-place-search-input\r\n\tinput\r\n\t\tdisplay inline-block\r\n\t\tbox-sizing border-box\r\n\t\tpadding 0 15px\r\n\t\twidth 100%\r\n\t\theight 40px\r\n\t\toutline 0\r\n\t\tborder 1px solid #DCDFE6\r\n\t\tborder-radius 4px\r\n\t\tbackground-color #FFF\r\n\t\tbackground-image none\r\n\t\tcolor #606266\r\n\t\tfont-size inherit\r\n\t\tline-height 40px\r\n\t\ttransition border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1)\r\n\t\t-webkit-appearance none\r\n</style>\r\n\r\n<style lang=\"stylus\">\r\n.amap-sug-result\r\n\tdisplay none\r\n</style>\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMapPlaceSearchInput.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMapPlaceSearchInput.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./VAMapPlaceSearchInput.vue?vue&type=template&id=57fd4556&scoped=true&lang=pug&\"\nimport script from \"./VAMapPlaceSearchInput.vue?vue&type=script&lang=js&\"\nexport * from \"./VAMapPlaceSearchInput.vue?vue&type=script&lang=js&\"\nimport style0 from \"./VAMapPlaceSearchInput.vue?vue&type=style&index=0&id=57fd4556&prod&lang=stylus&scoped=true&\"\nimport style1 from \"./VAMapPlaceSearchInput.vue?vue&type=style&index=1&id=57fd4556&prod&lang=stylus&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"57fd4556\",\n null\n \n)\n\nexport default component.exports","import VAMap from './VAMap'\r\nimport VAMapMarker from './VAMapMarker'\r\nimport VAMapMassMarks from './VAMapMassMarks'\r\nimport VAMapPolygon from './VAMapPolygon'\r\nimport VAMapPlaceSearchInput from './VAMapPlaceSearchInput'\r\n\r\nexport default [\r\n\tVAMap,\r\n\tVAMapMarker,\r\n\tVAMapMassMarks,\r\n\tVAMapPolygon,\r\n\tVAMapPlaceSearchInput\r\n]\r\n","import AMapLoader from './loader'\r\nimport Components from './Components'\r\n\r\nlet globalMapOptions = {}\r\n\r\nclass AMapManager {\r\n\tstatic get AMapLoader() {\r\n\t\treturn AMapLoader\r\n\t}\r\n\tstatic get globalMapOptions() {\r\n\t\treturn globalMapOptions\r\n\t}\r\n\tstatic install(Vue) {\r\n\t\tComponents.forEach(Component => {\r\n\t\t\tVue.component(Component.name, Component)\r\n\t\t})\r\n\t}\r\n\tstatic async initAMap({ globalMapOptions: options = {}, ...args }) {\r\n\t\tglobalMapOptions = Object.assign({}, options)\r\n\r\n\t\tAMapLoader.config({ ...args })\r\n\r\n\t\treturn await AMapLoader.load()\r\n\t}\r\n\tconstructor() {}\r\n}\r\n\r\nexport { AMapLoader }\r\n\r\nexport default AMapManager\r\n","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n","export * from \"-!../../node_modules/vue-style-loader/index.js??ref--11-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-3!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-4!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VAMapPlaceSearchInput.vue?vue&type=style&index=1&id=57fd4556&prod&lang=stylus&\""],"sourceRoot":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@styzy/vue-amap",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "An AMap Plugins For Vue.js",
5
5
  "keywords": [
6
6
  "vue",
@@ -24,6 +24,7 @@
24
24
  "private": false,
25
25
  "license": "MIT",
26
26
  "scripts": {
27
+ "dev": "vue-cli-service serve --open",
27
28
  "lib": "vue-cli-service build --target lib --name vue-amap --dest lib src/index.js"
28
29
  },
29
30
  "dependencies": {
@@ -46,4 +47,4 @@
46
47
  "vue-cli-plugin-pug": "~2.0.0",
47
48
  "vue-template-compiler": "^2.6.14"
48
49
  }
49
- }
50
+ }
package/test/App.vue ADDED
@@ -0,0 +1,89 @@
1
+ <template lang="pug">
2
+ .app
3
+ button(@click="handleFitView()") setFitView
4
+ button(@click="abc = false") test
5
+ VAMap(@init="handleMapInit")
6
+ template(#default="{ AMap, aMap }")
7
+ VAMapMarker(
8
+ :offset="new AMap.Pixel(0, 0)"
9
+ :position="[118.369659, 31.312356]"
10
+ @init="marker => aMap.setFitView(marker)"
11
+ anchor="center"
12
+ v-if="abc"
13
+ )
14
+ Test
15
+ VAMapPolygon(
16
+ :borderWidth="2"
17
+ :fillOpacity="0.2"
18
+ :path="path"
19
+ :strokeOpacity="0.5"
20
+ :strokeWeight="2"
21
+ @init="polygon => aMap.setFitView(polygon)"
22
+ fillColor="#e98989"
23
+ strokeColor="#ec0000"
24
+ strokeStyle="dashed"
25
+ )
26
+ VAMapMassMarks(
27
+ :data="massLocationList"
28
+ :styleObject="{ anchor: new AMap.Pixel(5, 5), size: new AMap.Size(10, 10), url: massIconUrl }"
29
+ )
30
+ </template>
31
+
32
+ <script>
33
+ export default {
34
+ name: 'App',
35
+ components: {
36
+ Test: () => import('./Test.vue')
37
+ },
38
+ data() {
39
+ return {
40
+ abc: true,
41
+ aMap: null,
42
+ AMap: null,
43
+ path: [
44
+ [118.955969, 32.301212],
45
+ [118.652472, 32.191452],
46
+ [118.788428, 32.050723],
47
+ [119.053473, 32.169368]
48
+ ],
49
+ massIconUrl:
50
+ 'https://a.amap.com/jsapi_demos/static/images/mass2.png',
51
+ massLocationList: []
52
+ }
53
+ },
54
+ mounted() {
55
+ this.massLocationList = this.createLocationList(1000)
56
+ },
57
+ methods: {
58
+ handleMapInit(aMap, AMap) {
59
+ this.aMap = aMap
60
+ this.AMap = AMap
61
+ },
62
+ handleFitView() {
63
+ this.aMap && this.aMap.setFitView()
64
+ },
65
+ createLocationList(num) {
66
+ var data = []
67
+ for (var i = 0, len = num; i < len; i++) {
68
+ data.push({
69
+ lnglat: [
70
+ 118.384004 +
71
+ (Math.random() > 0.5 ? 1 : -1) * Math.random(),
72
+ 31.318309 +
73
+ (Math.random() > 0.5 ? 1 : -1) * Math.random()
74
+ ]
75
+ })
76
+ }
77
+ return data
78
+ }
79
+ }
80
+ }
81
+ </script>
82
+
83
+ <style lang="stylus">
84
+ body
85
+ margin 0
86
+ padding 0
87
+ .app
88
+ height 100vh
89
+ </style>
package/test/Test.vue ADDED
@@ -0,0 +1,11 @@
1
+ <template lang="pug">
2
+ .test 123
3
+ </template>
4
+
5
+ <script>
6
+ export default {
7
+ name: 'Test'
8
+ }
9
+ </script>
10
+
11
+ <style lang="stylus" scoped></style>
package/test/main.js ADDED
@@ -0,0 +1,30 @@
1
+ import Vue from 'vue'
2
+ import App from './App.vue'
3
+ import VueAMap from '@'
4
+
5
+ Vue.config.productionTip = false
6
+
7
+ Vue.use(VueAMap)
8
+
9
+ VueAMap.initAMap({
10
+ key: '30556745e1796cbe4f69a621a8bc58bf',
11
+ // SDK 版本
12
+ version: '1.4.13',
13
+ // UI库 版本
14
+ uiVersion: '1.0',
15
+ plugins: [
16
+ 'AMap.Geocoder',
17
+ 'AMap.DistrictSearch',
18
+ 'AMap.PlaceSearch',
19
+ 'AMap.Autocomplete',
20
+ 'AMap.PolyEditor'
21
+ ],
22
+ globalMapOptions: {
23
+ features: ['bg', 'point'],
24
+ mapStyle: 'amap://styles/493ee83fb009f6613033e674f2136454'
25
+ }
26
+ })
27
+
28
+ new Vue({
29
+ render: h => h(App)
30
+ }).$mount('#app')