46 lines
53 KiB
JavaScript
46 lines
53 KiB
JavaScript
|
/*
|
|||
|
* Licensed to the Apache Software Foundation (ASF) under one
|
|||
|
* or more contributor license agreements. See the NOTICE file
|
|||
|
* distributed with this work for additional information
|
|||
|
* regarding copyright ownership. The ASF licenses this file
|
|||
|
* to you under the Apache License, Version 2.0 (the
|
|||
|
* "License"); you may not use this file except in compliance
|
|||
|
* with the License. You may obtain a copy of the License at
|
|||
|
*
|
|||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|||
|
*
|
|||
|
* Unless required by applicable law or agreed to in writing,
|
|||
|
* software distributed under the License is distributed on an
|
|||
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|||
|
* KIND, either express or implied. See the License for the
|
|||
|
* specific language governing permissions and limitations
|
|||
|
* under the License.
|
|||
|
*/
|
|||
|
|
|||
|
(function (root, factory) {
|
|||
|
if (typeof define === 'function' && false && 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": "330100", "type": "Feature", "geometry": { "type": "Polygon", "coordinates": ["@@XBFBF@DGFWFK@CDO@MCE@CFKBID@HFLBAKECAKBMFCBOCCBKSMDE@MOKEG@EMGIACACCBC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LAPCFAL@NGN@D@HFLDDNDJ@FD@H@JJLDFDP@HCBGCS@MBGFIBGEKAGDIHCDDJBDJHXFxVVFDHL@DDFLJHPFBB@HGNKDO@MBCDEJGXEJ@FEDKDED@FBBPDGLAPM^APFHBH@LCP@FTDVLTRPBJDLLNFDLAD\\PJBBABMFIJFFBF@FGB@ZDB@BEAKBOfIJKLAHIFCHARATBDCDILCF@FBHFNPRLPDFADCFCHAFELGRALIF@nAHADGDAD@FBD@JGHAJBRG\\@DPDDJCF@JDB@FCBABMBEHBJHHPPjCFEBADFNJNJAJEH@HBLHJAD@XRPPFLvPD@PILGDCBMHIN@hLLFJLLFH@HBFLH@XFFFHFJDFDDJJ@LPJZJ@XGT@NBN@PC^IHBJDNHJBDDBFCLBHRNDHJJ^HFEFGBKNMDATCJBRJLANBTLPPDBJCFCBOWCCAACJe@ECCCA@APCHCLAPDH@LD\\TJRVRVHBBBFCFEFCJOP@N@JJBDFBJLX@FGNHD@DBVEN@JCJGJKXC\\@DBBPADBHDHLLCHGPQ^CJ@HBb@DCBEEQA]ACICAAJGdEVMHBdJF@VMFIHCJ@JDBHDBBAB@FQLOJEDIFAJBF@FC@CKECG@IBCVANEHAF@FFDBJED@RJFBH@HEDEBOFCHAJBJAHG@EFITEHBBBJLPLHBbCD@FIHEXAN@VCFABCBEH@NDNBBBEHHDDH@HEJEDELBPAPBFJLF^PAFBDBfCBCGIBGDCPCFGBAH@PFjHHABEAMFIVFDFFBL@HFCF@HB@JEBDEFBFIHHBDCNFGD@@BBADFFXDAJBFHFBADKBCBANJR@FA`GXBTAXBJCHHHABHFDRDDF@D"], "encodeOffsets": [[123188, 31253]] }, "properties": { "cp": [120.153576, 30.287459], "name": "杭州市", "childNum": 1 } }, { "id": "330200", "type": "Feature", "geometry": { "type": "MultiPolygon", "coordinates": [["@@@@@A@B"], ["@@EB@BDLGFBDDD@DH@HEFD@DFBBAD@FHCDBJPFFDD@HABCFAD@BDFA@EDCAC@CAAMBW@CCDABCEGBCAAG@CCCCE@IDEECGCA"], ["@@IBAHIB@DJJTFB@@CKECCBAD@BCFACGCA"], ["@@@DB@H@FAFHB@@ABA@ACAACBAAAB@@AEEG@ABCABFGDDD"], ["@@BAC@BB"], ["@@@CAB@BB@"], ["@@BBHBDC@CGAEB@D"], ["@@GFAF@HBFJDJEBAJ@BCBC@EAGAAKAKD"], ["@@BDF@BA@ECCE@ADBD"], ["@@FBP@B@BECGEAK@CBADBH"], ["@@@ACEC@AB@DBBDBDA"], ["@@ABFBACA@"], ["@@D@AAA@@B"], ["@@FA@EKIGD@BD@@DDHD@@BB@@A"], ["@@@FBBLABCAC@EBCF@@CIA@CEE@CC@@ACAADGB@DBBDBAJBBCD@DH@BB"], ["@@BA@CA@@AEABFD@@D"], ["@@BDDBLIAAOF"], ["@@FB@ACAAB"], ["@@F@@ACAAB@B"], ["@@@HD@HABFHDD@BBHADAFGHBFCBCCAKDEAGDM@A@FC@AEAAABCCAEBBDABCCA@@H"], ["@@BA
|
|||
|
}));
|