27 lines
48 KiB
JavaScript
27 lines
48 KiB
JavaScript
|
(function (root, factory) {
|
|||
|
if (typeof define === 'function' && define.amd) {
|
|||
|
// AMD. Register as an anonymous module.
|
|||
|
define(['exports', 'echarts'], factory);
|
|||
|
} else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') {
|
|||
|
// CommonJS
|
|||
|
factory(exports, require('echarts'));
|
|||
|
} else {
|
|||
|
// Browser globals
|
|||
|
factory({}, root.echarts);
|
|||
|
}
|
|||
|
}(this, function (exports, echarts) {
|
|||
|
var log = function (msg) {
|
|||
|
if (typeof console !== 'undefined') {
|
|||
|
console && console.error && console.error(msg);
|
|||
|
}
|
|||
|
}
|
|||
|
if (!echarts) {
|
|||
|
log('ECharts is not Loaded');
|
|||
|
return;
|
|||
|
}
|
|||
|
if (!echarts.registerMap) {
|
|||
|
log('ECharts Map is not loaded')
|
|||
|
return;
|
|||
|
}
|
|||
|
echarts.registerMap('重庆', {"type":"FeatureCollection","features":[{"id":"500101","geometry":{"type":"Polygon","coordinates":["@@FLLLTXCFIJEHAJBZAFojU^EFSFGCIKCBCFAHIH@DLV@JEDE@WKA@@TEHKbIDMGK@EFAFENL@BB@JBDAFMFKACHIAGI@KAGDE@ACAE@GDC@ICC@CD@HABSFCAKEEGMEMBQFKCGHEL@HDBHB@FGLIJOvAJPDBJBPDFZTHBTENBXBJFD@DJ@DCFFF@BEDBDGJBD@JED@FHHDLLLYPKDUAS@EE_OOCSAOBeJqFCDOPEJSREHE@IJCFMJOFCDIL@HDH@DGDGRSZGJOLRNFHFNJHdXf^TH\\RBFAJ@DPJ^PLJFBLBDD@HLFHAJEFIJEHIHMJGBKLQD@D@BB@LFBHADHDDD@RJLBDJDAJEDGD@NHB@DGACBAFAHAHC@CEGO@AAHSBM@IBCJCFEDGAM@CDAJ@VHBHAFDBDABGHIHBHAZ@LFDGH@DCBAN@HEJALJRJFLJFLJLJHBN@DBBDGHADHVDH@DEDDDJHTJ@ACKDENKHEH@FHLJJBhVHFHJVL`LTLRDJLTFBCD@@FEHGDMFM`ERNAJCJ@FFLDPJXRJNNLHF\\FBBX@NBJFD@JGLBFCDE@ECEAGDGBWBAHAFHDBN@XFFDHELALDDD@FEJ@DDFFFJ@LC\\JJBFABA@CKEAC@CBG@ACEOC@EHIBGNKDABIDKDEJG@ECGJSDMDEJAV@XFNDPLZ^BBF@LGBC@KHEJKII@CDCEGBWCKFWBAD@PJBDCDHHZDBDDADEHUAILEBCHMDQJAFENGBCCKFCRQDG@EACFIBAFBVFBHD@DCACZ@BALKBGCKFUNGACKGACFQDCBIDKBKDGJID@HDH@DADEAGKIFIDA@AGM@CFANBbBFACGDEYUBKCGDCDAHB^JfJFABAJYHADBBABBBBD@PDD@BDH@BFLA@DFBB@DBBAHBDDDADDABBBJBB@@EBKB@FDDEH@FEFKBYBABAAKAABQEE@EGAAADGOC@EKAAGCBEEBEACI@DEGGrgNERO_]AQGG[cKK[MCCBECGMMMIwWGACBEHAJELKLGBcSE@KDKAGCCIIEIBULMLBHDDADMHKDADAFBDHFADCD@DCBIBADEBGFBHAF@HCFFHIRCNBHEJEBqBQEQIGECEHYDGHG@ICCDKAGEACEAAUEGIGBGE@CHAEIUGK@BILA@A@C[QGBG@BMM@EC@ECEGAIGAICCGBABBHCFGHKFABB@JBADSBGFOAFCDCAACBKJAAACAACFMJIJKFM@SCECEIGGGCKCE@KBGFGCBLCDCACAIEE@CA@GAAENABICGBACBCCAABCHAB@HFNFHDHA@QGGGEAAHBHALC@IAGDAFAHDFFFLDBF@PADCDEBIIEICCIAMDIEmIMM[KMGSAS_a@GAGIEGMOMEMACG@WLG@CAW_CCELGTCFGBWBABAJOJ"],"encodeOffsets":[[110821,31152]]},"properties":{"cp":[108.380246,30.807807],"name":"万州区","childNum":1}},{"id":"500102","geometry":{"type":"Polygon","coordinates":["@@DEJGNQFC@C@CB@NHBBDAFE@CAAAGBCHGB@VHBTJNDDFCBELKBBDBDEH@JCBECELGAEBABAFABCF@DCJDJFJ@FMAG@AGAAC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VFBFBBCFALBHABGHCAE"],"encodeOffsets":[[110051,30710]]},"properties":{"cp":[107.394905,29.703652],"name":"涪陵区","childNum":1}},{"id":"500103","geometry":{"type":"Polygon","coordinates":["@@DE@OCMIKMCcGa@EAGGCEAISBADAFA@AC@CAAO@CBA@ACCACBABAFBFDBIDBFCJCBYBAB@BXD@FRDTCNCXAJFFFFJHHZBHALGJ@PBNL"],"encodeOffsets":[[109147,30281]]},"properties":{"cp":[106.56288,29.556742],"name":"渝中区","childNum":1}},{"id":"500104","geometry":{"type":"MultiPolygon","coordinates":[["@@F@@E@CNEAM@CDCHADBCHDDFABEH@AI@CFABBBDFBBA@CD@BFCHDBDAACBEFDDADACAFCB@JJADCRFTBLF@BBGDADEDED@DHLFTDBFCHFFA@DENED@BEAAEIDAFBFAHDBACFC@DFHN@AFH@FAH@@AAEHED@BBCDE@@DD@VGDBFFD@@IFCBBBLB@BCDALCLED@CFJKCIODI@MICMCc@KDIDEjqHEN]BIEGA@OD[PKBQAMAeO]QKMEMGOGGGEUGWKUC@LEJAPD@J@LREDCZMHEHBBD@@DEJCVBFHBBBKNBRFL@FBDJCHB","@@EDHBAC","@@@B@A","@@@@@B"]],"encodeOffsets":[[[108961,30146],[108965,30147],[108979,30134],[108978,30134]]]},"properties":{"cp":[106.48613,29.481002],"name":"大渡口区","childNum":4}},{"id":"500105","geometry":{"type":"Polygon","coordinates":["@@iIKIIEIQmCCG@IDOPSLI@MEE@OBIFCJ@HCFCBoLYAE@GGMaEEMEoMOIGIGEOCG@KDCDUjGJABGAEEOCGDIHGLAJANCFCDCBIDG@QAWKECIKEMAKBWDIJECCGEKEG@I@KHGBYAGGEIEEIEI@MBMDODUCK@MNchQFEDAFBDNPFRDBBDF@ZADB
|
|||
|
}));
|