kdayun-compnent-develop/kdayun-compnent-pack/dist/libs/echarts/map/js/province/xianggang.js

46 lines
14 KiB
JavaScript
Raw Normal View History

2022-02-19 20:37:32 +08:00
/*
* 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": "810001", "type": "Feature", "geometry": { "type": "MultiPolygon", "coordinates": [["@@D@bKBoCWKACBGCI@CJSVGFIBKCM@ABAF@LFHPFJJPFVB"], ["@@ABD@@AA@"], ["@@AAEAAB@DDBFC"]], "encodeOffsets": [[[116895, 22829]], [[116861, 22818]], [[116860, 22817]]] }, "properties": { "cp": [114.154334, 22.281931], "name": "中西区", "childNum": 3 } }, { "id": "810002", "type": "Feature", "geometry": { "type": "Polygon", "coordinates": ["@@BMHBBGD@BAHBD@HKDEF@FHDEDECCGCIAAQWCUBSBDXApREHD"], "encodeOffsets": [[116927, 22822]] }, "properties": { "cp": [114.18299, 22.276345], "name": "湾仔区", "childNum": 1 } }, { "id": "810003", "type": "Feature", "geometry": { "type": "Polygon", "coordinates": ["@@rWAGBEJKRO@ACCBEAIAEGEACKPA@MDICIDOBKDGAIBIABRNDHFEHADEGE@CFGLC@GAABC@AHECABAN|TTI"], "encodeOffsets": [[116967, 22827]] }, "properties": { "cp": [114.225965, 22.279779], "name": "东区", "childNum": 1 } }, { "id": "810004", "type": "Feature", "geometry": { "type": "MultiPolygon", "coordinates": [["@@JBJAHBLCPAJCJDPCLOJM@IBAFBBA@CE@AAE@AAFIBQBADAFECCBEA@GFCAYBABIRC@QEGEACBEHMACECQACFE`A@GCK@AFFHADMJBBF@BB@FBHCFI@KLEBCAGWAAQDGCGJQHOPOHS`KLN@LDJAHETUDIJ@HDxCZD"], ["@@ACCBFB"], ["@@D@@ACCCB@CC@CFBDJA"], ["@@BA@AG@@B@BF@"], ["@@DABAGCADADBBDA"], ["@@BAEBD@"]], "encodeOffsets": [[[116946, 22787]], [[116886, 22776]], [[116934, 22767]], [[117006, 22758]], [[116932, 22748]], [[116970, 22738]]] }, "properties": { "cp": [114.160023, 22.245811], "name": "南区", "childNum": 6 } }, { "id": "810005", "type": "Feature", "geometry": { "type": "Polygon", "coordinates": ["@@AIBINQNIHU]IsRC@AvFBHFDCLDV@"], "encodeOffsets": [[116920, 22860]] }, "properties": { "cp": [114.173347, 22.311632], "name": "油尖旺区", "childNum": 1 } }, { "id": "810006", "type": "Feature", "geometry": { "type": "Polygon", "coordinates": ["@@H[@EEGU@KCCDGEEABQi@AHCF@B^P@BABOFCFBFF@FDNADADHJDjB"], "encodeOffsets": [[116919, 22881]] }, "properties": { "cp": [114.163349, 22.333775], "name": "深水埗区", "childNum": 1 } }, { "id": "810007", "type": "Feature", "geometry": { "type": "Polygon", "coordinates": ["@@DEBEFC@CJKD@DCHDLDBMEG@CFCLICETSDQSJeMGVKHGJIR@HFJBFG^FDF@"], "encodeOffsets": [[116925, 22883]] }, "properties": { "cp": [114.193047, 22.312373], "name": "九龙城区", "childNum": 1 } }, { "id": "810008", "type": "Feature", "geometry": { "type": "Polygon", "coordinates": ["@@AC@IH_BAYCEDIAGDICGCCDC@IL@DEDAFCFNDVD@BADBBHCFDJA^D"], "encodeOffsets": [[116970, 22892]] }, "properties": { "cp": [114.203985, 22.336112], "name": "黄大仙区", "childNum": 1 } }, { "id": "810009", "type": "Feature", "geometry": { "type": "Polygon", "coordinates": ["@@F@HWF@DABD@IHBB@GOAENMBE@AEAGOBCFE@CqXCRSTDFKJED@DFHANFCJBFCZD"], "encodeOffsets": [[116974, 22868]] }, "properties": { "cp": [114.214083, 22.320679], "name": "观塘区", "childNum": 1 } }, { "id": "810010", "type": "Feature", "geometry": { "type": "Polygon", "coordinates": ["@@AEDQ@WQACIKIGCQCABAHC@]I@ADC@ECICCKEGA@NuASIHyO@IEQW@CÙF~bNJFL@D@FLBBNPJJFIDAHEDBDHBDDBBTCB@AHDB^@@JHHF@DDLFJFDBHCD@PPD@L@RLLBDHVBNAHBBABGhB"], "encodeOffsets": [[116914, 22950]] }, "properties": { "cp": [114.121234, 22.368458], "name": "荃湾区", "childNum": 1 } }, { "id": "810011", "type": "Feature", "geometry": { "type": "MultiPolygon", "coordinates": [["@@AC@G]@CABGA@SDAACCGAACFCBGJCIEOIAMKAEHGFgFgPS@E@MEGEEGCAO@E@SLUNCH@DDH@H@JEHAJCHQFAB\\`ZHTCFKBAHFFJFJBBZ@FC^CND@AEINGXA@OL@@U˜@@HN@BEE@@KTA@G"], ["@@BAFADAAC@AACDACGEBBHAFGFBDD@"], ["@@B@B@@CA@AD"], ["@@BAB@CCA@ABDD"], ["@@D@CGABAFD@"], ["@@@ACICABJFD"], ["@@DA@ACCC@ADBFBBBC"], ["@@@A@@ABB@"]], "encodeOffsets": [[[116810, 22924]], [[116618, 22917]], [[116612, 22891]], [[116626, 22888]], [[116629, 22880]], [[116725, 22874]], [[116708, 22866]], [[116720, 22861]]] }, "properties": { "cp": [113.976308, 22.393896], "name": "屯门区", "childNum": 8 } }, { "id": "810012", "type": "Feature", "geometry": { "type": "Polygon", "coordinates": ["@@BMDIEK@CDCAMHG@C@MCG@YBAZHZDLIJA[gAGBEHMTO@EAIKAQKK@C@OOC@GDCAIEKECCE@EE@HSB@LF@A
}));