zingchart
Version:
Our JavaScript charting library is a commercial product. But the full branded version is free to try, forever.
8 lines (7 loc) • 15.4 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.11
*/
ZC.WG.push("maps-cmr"),function(){zingchart.maps.cmr||(zingchart.maps.cmr={}),zingchart.maps.data.cmr||(zingchart.maps.data.cmr={});var t={OU:[[11.2671,5.9768],[11.2783,5.8075],[11.314,5.7848],[11.2072,5.6714],[11.2151,5.5327],[11.1878,5.3909],[11.0796,5.2957],[11.0805,5.1941],[10.9942,5.1315],[10.957,4.9701],[10.8715,4.9443],[10.8036,5.0203],[10.7532,4.9747],[10.5892,4.8981],[10.5158,4.9102],[10.4288,4.9547],[10.3804,5.0896],[10.2512,5.0939],[10.1453,4.9351],[10.0803,4.9781],[10.0725,5.0492],[10.0153,5.0702],[10.0077,5.2041],[9.9607,5.2803],[9.8584,5.2847],[9.8709,5.355],[9.9492,5.4527],[9.9674,5.5808],[10.1171,5.6801],[10.0929,5.7363],[10.1719,5.7844],[10.2929,5.7248],[10.3222,5.8042],[10.4884,5.834],[10.5979,5.8311],[10.691,6.0257],[10.8404,6.0102],[10.9976,6.1043],[11.0185,6.2303],[11.0631,6.2148],[11.196,6.2638],[11.2967,6.2542],[11.268,6.1372],[11.3094,6.0395],[11.2671,5.9768]],SU:[[13.6714,2.1707],[13.299,2.1706],[13.252,2.2733],[13.1627,2.284],[13.0861,2.2417],[12.9354,2.2533],[12.8752,2.2308],[12.796,2.2494],[12.743,2.2232],[12.5895,2.2548],[12.4534,2.2525],[11.9812,2.2914],[11.7504,2.2732],[11.6996,2.3222],[11.6122,2.2998],[11.3647,2.2884],[11.3574,2.1742],[10.6407,2.1741],[10.194,2.1727],[10.0408,2.1619],[9.8479,2.2466],[9.8215,2.3479],[9.8243,2.5718],[9.8918,2.8004],[9.914,2.9765],[9.9754,3.0904],[9.8985,3.2618],[10.0354,3.3385],[10.0657,3.4933],[10.1312,3.5855],[10.2023,3.6059],[10.252,3.5458],[10.2892,3.3535],[10.3734,3.3657],[10.7806,3.4838],[10.8549,3.4099],[10.9407,3.4335],[11.0316,3.4196],[11.0833,3.3684],[11.1023,3.2693],[11.2122,3.1336],[11.3941,3.1499],[11.5801,3.1499],[11.6995,3.2138],[11.7605,3.3405],[11.8603,3.3871],[11.9077,3.4582],[12.128,3.3521],[12.1352,3.2986],[12.2279,3.3387],[12.2598,3.4715],[12.4349,3.6239],[12.5028,3.6651],[12.5708,3.5591],[12.5512,3.4087],[12.7077,3.2419],[12.7551,3.1565],[12.7643,2.9732],[12.7983,2.9197],[12.8776,2.8785],[13.1602,2.8465],[13.207,2.8682],[13.3769,2.8157],[13.4424,2.774],[13.5849,2.8847],[13.6261,2.8692],[13.6536,2.5757],[13.6714,2.1707]],SW:[[9.4485,4.0704],[9.4484,4.0701],[9.4465,4.0663],[9.4485,4.0704],null,[8.6221,4.6393],[8.6621,4.5337],[8.5874,4.5096],[8.556,4.5771],[8.6221,4.6393],null,[8.5979,4.7276],[8.6362,4.7038],[8.6146,4.641],[8.5726,4.646],[8.5979,4.7276],null,[9.126,4.0054],[8.9763,4.1015],[8.9985,4.1788],[8.9143,4.2879],[8.8787,4.4229],[8.8979,4.456],[8.8843,4.5804],[8.7754,4.656],[8.7076,4.5793],[8.6329,4.7529],[8.5685,4.7354],[8.5399,4.7782],[8.6295,4.8262],[8.6049,4.8849],[8.6497,4.9124],[8.7218,5.0738],[8.8164,5.1848],[8.814,5.291],[8.902,5.6041],[8.8222,5.6892],[8.8694,5.7934],[8.841,5.8241],[9.1524,6.0902],[9.2134,6.169],[9.2656,6.1841],[9.3376,6.2897],[9.3532,6.3512],[9.4338,6.3158],[9.4662,6.4499],[9.5848,6.4715],[9.6036,6.5306],[9.7105,6.511],[9.7423,6.4792],[9.7257,6.3937],[9.7535,6.356],[9.7535,6.2292],[9.7069,6.1188],[9.5943,6.0413],[9.6213,5.9737],[9.5958,5.9209],[9.6875,5.8398],[9.7224,5.8465],[9.7981,5.7791],[9.9226,5.7306],[9.9795,5.7653],[10.0929,5.7363],[10.1171,5.6801],[9.9674,5.5808],[9.9492,5.4527],[9.8709,5.355],[9.7496,5.2884],[9.7775,5.1862],[9.863,5.0715],[9.8113,5.0501],[9.772,4.9676],[9.7994,4.9127],[9.7157,4.8252],[9.7045,4.761],[9.5852,4.6497],[9.4963,4.499],[9.5056,4.4176],[9.4379,4.3073],[9.419,4.2236],[9.5209,4.2035],[9.5453,4.1468],[9.4901,4.1129],[9.466,4.0962],[9.4659,4.0957],[9.271,3.964],[9.2001,4.011],[9.126,4.0054]],AD:[[15.2162,7.2248],[15.2253,7.1375],[15.1487,7.0279],[15.1443,6.9466],[15.0515,6.761],[14.9708,6.7489],[14.8134,6.4091],[14.8159,6.3604],[14.7507,6.261],[14.562,6.1901],[14.4685,6.0954],[14.4257,6.0838],[14.3909,6.1184],[14.3387,6.0764],[14.0446,6.0303],[13.9809,6.063],[13.8359,6.0005],[13.441,5.9855],[12.8782,5.9895],[12.5103,5.9952],[12.4753,6.0626],[12.3066,6.194],[12.1529,6.1667],[12.0594,6.1679],[11.9791,6.2518],[11.7212,6.1463],[11.664,6.0827],[11.2671,5.9768],[11.3094,6.0395],[11.268,6.1372],[11.2967,6.2542],[11.196,6.2638],[11.1811,6.4429],[11.1858,6.5437],[11.3306,6.5053],[11.4304,6.5472],[11.4334,6.5996],[11.5209,6.6099],[11.5742,6.7754],[11.6003,6.8008],[11.5594,6.8668],[11.6261,6.9723],[11.7184,7.0589],[11.8481,7.0861],[11.8104,7.1822],[11.8043,7.2775],[11.8492,7.3728],[11.9507,7.4878],[12.0394,7.5231],[12.0229,7.6388],[12.0423,7.7318],[12.0965,7.8363],[12.153,7.8861],[12.2219,8],[12.2061,8.0887],[12.2563,8.169],[12.3001,8.111],[12.4862,7.94],[12.616,7.922],[12.6419,7.8625],[12.6341,7.7537],[12.8179,7.6709],[12.9773,7.6506],[13.0638,7.6113],[13.2551,7.5974],[13.3023,7.7186],[13.3004,7.8104],[13.3746,7.9376],[13.453,7.9063],[13.5993,7.9081],[13.6948,7.9461],[13.7489,7.9063],[13.7245,7.7124],[13.776,7.6634],[14.013,7.5516],[14.1418,7.5516],[14.1498,7.4895],[14.2118,7.4545],[14.2739,7.3384],[14.3312,7.3034],[14.3281,7.1667],[14.5261,7.158],[14.6328,7.0056],[14.8625,7.025],[14.9373,7.0759],[15.0041,7.0759],[15.2162,7.2248]],CE:[[12.8782,5.9895],[12.8723,5.9057],[12.9517,5.7927],[12.9672,5.7183],[13.0741,5.5557],[13.0255,5.4126],[12.9678,5.3215],[12.8288,5.2886],[12.986,5.1439],[13.0578,5.0567],[13.045,4.9746],[13.1809,4.9426],[13.2373,4.8118],[13.2129,4.5951],[13.1475,4.5755],[12.9788,4.5718],[12.8754,4.5004],[12.8408,4.3874],[12.8028,4.3458],[12.7654,4.1109],[12.788,4.0388],[12.6562,3.939],[12.5024,3.8828],[12.5183,3.801],[12.6099,3.7495],[12.6047,3.628],[12.5708,3.5591],[12.5028,3.6651],[12.4349,3.6239],[12.2598,3.4715],[12.2279,3.3387],[12.1352,3.2986],[12.128,3.3521],[11.9077,3.4582],[11.8603,3.3871],[11.7605,3.3405],[11.6995,3.2138],[11.5801,3.1499],[11.3941,3.1499],[11.2122,3.1336],[11.1023,3.2693],[11.0833,3.3684],[11.0316,3.4196],[10.9407,3.4335],[10.8549,3.4099],[10.7806,3.4838],[10.3734,3.3657],[10.2892,3.3535],[10.252,3.5458],[10.2906,3.5476],[10.3576,3.6943],[10.372,3.7865],[10.4494,3.8258],[10.6014,3.7227],[10.6665,3.8421],[10.6516,3.948],[10.7018,4.0525],[10.8281,4.0824],[11.0167,4.1584],[11.0914,4.1718],[10.8987,4.4611],[10.9224,4.6071],[10.8155,4.6201],[10.7757,4.516],[10.7127,4.5258],[10.5837,4.4372],[10.3924,4.514],[10.4085,4.5809],[10.4982,4.7217],[10.3706,4.7733],[10.5158,4.9102],[10.5892,4.8981],[10.7532,4.9747],[10.8036,5.0203],[10.8715,4.9443],[10.957,4.9701],[10.9942,5.1315],[11.0805,5.1941],[11.0796,5.2957],[11.1878,5.3909],[11.2151,5.5327],[11.2072,5.6714],[11.314,5.7848],[11.2783,5.8075],[11.2671,5.9768],[11.664,6.0827],[11.7212,6.1463],[11.9791,6.2518],[12.0594,6.1679],[12.1529,6.1667],[12.3066,6.194],[12.4753,6.0626],[12.5103,5.9952],[12.8782,5.9895]],ES:[[13.6714,2.1707],[13.6536,2.5757],[13.6261,2.8692],[13.5849,2.8847],[13.4424,2.774],[13.3769,2.8157],[13.207,2.8682],[13.1602,2.8465],[12.8776,2.8785],[12.7983,2.9197],[12.7643,2.9732],[12.7551,3.1565],[12.7077,3.2419],[12.5512,3.4087],[12.5708,3.5591],[12.6047,3.628],[12.6099,3.7495],[12.5183,3.801],[12.5024,3.8828],[12.6562,3.939],[12.788,4.0388],[12.7654,4.1109],[12.8028,4.3458],[12.8408,4.3874],[12.8754,4.5004],[12.9788,4.5718],[13.1475,4.5755],[13.2129,4.5951],[13.2373,4.8118],[13.1809,4.9426],[13.045,4.9746],[13.0578,5.0567],[12.986,5.1439],[12.8288,5.2886],[12.9678,5.3215],[13.0255,5.4126],[13.0741,5.5557],[12.9672,5.7183],[12.9517,5.7927],[12.8723,5.9057],[12.8782,5.9895],[13.441,5.9855],[13.8359,6.0005],[13.9809,6.063],[14.0446,6.0303],[14.3387,6.0764],[14.3909,6.1184],[14.4257,6.0838],[14.4201,6.0385],[14.4936,5.9144],[14.6213,5.8962],[14.628,5.6984],[14.5956,5.5994],[14.631,5.5066],[14.5327,5.2656],[14.6526,5.211],[14.6955,5.096],[14.6776,5.0711],[14.6868,4.9246],[14.7156,4.8665],[14.732,4.6093],[14.8872,4.4704],[15.0139,4.4182],[15.0931,4.2922],[15.1144,4.1184],[15.146,4.0334],[15.0904,3.9959],[15.1071,3.945],[15.2478,3.714],[15.5073,3.4405],[15.8053,3.0934],[15.8882,3.0963],[15.9691,2.9876],[16.0051,3.0008],[16.0732,2.9034],[16.0891,2.8214],[16.0533,2.7942],[16.0897,2.7003],[16.0756,2.4652],[16.1487,2.3496],[16.1908,2.2235],[16.0863,2.1923],[16.0843,2.0465],[16.0557,2.0013],[16.1129,1.8672],[16.153,1.7046],[16.0324,1.6574],[16.0325,1.7625],[15.8865,1.7796],[15.7649,1.9086],[15.5256,1.9537],[15.4937,1.9756],[15.3449,1.9111],[15.2519,2.0257],[15.1623,2.04],[15.1077,1.9783],[15.0352,1.9845],[14.9871,2.0332],[14.9308,1.9972],[14.9149,2.0598],[14.8104,2.0581],[14.7296,2.1222],[14.656,2.1275],[14.5825,2.2116],[14.4268,2.1559],[14.3968,2.1826],[14.2564,2.1723],[13.6714,2.1707]],EN:[[14.1924,9.9656],[14.1965,10.0553],[14.055,10.0866],[13.9444,10.1994],[13.6885,10.2285],[13.6472,10.1789],[13.6719,10.1145],[13.5601,10.0713],[13.4092,10.0666],[13.3265,10.1147],[13.4171,10.1322],[13.5095,10.3073],[13.5272,10.4629],[13.5532,10.4895],[13.5299,10.5996],[13.6082,10.7648],[13.6746,10.8589],[13.6947,10.9668],[13.7915,11.0063],[13.885,11.126],[13.9895,11.3115],[14.0996,11.252],[14.2092,11.2836],[14.248,11.3324],[14.424,11.4094],[14.4515,11.4586],[14.6372,11.5288],[14.6316,11.6514],[14.5534,11.7265],[14.6102,11.7803],[14.6074,11.8698],[14.6579,11.955],[14.623,12.0179],[14.6787,12.1512],[14.62,12.1806],[14.5153,12.2925],[14.5193,12.3244],[14.4352,12.3611],[14.2248,12.3592],[14.1731,12.4051],[14.1838,12.5297],[14.0854,13.0781],[14.4599,13.0745],[14.5687,12.8918],[14.5517,12.7858],[14.5857,12.7474],[14.7062,12.7248],[14.7235,12.6573],[14.8315,12.6285],[14.849,12.4564],[14.9105,12.3792],[14.8925,12.1678],[14.9806,12.0904],[15.0381,12.0962],[15.0867,11.9936],[15.0421,11.8987],[15.1164,11.7979],[15.0657,11.7163],[15.0978,11.589],[15.1423,11.5578],[15.0587,11.4101],[15.0324,11.3016],[15.0335,11.0922],[15.0935,10.8661],[15.0694,10.8054],[15.1575,10.6225],[15.1459,10.5384],[15.2411,10.4707],[15.3102,10.3074],[15.3557,10.2907],[15.4516,10.1879],[15.4862,10.119],[15.6752,10.0074],[15.6837,9.9851],[15.435,9.9333],[15.2361,9.9964],[15.2126,9.9645],[15.1328,9.9946],[15.1015,9.9639],[15.0029,10.0013],[14.9191,9.9798],[14.836,9.9245],[14.4847,10.0102],[14.2095,9.9896],[14.1924,9.9656]],LT:[[9.3304,3.9199],[9.3604,3.9543],[9.4265,4.009],[9.4596,3.9707],[9.4215,3.8862],[9.3304,3.9199],null,[10.5158,4.9102],[10.3706,4.7733],[10.4982,4.7217],[10.4085,4.5809],[10.3924,4.514],[10.5837,4.4372],[10.7127,4.5258],[10.7757,4.516],[10.8155,4.6201],[10.9224,4.6071],[10.8987,4.4611],[11.0914,4.1718],[11.0167,4.1584],[10.8281,4.0824],[10.7018,4.0525],[10.6516,3.948],[10.6665,3.8421],[10.6014,3.7227],[10.4494,3.8258],[10.372,3.7865],[10.3576,3.6943],[10.2906,3.5476],[10.252,3.5458],[10.2023,3.6059],[10.1312,3.5855],[10.0657,3.4933],[10.0354,3.3385],[9.8985,3.2618],[9.879,3.3237],[9.7729,3.4429],[9.6443,3.5438],[9.6524,3.6376],[9.5938,3.8071],[9.6265,3.869],[9.7076,3.8718],[9.5821,4.0043],[9.529,4.0251],[9.4901,4.1129],[9.5453,4.1468],[9.5209,4.2035],[9.419,4.2236],[9.4379,4.3073],[9.5056,4.4176],[9.4963,4.499],[9.5852,4.6497],[9.7045,4.761],[9.7157,4.8252],[9.7994,4.9127],[9.772,4.9676],[9.8113,5.0501],[9.863,5.0715],[9.7775,5.1862],[9.7496,5.2884],[9.8709,5.355],[9.8584,5.2847],[9.9607,5.2803],[10.0077,5.2041],[10.0153,5.0702],[10.0725,5.0492],[10.0803,4.9781],[10.1453,4.9351],[10.2512,5.0939],[10.3804,5.0896],[10.4288,4.9547],[10.5158,4.9102]],NO:[[14.1924,9.9656],[14.1776,9.9003],[14.025,9.7057],[14.0221,9.6471],[14.1359,9.5082],[14.1911,9.4781],[14.2505,9.3915],[14.3174,9.3667],[14.3923,9.2744],[14.3808,9.1969],[14.7536,8.8202],[14.9004,8.8067],[14.9891,8.7181],[14.9884,8.6774],[15.1069,8.6734],[15.2076,8.6108],[15.2863,8.3092],[15.3982,8.0882],[15.391,8.0409],[15.5108,7.7962],[15.5911,7.7762],[15.5949,7.6754],[15.5709,7.5866],[15.5028,7.5251],[15.4297,7.4181],[15.3053,7.3184],[15.2162,7.2248],[15.0041,7.0759],[14.9373,7.0759],[14.8625,7.025],[14.6328,7.0056],[14.5261,7.158],[14.3281,7.1667],[14.3312,7.3034],[14.2739,7.3384],[14.2118,7.4545],[14.1498,7.4895],[14.1418,7.5516],[14.013,7.5516],[13.776,7.6634],[13.7245,7.7124],[13.7489,7.9063],[13.6948,7.9461],[13.5993,7.9081],[13.453,7.9063],[13.3746,7.9376],[13.3004,7.8104],[13.3023,7.7186],[13.2551,7.5974],[13.0638,7.6113],[12.9773,7.6506],[12.8179,7.6709],[12.6341,7.7537],[12.6419,7.8625],[12.616,7.922],[12.4862,7.94],[12.3001,8.111],[12.2563,8.169],[12.2255,8.375],[12.237,8.4289],[12.4115,8.4833],[12.4803,8.6224],[12.5888,8.5979],[12.6735,8.6408],[12.7132,8.7309],[12.8089,8.7894],[12.7903,8.9173],[12.8783,9.0313],[12.8787,9.1504],[12.9039,9.2324],[12.9024,9.3524],[12.8548,9.385],[13.0433,9.5055],[13.2193,9.5426],[13.2479,9.6042],[13.2658,9.7548],[13.298,9.797],[13.2354,9.8471],[13.2291,9.9007],[13.2754,9.974],[13.248,10.0158],[13.3265,10.1147],[13.4092,10.0666],[13.5601,10.0713],[13.6719,10.1145],[13.6472,10.1789],[13.6885,10.2285],[13.9444,10.1994],[14.055,10.0866],[14.1965,10.0553],[14.1924,9.9656]],NW:[[11.1811,6.4429],[11.196,6.2638],[11.0631,6.2148],[11.0185,6.2303],[10.9976,6.1043],[10.8404,6.0102],[10.691,6.0257],[10.5979,5.8311],[10.4884,5.834],[10.3222,5.8042],[10.2929,5.7248],[10.1719,5.7844],[10.0929,5.7363],[9.9795,5.7653],[9.9226,5.7306],[9.7981,5.7791],[9.7224,5.8465],[9.6875,5.8398],[9.5958,5.9209],[9.6213,5.9737],[9.5943,6.0413],[9.7069,6.1188],[9.7535,6.2292],[9.7535,6.356],[9.7257,6.3937],[9.7423,6.4792],[9.7105,6.511],[9.784,6.7964],[9.88,6.7698],[9.9726,6.8744],[10.1692,7.0345],[10.1749,6.9408],[10.2176,6.8911],[10.4711,6.9156],[10.5432,6.9411],[10.6013,7.0758],[10.8459,6.9286],[10.818,6.8558],[10.9156,6.7609],[10.9196,6.7089],[10.9978,6.6843],[11.0359,6.7188],[11.1048,6.6821],[11.1009,6.5411],[11.1857,6.5437],[11.1811,6.4429]]};zingchart.maps.data.cmr={_GROUPS_:{},_DEFAULTS_:zingchart.maps._DEFAULTS_,EN:{coords:t.EN,tooltip:{text:"Extreme-Nord"},cpoint:{x:"14.4848lon",y:"10.6921lat"},label:{text:"EN",x:"14.4848lon",y:"10.6921lat"}},OU:{coords:t.OU,tooltip:{text:"Ouest"},cpoint:{x:"10.6581lon",y:"5.5106lat"},label:{text:"OU",x:"10.6581lon",y:"5.5106lat"}},SU:{coords:t.SU,tooltip:{text:"Sud"},cpoint:{x:"11.5706lon",y:"2.7598lat"},label:{text:"SU",x:"11.5706lon",y:"2.7598lat"}},NO:{coords:t.NO,tooltip:{text:"Nord"},cpoint:{x:"13.7029lon",y:"8.7400lat"},label:{text:"NO",x:"13.7029lon",y:"8.7400lat"}},SW:{coords:t.SW,tooltip:{text:"Sud-Ouest"},cpoint:{x:"9.3016lon",y:"5.2178lat"},label:{text:"SW",x:"9.3016lon",y:"5.2178lat"}},ES:{coords:t.ES,tooltip:{text:"Est"},cpoint:{x:"13.9498lon",y:"3.8502lat"},label:{text:"ES",x:"13.9498lon",y:"3.8502lat"}},AD:{coords:t.AD,tooltip:{text:"Adamaoua"},cpoint:{x:"13.1252lon",y:"6.8426lat"},label:{text:"AD",x:"13.1252lon",y:"6.8426lat"}},LT:{coords:t.LT,tooltip:{text:"Littoral"},cpoint:{x:"10.1019lon",y:"4.2174lat"},label:{text:"LT",x:"10.1019lon",y:"4.2174lat"}},CE:{coords:t.CE,tooltip:{text:"Centre"},cpoint:{x:"11.8280lon",y:"4.6670lat"},label:{text:"CE",x:"11.8280lon",y:"4.6670lat"}},NW:{coords:t.NW,tooltip:{text:"Nord-Ouest"},cpoint:{x:"10.3634lon",y:"6.3680lat"},label:{text:"NW",x:"10.3634lon",y:"6.3680lat"}}}}(),zingchart.maps.cmr=function(t,o,l){return zingchart.maps.convert({loader:this,loaderdata:o||{},graphid:"undefined"==typeof t.graphid?0:t.graphid,data:l,id:t.id||"cmr",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.cmr})};