(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-42420414"],{"22ad":function(t,e,n){},6172:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"contactMap"}},[n("div",{staticClass:"sheet-control"},[n("img",{attrs:{src:t.tianDiTuLogoImg(),opacity:"0",width:"53px",height:"22px"}}),n("span",{staticStyle:{color:"#000","vertical-align":"middle","margin-left":"5px",font:"12px/1.5 Helvetica Neue,Arial,Helvetica,sans-serif"}},[t._v(t._s(t.copyright))])])])},o=[],c=n("5530"),i=n("1da1"),r=(n("96cf"),n("159b"),n("b775")),s=n("96f5"),u=n("256f"),p={props:{contactItems:{type:Array,default:function(){return[]}}},data:function(){return{core:null,copyright:""}},mounted:function(){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function e(){var n,a,o,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(r["b"])({url:"".concat("","/sinfoMap/page-map.json"),method:"GET"});case 3:n=e.sent,n.extent={initial:null},a=new s["a"](Object(c["a"])({container:"contactMap"},n)),t.core=a,t.copyright=n.copyRight,o=a.addGraphicLayer({graphicStyle:{icon:{src:"".concat("","/sinfoMap/marker.svg")}}}),t.contactItems.forEach((function(t){t.longitude&&t.latitude&&o.addGraphic({geojson:{type:"Point",coordinates:Object(u["s"])([t.longitude,t.latitude],"EPSG:4326","EPSG:3857")}})})),i=t.contactItems[0],t.goTo(i),e.next=16;break;case 14:e.prev=14,e.t0=e["catch"](0);case 16:case"end":return e.stop()}}),e,null,[[0,14]])})))()},methods:{goTo:function(t){t.longitude&&t.latitude&&this.core.goTo({geojson:{type:"Point",coordinates:Object(u["s"])([t.longitude,t.latitude],"EPSG:4326","EPSG:3857")},showGraphic:!1})},tianDiTuLogoImg:function(){return"".concat("","/sinfoMap/tianDiTuLogo.png")}}},l=p,d=(n("b66d"),n("2877")),g=Object(d["a"])(l,a,o,!1,null,"75b0b3c2",null);e["default"]=g.exports},b66d:function(t,e,n){"use strict";n("22ad")}}]);