zingchart
Version:
Our JavaScript charting library is a commercial product. But the full branded version is free to try, forever.
8 lines (7 loc) • 7.34 kB
JavaScript
/*
All of the code within the ZingChart software is developed and copyrighted by ZingChart, Inc., and may not be copied,
replicated, or used in any other software or application without prior permission from ZingChart. All usage must coincide with the
ZingChart End User License Agreement which can be requested by email at support@zingchart.com.
Build 2.9.16-hf1
*/
ZC.WJ.push("maps-twn"),function(){zingchart.maps.twn||(zingchart.maps.twn={}),zingchart.maps.data.twn||(zingchart.maps.data.twn={});var t={KH:[[120.239,22.7516],[120.2701,22.7414],[120.2996,22.7092],[120.3148,22.6498],[120.3168,22.6103],[120.2985,22.601],[120.2665,22.6168],[120.251,22.6629],[120.2732,22.6901],[120.239,22.7516]],TP:[[121.5258,24.9519],[121.4591,24.9308],[121.4203,24.9398],[121.4186,24.9882],[121.465,25.0685],[121.4795,25.0805],[121.4707,25.1068],[121.525,25.1307],[121.5676,25.1159],[121.595,25.07],[121.6066,25.0297],[121.577,24.9936],[121.5258,24.9519]],TW:[[121.5687,22.0868],[121.5685,22.041],[121.5971,22.0254],[121.5943,22.0043],[121.5701,22.0024],[121.5576,22.0215],[121.5382,22.0232],[121.5062,22.0571],[121.499,22.0826],[121.5687,22.0868],null,[121.4918,22.6804],[121.5118,22.6674],[121.4943,22.6335],[121.4724,22.6463],[121.4629,22.6754],[121.4918,22.6804],null,[119.4417,23.2221],[119.4285,23.189],[119.4099,23.2154],[119.4417,23.2221],null,[119.4946,23.3972],[119.5088,23.3901],[119.5057,23.3529],[119.4899,23.3524],[119.4946,23.3972],null,[119.6515,23.6105],[119.6604,23.5907],[119.6829,23.5832],[119.6846,23.564],[119.6457,23.5615],[119.6065,23.5287],[119.6093,23.5079],[119.5563,23.5232],[119.549,23.5388],[119.5729,23.5462],[119.5607,23.5849],[119.5837,23.584],[119.6265,23.6087],[119.6515,23.6105],null,[119.5837,23.6777],[119.5987,23.6768],[119.6126,23.6518],[119.5935,23.6415],[119.5782,23.6613],[119.5546,23.6571],[119.5396,23.6318],[119.5212,23.6307],[119.5157,23.5635],[119.4932,23.5707],[119.4893,23.5938],[119.514,23.6551],[119.5326,23.6388],[119.554,23.6693],[119.5837,23.6777],null,[120.4176,24.0865],[120.4007,24.0582],[120.3676,24.0571],[120.3765,24.0854],[120.4176,24.0865],null,[120.2985,22.601],[120.3168,22.6103],[120.3148,22.6498],[120.2996,22.7092],[120.2701,22.7414],[120.239,22.7516],[120.2387,22.7517],[120.2096,22.8154],[120.1743,22.9143],[120.1699,22.9674],[120.1393,22.9982],[120.0835,23.036],[120.0574,23.0471],[120.0532,23.0785],[120.0318,23.076],[120.0354,23.1026],[120.0837,23.1243],[120.0863,23.1721],[120.0707,23.1871],[120.1074,23.2571],[120.0971,23.2926],[120.1324,23.3588],[120.1643,23.3432],[120.179,23.3521],[120.1776,23.3726],[120.1568,23.3849],[120.1501,23.424],[120.1668,23.4474],[120.1474,23.459],[120.1524,23.4935],[120.1196,23.4935],[120.1226,23.5204],[120.1462,23.519],[120.139,23.5487],[120.1415,23.636],[120.1693,23.7057],[120.174,23.759],[120.1854,23.7996],[120.2054,23.824],[120.2496,23.8207],[120.2532,23.8551],[120.2865,23.8743],[120.3182,23.936],[120.3051,23.9426],[120.3324,23.9901],[120.3496,24.0038],[120.371,24.0399],[120.4068,24.0565],[120.4204,24.0863],[120.3793,24.0957],[120.4032,24.126],[120.4163,24.1263],[120.4301,24.1593],[120.4563,24.1593],[120.4829,24.196],[120.4688,24.2143],[120.4932,24.2685],[120.5079,24.2663],[120.526,24.311],[120.5496,24.3085],[120.5493,24.3301],[120.5746,24.3582],[120.5929,24.4068],[120.6212,24.4404],[120.6426,24.4538],[120.686,24.5207],[120.7157,24.5965],[120.761,24.6221],[120.7604,24.6379],[120.7815,24.6626],[120.831,24.6685],[120.8599,24.7004],[120.8665,24.7249],[120.9054,24.7512],[120.9168,24.8099],[120.9054,24.8151],[120.9207,24.8468],[120.9382,24.8593],[120.9665,24.9157],[121.0137,24.9715],[121.0151,24.9899],[121.0504,25.0371],[121.101,25.0649],[121.1612,25.081],[121.2185,25.1104],[121.2576,25.1224],[121.289,25.1176],[121.3393,25.1265],[121.3887,25.1468],[121.4199,25.1688],[121.419,25.2015],[121.441,25.2207],[121.4526,25.251],[121.5126,25.2865],[121.5779,25.2987],[121.6174,25.2785],[121.6343,25.259],[121.6338,25.2379],[121.6924,25.1799],[121.726,25.1651],[121.7524,25.1435],[121.7629,25.1637],[121.7846,25.1468],[121.8068,25.1476],[121.8087,25.1329],[121.8562,25.1243],[121.9201,25.1193],[121.916,25.076],[121.9326,25.064],[121.9279,25.0407],[121.9401,25.0215],[121.9832,25.024],[122.0051,25.0032],[121.926,24.9688],[121.8857,24.9324],[121.8854,24.9176],[121.8515,24.891],[121.8349,24.8629],[121.8176,24.7815],[121.8226,24.7399],[121.8371,24.7074],[121.8429,24.6488],[121.8663,24.5974],[121.8737,24.5335],[121.8429,24.521],[121.8512,24.4954],[121.8382,24.4707],[121.8024,24.4357],[121.7921,24.4143],[121.7874,24.3726],[121.7707,24.3365],[121.7696,24.3024],[121.7451,24.2635],[121.7057,24.2246],[121.674,24.2079],[121.6579,24.1768],[121.6649,24.1401],[121.6551,24.1221],[121.6257,24.0999],[121.616,24.0621],[121.6476,24.0099],[121.6062,23.9521],[121.6118,23.9321],[121.5963,23.8521],[121.5754,23.8099],[121.5726,23.7565],[121.5493,23.7149],[121.5537,23.6985],[121.5437,23.6543],[121.5299,23.6246],[121.5268,23.5771],[121.5038,23.5204],[121.5149,23.4879],[121.496,23.4315],[121.4749,23.3876],[121.4621,23.3124],[121.4285,23.2821],[121.4146,23.229],[121.3957,23.1999],[121.4079,23.1632],[121.4015,23.1296],[121.386,23.0974],[121.3665,23.0963],[121.349,23.0685],[121.3396,23.0271],[121.314,22.9751],[121.2826,22.9479],[121.2721,22.9176],[121.2329,22.8643],[121.2068,22.8635],[121.1899,22.8476],[121.2007,22.7949],[121.1804,22.7832],[121.1735,22.756],[121.1265,22.7185],[121.0713,22.6921],[121.0263,22.6582],[121.0121,22.621],[121.0096,22.5907],[120.9846,22.5682],[120.9601,22.5062],[120.946,22.456],[120.894,22.334],[120.8918,22.2674],[120.8985,22.2368],[120.8899,22.1951],[120.8913,22.1479],[120.8849,22.1313],[120.8932,22.0482],[120.8996,22.0365],[120.8757,21.9996],[120.8446,21.9865],[120.844,21.9424],[120.7985,21.9374],[120.7607,21.959],[120.7401,21.9196],[120.7113,21.9338],[120.7129,21.9835],[120.6854,22.0257],[120.7174,22.0926],[120.699,22.1385],[120.6929,22.179],[120.6751,22.229],[120.6493,22.2551],[120.6521,22.2685],[120.6365,22.3129],[120.6051,22.3421],[120.5876,22.3699],[120.484,22.4332],[120.4796,22.4535],[120.4524,22.4479],[120.4243,22.4793],[120.3979,22.4813],[120.3568,22.5101],[120.296,22.5862],[120.2985,22.601],null,[121.5258,24.9519],[121.577,24.9936],[121.6066,25.0297],[121.595,25.07],[121.5676,25.1159],[121.525,25.1307],[121.4707,25.1068],[121.4795,25.0805],[121.465,25.0685],[121.4186,24.9882],[121.4203,24.9398],[121.4591,24.9308],[121.5258,24.9519]]};zingchart.maps.data.twn={_GROUPS_:{},_DEFAULTS_:zingchart.maps._DEFAULTS_,TP:{sort:1,coords:t.TP,tooltip:{text:"Taipei"},cpoint:{x:"121.5108lon",y:"25.0272lat"},label:{text:"TP",x:"121.5108lon",y:"25.0272lat"}},KH:{coords:t.KH,tooltip:{text:"Kaohsiung"},cpoint:{x:"120.2720lon",y:"22.6713lat"},label:{text:"KH",x:"120.2720lon",y:"22.6713lat"}},TW:{coords:t.TW,tooltip:{text:"Taiwan"},cpoint:{x:"120.9010lon",y:"23.7178lat"},label:{text:"TW",x:"120.9010lon",y:"23.7178lat"}}}}(),zingchart.maps.twn=function(t,n,a){return zingchart.maps.convert({loader:this,loaderdata:n||{},graphid:"undefined"==typeof t.graphid?0:t.graphid,data:a,id:t.id||"twn",x:"undefined"==typeof t.x?0:t.x,y:"undefined"==typeof t.y?0:t.y,width:"undefined"==typeof t.width?1:t.width,height:"undefined"==typeof t.height?1:t.height,level:"undefined"==typeof t.level?1:t.level,groups:t.groups||[],items:t.items||[],ignore:t.ignore||[],bbox:t.bbox||null,map:zingchart.maps.data.twn})};