Geo & Map sharing a Chart. Issue solved. Was using ItemStyle after defining geoIndex
When I attempt roaming with cursor outside polygonal areas in the map (not on countries), both, the geo and the series map roam synchronously. Yet, if the roam is attempted when the cursor lies on one polygonal area (over a country), then the series.map is zoomed but the geo is not.
Version & Environment [版本及环境]
ECharts version [ECharts 版本]: 4.1.0 release
Browser version [浏览器类型和版本]: Firefox Quantum 61.0.2 (64 bits)
OS Version [操作系统类型和版本]: Windows 10 Home, 64 bit
Expected behaviour [期望结果]: Geo and Series.Map synchronize during roaming irrespective of cursor positioning
var China_India_Right = [[78.91671308789034,33.386773790005904],[78.9098917988278,33.45015493421188],[78.89686933789025,33.5568667668946],[78.94229292187481,33.60487417249375],[78.99309085481772,33.65050446220748],[79.00177249544276,33.671252549772674],[78.99066206250001,33.72233470309318],[78.9169714700518,33.86292043714323],[78.8940271341142,33.92749013929192],[78.8972310729163,33.96423208265145],[78.91113203320282,33.988752549773935],[78.93128584179664,33.99952708590679],[79.10217980338587,34.01236867933132],[79.27477908724072,34.01962921806833],[79.43280561718927,34.05502757418826],[79.48412031445511,34.10742747653222],[79.49507571810099,34.14670156507405],[79.54432335807513,34.236101792938996],[79.5166247903667,34.40239655205424],[79.53621015820531,34.41957896579129],[79.67713178906524,34.414592190075126],[79.71671593620084,34.42477244723662],[79.72668948763317,34.43965525973668],[79.73144371940401,34.5145860865599],[79.74462120963844,34.53701365817457],[79.78353356315421,34.563782050101764],[79.84068769726903,34.616311143526445],[79.87649946484731,34.655869452445884],[80.02801476432708,34.65940928805787],[80.1156579934941,34.80914175062357],[80.15984134310364,34.86541738538942],[80.174775832036,34.98721873630137],[80.22035444531744,35.14173126885407],[80.26644982292177,35.21242462822936],[80.26417605990093,35.270586452773856],[80.27110070182806,35.33001434990952],[80.35895063672424,35.428328762344805],[80.36287804557841,35.4652257350012],[80.35440311068254,35.49121898044402],[80.26748335156762,35.524731146785285],[80.1766878600308,35.54160350192859],[80.11622643424931,35.445692043594875],[80.09085330599399,35.421843370092176],[80.07276655469184,35.415693874649435],[80.04775516146256,35.42099070895935],[80.01974653516038,35.442539781225065],[79.96496951693098,35.528296820613434],[79.87991010937856,35.59811168063975],[79.80332563672201,35.61074656833512],[79.72467410677379,35.6350344915123],[79.65263716015892,35.686349188778124],[79.59910037630453,35.79840953220305],[79.5567773782575,35.834040432268296],[79.48954633984576,35.852540595028785],[79.4459831074237,35.857294826799645],[79.38903567903807,35.962869777971946],[79.35229373567853,35.9742644312923],[79.16558678580799,35.94240591078436],[78.8979028665361,35.896672268206046],[78.83098188671812,35.90881622979464],[78.75579267773344,35.916645209286855],[78.70499474479053,35.90287344008108],[78.67311038606644,35.86933543552365],[78.60608605338388,35.81786570896094],[78.55466800325348,35.78846181898686],[78.34584354036201,35.72179922133034],[78.19381147655932,35.634931138647715],[78.13303999218408,35.581110134415724],[78.04498335155873,35.54746877699371],[77.94173383983957,35.53532481540512],[77.79936526887545,35.49592153578257]];
var China_India_1 = [[79.11251508984424,33.22626679130735],[79.13520104362038,33.17192902275244],[79.1217134947922,33.108108628871975],[79.10279992057337,33.052556464158215],[79.10858768099007,33.022635809861214],[79.14553633007876,33.00144847262155],[79.20222537630295,32.946051337204665],[79.20956342968839,32.86486766207413],[79.2055843444019,32.809031276982765],[79.227908563152,32.758801784795054],[79.23390302929786,32.70306875256827],[79.21653974804778,32.56400747327085],[79.21938195182383,32.50106557873934]];
var India_China_2 = [[78.38966515494553,32.51987580009359],[78.35018436067452,32.488223985314804],[78.29582075390348,32.45561615653864],[78.27277306510129,32.463238430301686],[78.26615848176795,32.48117015230697],[78.2733931822888,32.51589671480711],[78.32005700064838,32.56832245536721],[78.36418867382562,32.60583954521111],[78.37240522656003,32.64333079683887],[78.37292199088296,32.68738495536769],[78.3632068216121,32.71443756767249],[78.34284630728908,32.730818996709004],[78.3160262389296,32.7321109075163],[78.25091393424185,32.69552399345366],[78.17329593293945,32.66255442965145],[78.04849734895458,32.62733694104453],[77.98710574739184,32.620515651982004],[77.95093224478751,32.63937754976854],[77.9155338886676,32.66860057222959],[77.87532962434452,32.75324656832369],[77.8239115742141,32.81815216728228],[77.77662763866704,32.891946112595065],[77.76076297395343,32.933028876267116],[77.73911054882313,32.95178742118907],[77.70887983593238,32.95023712822031],[77.61265831900491,32.88770864514714],[77.5549357441349,32.87437612561584],[77.48015994660855,32.84737518974333],[77.43644168488962,32.82440501558959],[77.35226077668617,32.82549022066772],[77.2191939635346,32.846729234339676],[77.07853071483612,32.90781077730868],[76.97765831900236,32.96718699801204],[76.9342501158772,33.01323069918409],[76.78883263540786,33.13345591891114],[76.76072065624109,33.14118154553877],[76.70754560741275,33.13650482841636],[76.63271813345412,33.14415294039556],[76.5653837421778,33.16149038342948],[76.50450890493798,33.16190379488782],[76.44559777212524,33.15001821546069],[76.32937747590083,33.07661184339008],[76.17408979686374,32.988245144170975],[76.04810265493614,32.92646596936605],[75.97430870962336,32.88310944267316],[75.90702599477933,32.8847630885065],[75.841810337227,32.876804917933555],[75.83602257681031,32.84719432223031],[75.92433759959712,32.72291250256835],[75.90196170441473,32.63945506441698],[75.8342655781124,32.51881643323159],[75.70460940949206,32.42636729586144],[75.54508426300706,32.33926666923348],[75.51201134634027,32.31068960217608],[75.40256066274608,32.32378957776207],[75.30261844269359,32.31890615491049]];
var India_China_3 = [[75.95188113800867,36.45811086684111],[76.11481692902495,36.422428290343575],[76.25718549998908,36.33137441664529],[76.36808312368743,36.311711534158235],[76.41567711782824,36.26662384698358],[76.48290815623997,36.21799632419692],[76.60532962433942,36.190711167946816],[76.71529707225653,36.15557119398834],[76.75276248566814,36.105445054665225],[76.77286461782967,36.01046377211276],[76.7823214049391,35.929486802711395],[76.79741092316831,35.89946279554981],[76.82593631379342,35.87501984307575],[77.02189334504422,35.808874009742155],[77.07305301301318,35.76799795179929],[77.15976606639893,35.72515818942932],[77.34011681509756,35.714461167944904],[77.38455854686859,35.681336574845815],[77.4772660664002,35.6283423935305],[77.49555952343152,35.59689728448089],[77.52005415233788,35.47341644951946]];
var India_Pakistan_1 = [[73.73180993031752,36.887774563131885],[73.74281701039567,36.853461412090084],[73.79940270375528,36.81713288018889],[73.84141564320856,36.77103750258455],[73.80224490753133,36.738016262350044],[73.6537268411245,36.72928294529271],[73.48681196482175,36.741736965475056],[73.36526899607125,36.73703441013649],[73.13541222523699,36.713495795227544],[73.0952596373462,36.68884613702433],[73.07598432810136,36.62593008070897],[73.0464254088304,36.554306545552436],[72.8879854674235,36.419560248351374],[72.77977501820433,36.335146796202594],[72.58386966338583,36.2359797226345],[72.55420739125032,36.15647553155344],[72.5573596536201,35.96731395114904],[72.56573123565138,35.89713735609668],[72.64334923695378,35.86478790948196],[72.73957075388125,35.845926011695425],[72.82028934112117,35.85739817966423],[72.8785803567464,35.873831285133036],[72.9669987323978,35.87013642022417],[73.0724703307055,35.85765656182568],[73.11670535674733,35.83329112400007],[73.12812584828384,35.795386460913974],[73.13427534372659,35.752055772437245],[73.16125044138295,35.71006867120009],[73.26331139515938,35.64097728122586],[73.34501183461285,35.59193634698087],[73.37105675648795,35.57896556247562],[73.44268029164448,35.559793606095326],[73.4724459166446,35.5364875351317],[73.64520022979633,35.53100983330876],[73.73868289581233,35.51597199151182],[73.76576134633328,35.49739431410289],[73.77475304555205,35.46848135023559],[73.69765180857257,35.35990916599036],[73.69315595896319,35.31895559339905],[73.71299970896328,35.28368642835984],[73.76152387888533,35.246556911758134],[73.8934021340942,35.19578481703137],[74.03809614451146,35.143333238255124],[74.09101281117833,35.103645738254954],[74.07447635284493,35.0143488632546],[74.01163781117802,34.89528636325413],[73.80451867055217,34.79296702731622],[73.67760135284334,34.70361847588357],[73.65155643096824,34.64646434176876],[73.62303104034311,34.598172715792],[73.47999067575921,34.566236680635626],[73.45508263539452,34.538460598278746],[73.43482547393612,34.48895457614313],[73.42324995310273,34.43063772230175],[73.4222681008892,34.37056386976245],[73.4839180846134,34.21543122002224],[73.50324507029055,34.073811957326356],[73.54887536000427,33.95159719495608],[73.5761088398221,33.849407050098904],[73.57993289581171,33.768714301075136],[73.58747765492632,33.711560166960325],[73.58127648305128,33.667971096322134],[73.59460900258259,33.598104559863515],[73.61595136911913,33.5270494654622],[73.60918175648891,33.43155141858681],[73.61538292836391,33.23706716565634],[73.64308149607237,33.104517116827694],[73.71460167836432,33.06888621676245],[73.85211266469298,33.02904368746542],[73.95489708852153,32.99395538993923],[74.14951053253273,32.90042104749094],[74.30552168162188,32.810426540654646]];
var India_China_4 = [[78.91671308789034,33.386773790005904],[78.9098917988278,33.45015493421188],[78.89686933789025,33.5568667668946],[78.94229292187481,33.60487417249375],[78.99309085481772,33.65050446220748],[79.00177249544276,33.671252549772674],[78.99066206250001,33.72233470309318],[78.9169714700518,33.86292043714323],[78.8940271341142,33.92749013929192],[78.8972310729163,33.96423208265145],[78.91113203320282,33.988752549773935],[78.93128584179664,33.99952708590679],[79.10217980338587,34.01236867933132],[79.27477908724072,34.01962921806833],[79.43280561718927,34.05502757418826],[79.48412031445511,34.10742747653222],[79.49507571810099,34.14670156507405],[79.54432335807513,34.236101792938996],[79.5166247903667,34.40239655205424],[79.53621015820531,34.41957896579129],[79.67713178906524,34.414592190075126],[79.71671593620084,34.42477244723662],[79.72668948763317,34.43965525973668],[79.73144371940401,34.5145860865599],[79.74462120963844,34.53701365817457],[79.78353356315421,34.563782050101764],[79.84068769726903,34.616311143526445],[79.87649946484731,34.655869452445884],[80.02801476432708,34.65940928805787],[80.1156579934941,34.80914175062357],[80.15984134310364,34.86541738538942],[80.174775832036,34.98721873630137],[80.22035444531744,35.14173126885407],[80.26644982292177,35.21242462822936],[80.26417605990093,35.270586452773856],[80.27110070182806,35.33001434990952],[80.35895063672424,35.428328762344805],[80.36287804557841,35.4652257350012],[80.35440311068254,35.49121898044402],[80.26748335156762,35.524731146785285],[80.1766878600308,35.54160350192859],[80.11622643424931,35.445692043594875],[80.09085330599399,35.421843370092176],[80.07276655469184,35.415693874649435],[80.04775516146256,35.42099070895935],[80.01974653516038,35.442539781225065],[79.96496951693098,35.528296820613434],[79.87991010937856,35.59811168063975],[79.80332563672201,35.61074656833512],[79.72467410677379,35.6350344915123],[79.65263716015892,35.686349188778124],[79.59910037630453,35.79840953220305],[79.5567773782575,35.834040432268296],[79.48954633984576,35.852540595028785],[79.4459831074237,35.857294826799645],[79.38903567903807,35.962869777971946],[79.35229373567853,35.9742644312923],[79.16558678580799,35.94240591078436],[78.8979028665361,35.896672268206046],[78.83098188671812,35.90881622979464],[78.75579267773344,35.916645209286855],[78.70499474479053,35.90287344008108],[78.67311038606644,35.86933543552365],[78.60608605338388,35.81786570896094],[78.55466800325348,35.78846181898686],[78.34584354036201,35.72179922133034],[78.19381147655932,35.634931138647715],[78.13303999218408,35.581110134415724],[78.04498335155873,35.54746877699371],[77.94173383983957,35.53532481540512],[77.79936526887545,35.49592153578257]];
var India_China_5 = [[77.04861006053912,35.10989858656228],[77.00447838736184,35.19635325778658],[76.97889855337738,35.2464277206774],[76.92773888540842,35.34662832289135],[76.88226362499157,35.435718492162536],[76.812758823559,35.57180837660319],[76.76687015168383,35.66169953057491]];
var India_China_6 = [[77.04861006053912,35.10989858656228],[77.16849938345626,35.171548570286475],[77.29298790884738,35.235523993463815],[77.42341922395207,35.30260000257867],[77.57157555533288,35.378771063776895],[77.69694258007297,35.44323741306101],[77.79936526887545,35.49592153578257]];
var Sudan_SSudan = [[27.880799107272935,9.601597801782916],[27.823461432193767,9.745607428237065],[27.823461432193767,10.159162662275378],[28.979481326172277,10.159162662275378],[28.979352908635384,9.59171579934216]];
var Egypt_Sudan = [[33.189697265625,21.993988560906033],[33.5577392578125,21.728885873951494],[34.013671875,21.764601405743978],[34.1455078125,22.19757745335104],[34.6893310546875,22.2992614997412],[34.947509765625,22.847070687839064],[35.2166748046875,22.79643932091949],[35.61767578125,23.135308681729665]];
var India_Pakistan = [[75.38818359375,32.30570601389429],[75.223388671875,32.40779154205701],[75.1025390625,32.48196313217176],[74.92675781249999,32.45415593941475],[74.739990234375,32.50049648924482],[74.674072265625,32.62087018318113],[74.68505859374999,32.76880048488168],[74.63012695312499,32.7872745269555],[74.53125,32.759562025650126],[74.432373046875,32.861132322810946],[74.33349609375,32.89803818160521],[74.366455078125,33.00866349457558],[74.2236328125,33.08233672856376],[74.06982421875,33.22030778968541],[74.1796875,33.348884792201694],[74.15771484375,33.486435450999885],[73.970947265625,33.65120829920497],[74.14672851562499,33.815666308702774],[74.28955078125,33.988918483762156],[74.14672851562499,34.03445260967645],[73.95996093749999,34.043556504127444],[73.970947265625,34.21634468843463],[73.90502929687499,34.32529192442733],[73.80615234375,34.34343606848294],[73.85009765625,34.45221847282654],[73.970947265625,34.66032236481892],[74.322509765625,34.813803317113155],[74.7509765625,34.71452466170392],[75.21240234375,34.65128519895413],[75.552978515625,34.51560953848204],[75.78369140625,34.53371242139564],[76.13525390624999,34.66032236481892],[76.365966796875,34.7506398050501],[76.739501953125,34.84085858477277],[76.9921875,34.96699890670367],[77.113037109375,35.10193405724606]];
var DATAM = [{"name":"Morocco","IHME":60789,"WHO":36000,"value":24789},{"name":"Global","IHME":9019296,"WHO":null,"value":null},{"name":"Afghanistan","IHME":48577,"WHO":65000,"value":-16423},{"name":"Angola","IHME":69093,"WHO":107000,"value":-37907},{"name":"Albania","IHME":391,"WHO":480,"value":-89},{"name":"Andorra","IHME":7,"WHO":5,"value":2},{"name":"United Arab Emirates","IHME":1447,"WHO":74,"value":1373},{"name":"Argentina","IHME":5609,"WHO":11000,"value":-5391},{"name":"Armenia","IHME":1122,"WHO":1300,"value":-178},{"name":"American Samoa","IHME":15,"WHO":5,"value":10},{"name":"Antigua and Barbuda","IHME":10,"WHO":3,"value":7},{"name":"Australia","IHME":1156,"WHO":1500,"value":-344},{"name":"Austria","IHME":615,"WHO":710,"value":-95},{"name":"Azerbaijan","IHME":12964,"WHO":6400,"value":6564},{"name":"Burundi","IHME":34975,"WHO":12000,"value":22975},{"name":"Belgium","IHME":905,"WHO":1100,"value":-195},{"name":"Benin","IHME":11384,"WHO":6400,"value":4984},{"name":"Burkina Faso","IHME":24577,"WHO":9400,"value":15177},{"name":"Bangladesh","IHME":180778,"WHO":360000,"value":-179222},{"name":"Bulgaria","IHME":1588,"WHO":1900,"value":-312},{"name":"Bahrain","IHME":325,"WHO":180,"value":145},{"name":"Bahamas","IHME":134,"WHO":100,"value":34},{"name":"Bosnia and Herzegovina","IHME":1142,"WHO":1100,"value":42},{"name":"Belarus","IHME":3740,"WHO":4900,"value":-1160},{"name":"Belize","IHME":108,"WHO":140,"value":-32},{"name":"Bermuda","IHME":4,"WHO":2,"value":2},{"name":"Bolivia (Plurinational State of)","IHME":10309,"WHO":12000,"value":-1691},{"name":"Brazil","IHME":63696,"WHO":87000,"value":-23304},{"name":"Barbados","IHME":30,"WHO":3,"value":27},{"name":"Brunei Darussalam","IHME":240,"WHO":280,"value":-40},{"name":"Bhutan","IHME":1131,"WHO":1400,"value":-269},{"name":"Botswana","IHME":13488,"WHO":7300,"value":6188},{"name":"Central African Republic","IHME":32689,"WHO":19000,"value":13689},{"name":"Canada","IHME":1547,"WHO":1900,"value":-353},{"name":"Switzerland","IHME":500,"WHO":660,"value":-160},{"name":"Chile","IHME":2135,"WHO":2900,"value":-765},{"name":"China","IHME":1180952,"WHO":895000,"value":285952},{"name":"Cote de Ivoire","IHME":32525,"WHO":36000,"value":-3475},{"name":"Cameroon","IHME":30897,"WHO":48000,"value":-17103},{"name":"Democratic Republic of the Congo","IHME":267549,"WHO":254000,"value":13549},{"name":"Congo","IHME":15812,"WHO":19000,"value":-3188},{"name":"Colombia","IHME":9619,"WHO":16000,"value":-6381},{"name":"Comoros","IHME":1492,"WHO":280,"value":1212},{"name":"Cabo Verde","IHME":347,"WHO":740,"value":-393},{"name":"Costa Rica","IHME":455,"WHO":460,"value":-5},{"name":"Cuba","IHME":721,"WHO":790,"value":-69},{"name":"Cyprus","IHME":85,"WHO":66,"value":19},{"name":"Czechia","IHME":620,"WHO":530,"value":90},{"name":"Germany","IHME":4997,"WHO":6600,"value":-1603},{"name":"Djibouti","IHME":3364,"WHO":3200,"value":164},{"name":"Dominica","IHME":28,"WHO":6,"value":22},{"name":"Denmark","IHME":336,"WHO":350,"value":-14},{"name":"Dominican Republic","IHME":4697,"WHO":6400,"value":-1703},{"name":"Algeria","IHME":19702,"WHO":29000,"value":-9298},{"name":"Ecuador","IHME":4607,"WHO":8200,"value":-3593},{"name":"Egypt","IHME":13621,"WHO":13000,"value":621},{"name":"Eritrea","IHME":14150,"WHO":3700,"value":10450},{"name":"Spain","IHME":3854,"WHO":4700,"value":-846},{"name":"Estonia","IHME":245,"WHO":220,"value":25},{"name":"Ethiopia","IHME":219186,"WHO":182000,"value":37186},{"name":"Finland","IHME":304,"WHO":260,"value":44},{"name":"Fiji","IHME":495,"WHO":530,"value":-35},{"name":"France","IHME":4659,"WHO":5000,"value":-341},{"name":"Micronesia (Federated States of)","IHME":126,"WHO":190,"value":-64},{"name":"Gabon","IHME":4739,"WHO":9600,"value":-4861},{"name":"United Kingdom of Great Britain and Northern Ireland","IHME":6964,"WHO":6500,"value":464},{"name":"Georgia","IHME":2950,"WHO":3600,"value":-650},{"name":"Ghana","IHME":44029,"WHO":44000,"value":29},{"name":"Guinea","IHME":19063,"WHO":22000,"value":-2937},{"name":"Gambia","IHME":2160,"WHO":3500,"value":-1340},{"name":"Guinea-Bissau","IHME":3760,"WHO":6800,"value":-3040},{"name":"Equatorial Guinea","IHME":2603,"WHO":2200,"value":403},{"name":"Greece","IHME":553,"WHO":490,"value":63},{"name":"Grenada","IHME":10,"WHO":7,"value":3},{"name":"Greenland","IHME":24,"WHO":67,"value":-43},{"name":"Guatemala","IHME":2877,"WHO":4000,"value":-1123},{"name":"Guam","IHME":105,"WHO":86,"value":19},{"name":"Guyana","IHME":438,"WHO":720,"value":-282},{"name":"Honduras","IHME":3141,"WHO":3600,"value":-459},{"name":"Croatia","IHME":533,"WHO":520,"value":13},{"name":"Haiti","IHME":9112,"WHO":20000,"value":-10888},{"name":"Hungary","IHME":920,"WHO":860,"value":60},{"name":"Indonesia","IHME":622909,"WHO":1020000,"value":-397091},{"name":"India","IHME":2979936,"WHO":2790000,"value":189936},{"name":"Ireland","IHME":302,"WHO":340,"value":-38},{"name":"Iran (Islamic Republic of)","IHME":13340,"WHO":12000,"value":1340},{"name":"Iraq","IHME":15272,"WHO":16000,"value":-728},{"name":"Iceland","IHME":29,"WHO":7,"value":22},{"name":"Israel","IHME":345,"WHO":290,"value":55},{"name":"Italy","IHME":3414,"WHO":3700,"value":-286},{"name":"Jamaica","IHME":231,"WHO":130,"value":101},{"name":"Jordan","IHME":512,"WHO":530,"value":-18},{"name":"Japan","IHME":25743,"WHO":20000,"value":5743},{"name":"","IHME":60789,"WHO":null,"value":null},{"name":"Kazakhstan","IHME":15170,"WHO":12000,"value":3170},{"name":"Kenya","IHME":77373,"WHO":169000,"value":-91627},{"name":"Kyrgyzstan","IHME":6508,"WHO":8700,"value":-2192},{"name":"Cambodia","IHME":30817,"WHO":54000,"value":-23183},{"name":"Kiribati","IHME":299,"WHO":650,"value":-351},{"name":"Republic of Korea","IHME":42833,"WHO":39000,"value":3833},{"name":"Kuwait","IHME":970,"WHO":960,"value":10},{"name":"Lao People's Democratic Republic","IHME":8074,"WHO":12000,"value":-3926},{"name":"Lebanon","IHME":843,"WHO":740,"value":103},{"name":"Liberia","IHME":7277,"WHO":14000,"value":-6723},{"name":"Libya","IHME":1851,"WHO":2500,"value":-649},{"name":"Saint Lucia","IHME":49,"WHO":3,"value":46},{"name":"Sri Lanka","IHME":8625,"WHO":13000,"value":-4375},{"name":"Lesotho","IHME":19190,"WHO":16000,"value":3190},{"name":"Lithuania","IHME":1376,"WHO":1500,"value":-124},{"name":"Luxembourg","IHME":43,"WHO":33,"value":10},{"name":"Latvia","IHME":644,"WHO":740,"value":-96},{"name":"Republic of Moldova","IHME":3000,"WHO":4100,"value":-1100},{"name":"Madagascar","IHME":33069,"WHO":59000,"value":-25931},{"name":"Maldives","IHME":178,"WHO":210,"value":-32},{"name":"Mexico","IHME":22700,"WHO":28000,"value":-5300},{"name":"Marshall Islands","IHME":139,"WHO":220,"value":-81},{"name":"The Former Yugoslav Republic of Macedonia","IHME":468,"WHO":330,"value":138},{"name":"Mali","IHME":7888,"WHO":10000,"value":-2112},{"name":"Malta","IHME":25,"WHO":58,"value":-33},{"name":"Myanmar","IHME":92933,"WHO":191000,"value":-98067},{"name":"Montenegro","IHME":100,"WHO":100,"value":0},{"name":"Mongolia","IHME":5025,"WHO":5500,"value":-475},{"name":"Northern Mariana Islands","IHME":60,"WHO":32,"value":28},{"name":"Mozambique","IHME":69251,"WHO":159000,"value":-89749},{"name":"Mauritania","IHME":2997,"WHO":4400,"value":-1403},{"name":"Mauritius","IHME":258,"WHO":280,"value":-22},{"name":"Malawi","IHME":35079,"WHO":29000,"value":6079},{"name":"Malaysia","IHME":16646,"WHO":29000,"value":-12354},{"name":"Namibia","IHME":13543,"WHO":11000,"value":2543},{"name":"Niger","IHME":19020,"WHO":19000,"value":20},{"name":"Nigeria","IHME":291840,"WHO":407000,"value":-115160},{"name":"Nicaragua","IHME":2102,"WHO":2900,"value":-798},{"name":"Netherlands","IHME":856,"WHO":1000,"value":-144},{"name":"Norway","IHME":300,"WHO":320,"value":-20},{"name":"Nepal","IHME":35433,"WHO":45000,"value":-9567},{"name":"New Zealand","IHME":271,"WHO":340,"value":-69},{"name":"Oman","IHME":589,"WHO":400,"value":189},{"name":"Pakistan","IHME":401496,"WHO":518000,"value":-116504},{"name":"Panama","IHME":1403,"WHO":2200,"value":-797},{"name":"Peru","IHME":18025,"WHO":37000,"value":-18975},{"name":"Philippines","IHME":227951,"WHO":573000,"value":-345049},{"name":"Papua New Guinea","IHME":9649,"WHO":35000,"value":-25351},{"name":"Poland","IHME":6039,"WHO":7100,"value":-1061},{"name":"Puerto Rico","IHME":124,"WHO":75,"value":49},{"name":"Democratic People's Republic of Korea","IHME":75505,"WHO":130000,"value":-54495},{"name":"Portugal","IHME":1738,"WHO":2100,"value":-362},{"name":"Paraguay","IHME":2497,"WHO":2800,"value":-303},{"name":"West Bank and Gaza Strip","IHME":147,"WHO":49,"value":98},{"name":"Qatar","IHME":875,"WHO":580,"value":295},{"name":"Romania","IHME":12689,"WHO":15000,"value":-2311},{"name":"Russian Federation","IHME":93148,"WHO":94000,"value":-852},{"name":"Rwanda","IHME":24206,"WHO":6000,"value":18206},{"name":"Saudi Arabia","IHME":11567,"WHO":3300,"value":8267},{"name":"Sudan","IHME":40798,"WHO":32000,"value":8798},{"name":"Senegal","IHME":20607,"WHO":22000,"value":-1393},{"name":"Singapore","IHME":1532,"WHO":2800,"value":-1268},{"name":"Solomon Islands","IHME":467,"WHO":500,"value":-33},{"name":"Sierra Leone","IHME":12149,"WHO":22000,"value":-9851},{"name":"El Salvador","IHME":1312,"WHO":3800,"value":-2488},{"name":"Somalia","IHME":30077,"WHO":39000,"value":-8923},{"name":"Serbia","IHME":1771,"WHO":1700,"value":71},{"name":"South Sudan","IHME":21209,"WHO":18000,"value":3209},{"name":"Sao Tome and Principe","IHME":150,"WHO":200,"value":-50},{"name":"Suriname","IHME":130,"WHO":140,"value":-10},{"name":"Slovakia","IHME":445,"WHO":320,"value":125},{"name":"Slovenia","IHME":167,"WHO":140,"value":27},{"name":"Sweden","IHME":645,"WHO":810,"value":-165},{"name":"Swaziland","IHME":9223,"WHO":5400,"value":3823},{"name":"Seychelles","IHME":30,"WHO":14,"value":16},{"name":"Syrian Arab Republic","IHME":3641,"WHO":3800,"value":-159},{"name":"Chad","IHME":17970,"WHO":22000,"value":-4030},{"name":"Togo","IHME":10553,"WHO":3500,"value":7053},{"name":"Thailand","IHME":52917,"WHO":119000,"value":-66083},{"name":"Tajikistan","IHME":6414,"WHO":7500,"value":-1086},{"name":"Turkmenistan","IHME":9006,"WHO":3400,"value":5606},{"name":"Timor-Leste","IHME":989,"WHO":6300,"value":-5311},{"name":"Tonga","IHME":23,"WHO":9,"value":14},{"name":"Trinidad and Tobago","IHME":177,"WHO":250,"value":-73},{"name":"Tunisia","IHME":3402,"WHO":4300,"value":-898},{"name":"Turkey","IHME":19908,"WHO":14000,"value":5908},{"name":"","IHME":6616,"WHO":null,"value":null},{"name":"United Republic of Tanzania","IHME":88093,"WHO":160000,"value":-71907},{"name":"Uganda","IHME":105884,"WHO":83000,"value":22884},{"name":"Ukraine","IHME":26005,"WHO":39000,"value":-12995},{"name":"Uruguay","IHME":594,"WHO":1000,"value":-406},{"name":"United States of America","IHME":10760,"WHO":10000,"value":760},{"name":"Uzbekistan","IHME":19239,"WHO":24000,"value":-4761},{"name":"Saint Vincent and the Grenadines","IHME":29,"WHO":7,"value":22},{"name":"Venezuela (Bolivarian Republic of)","IHME":6266,"WHO":10000,"value":-3734},{"name":"US Virgin Islands","IHME":13,"WHO":8,"value":5},{"name":"Viet Nam","IHME":119366,"WHO":126000,"value":-6634},{"name":"Vanuatu","IHME":204,"WHO":150,"value":54},{"name":"Samoa","IHME":54,"WHO":15,"value":39},{"name":"Yemen","IHME":14420,"WHO":13000,"value":1420},{"name":"South Africa","IHME":249020,"WHO":438000,"value":-188980},{"name":"Zambia","IHME":67994,"WHO":62000,"value":5994},{"name":"Zimbabwe","IHME":83655,"WHO":34000,"value":49655}];
var convertData = function(data) {
var res = [];
for (var i = 1; i < data.length; i++) {
var fromCoord = eval(`"_${i}"`);
var toCoord = eval(`"_${i+1}"`);
var previous = i-1;
var dataItem = data[i];
var dataPrev = data[previous];
// create array
var multiArray = new Array(2);
for (var j = 0; j < multiArray.length; j++) {
multiArray[j] = new Array(2);
};
multiArray [0] = dataPrev;
multiArray [1] = dataItem;
if (fromCoord && toCoord) {
res.push({
fromName: fromCoord,
toName: toCoord,
coords : multiArray
});
}
//console.log(res)
}
return res;
};
// based on prepared DOM, initialize echarts instance
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Geo & Map sharing a Chart. Issue solved. Was using ItemStyle after defining geoIndex
When I attempt roaming with cursor outside polygonal areas in the map (not on countries), both, the geo and the series map roam synchronously. Yet, if the roam is attempted when the cursor lies on one polygonal area (over a country), then the series.map is zoomed but the geo is not.
Version & Environment [版本及环境]
Expected behaviour [期望结果]: Geo and Series.Map synchronize during roaming irrespective of cursor positioning
var China_India_Right = [[78.91671308789034,33.386773790005904],[78.9098917988278,33.45015493421188],[78.89686933789025,33.5568667668946],[78.94229292187481,33.60487417249375],[78.99309085481772,33.65050446220748],[79.00177249544276,33.671252549772674],[78.99066206250001,33.72233470309318],[78.9169714700518,33.86292043714323],[78.8940271341142,33.92749013929192],[78.8972310729163,33.96423208265145],[78.91113203320282,33.988752549773935],[78.93128584179664,33.99952708590679],[79.10217980338587,34.01236867933132],[79.27477908724072,34.01962921806833],[79.43280561718927,34.05502757418826],[79.48412031445511,34.10742747653222],[79.49507571810099,34.14670156507405],[79.54432335807513,34.236101792938996],[79.5166247903667,34.40239655205424],[79.53621015820531,34.41957896579129],[79.67713178906524,34.414592190075126],[79.71671593620084,34.42477244723662],[79.72668948763317,34.43965525973668],[79.73144371940401,34.5145860865599],[79.74462120963844,34.53701365817457],[79.78353356315421,34.563782050101764],[79.84068769726903,34.616311143526445],[79.87649946484731,34.655869452445884],[80.02801476432708,34.65940928805787],[80.1156579934941,34.80914175062357],[80.15984134310364,34.86541738538942],[80.174775832036,34.98721873630137],[80.22035444531744,35.14173126885407],[80.26644982292177,35.21242462822936],[80.26417605990093,35.270586452773856],[80.27110070182806,35.33001434990952],[80.35895063672424,35.428328762344805],[80.36287804557841,35.4652257350012],[80.35440311068254,35.49121898044402],[80.26748335156762,35.524731146785285],[80.1766878600308,35.54160350192859],[80.11622643424931,35.445692043594875],[80.09085330599399,35.421843370092176],[80.07276655469184,35.415693874649435],[80.04775516146256,35.42099070895935],[80.01974653516038,35.442539781225065],[79.96496951693098,35.528296820613434],[79.87991010937856,35.59811168063975],[79.80332563672201,35.61074656833512],[79.72467410677379,35.6350344915123],[79.65263716015892,35.686349188778124],[79.59910037630453,35.79840953220305],[79.5567773782575,35.834040432268296],[79.48954633984576,35.852540595028785],[79.4459831074237,35.857294826799645],[79.38903567903807,35.962869777971946],[79.35229373567853,35.9742644312923],[79.16558678580799,35.94240591078436],[78.8979028665361,35.896672268206046],[78.83098188671812,35.90881622979464],[78.75579267773344,35.916645209286855],[78.70499474479053,35.90287344008108],[78.67311038606644,35.86933543552365],[78.60608605338388,35.81786570896094],[78.55466800325348,35.78846181898686],[78.34584354036201,35.72179922133034],[78.19381147655932,35.634931138647715],[78.13303999218408,35.581110134415724],[78.04498335155873,35.54746877699371],[77.94173383983957,35.53532481540512],[77.79936526887545,35.49592153578257]];
var China_India_1 = [[79.11251508984424,33.22626679130735],[79.13520104362038,33.17192902275244],[79.1217134947922,33.108108628871975],[79.10279992057337,33.052556464158215],[79.10858768099007,33.022635809861214],[79.14553633007876,33.00144847262155],[79.20222537630295,32.946051337204665],[79.20956342968839,32.86486766207413],[79.2055843444019,32.809031276982765],[79.227908563152,32.758801784795054],[79.23390302929786,32.70306875256827],[79.21653974804778,32.56400747327085],[79.21938195182383,32.50106557873934]];
var India_China_2 = [[78.38966515494553,32.51987580009359],[78.35018436067452,32.488223985314804],[78.29582075390348,32.45561615653864],[78.27277306510129,32.463238430301686],[78.26615848176795,32.48117015230697],[78.2733931822888,32.51589671480711],[78.32005700064838,32.56832245536721],[78.36418867382562,32.60583954521111],[78.37240522656003,32.64333079683887],[78.37292199088296,32.68738495536769],[78.3632068216121,32.71443756767249],[78.34284630728908,32.730818996709004],[78.3160262389296,32.7321109075163],[78.25091393424185,32.69552399345366],[78.17329593293945,32.66255442965145],[78.04849734895458,32.62733694104453],[77.98710574739184,32.620515651982004],[77.95093224478751,32.63937754976854],[77.9155338886676,32.66860057222959],[77.87532962434452,32.75324656832369],[77.8239115742141,32.81815216728228],[77.77662763866704,32.891946112595065],[77.76076297395343,32.933028876267116],[77.73911054882313,32.95178742118907],[77.70887983593238,32.95023712822031],[77.61265831900491,32.88770864514714],[77.5549357441349,32.87437612561584],[77.48015994660855,32.84737518974333],[77.43644168488962,32.82440501558959],[77.35226077668617,32.82549022066772],[77.2191939635346,32.846729234339676],[77.07853071483612,32.90781077730868],[76.97765831900236,32.96718699801204],[76.9342501158772,33.01323069918409],[76.78883263540786,33.13345591891114],[76.76072065624109,33.14118154553877],[76.70754560741275,33.13650482841636],[76.63271813345412,33.14415294039556],[76.5653837421778,33.16149038342948],[76.50450890493798,33.16190379488782],[76.44559777212524,33.15001821546069],[76.32937747590083,33.07661184339008],[76.17408979686374,32.988245144170975],[76.04810265493614,32.92646596936605],[75.97430870962336,32.88310944267316],[75.90702599477933,32.8847630885065],[75.841810337227,32.876804917933555],[75.83602257681031,32.84719432223031],[75.92433759959712,32.72291250256835],[75.90196170441473,32.63945506441698],[75.8342655781124,32.51881643323159],[75.70460940949206,32.42636729586144],[75.54508426300706,32.33926666923348],[75.51201134634027,32.31068960217608],[75.40256066274608,32.32378957776207],[75.30261844269359,32.31890615491049]];
var India_China_3 = [[75.95188113800867,36.45811086684111],[76.11481692902495,36.422428290343575],[76.25718549998908,36.33137441664529],[76.36808312368743,36.311711534158235],[76.41567711782824,36.26662384698358],[76.48290815623997,36.21799632419692],[76.60532962433942,36.190711167946816],[76.71529707225653,36.15557119398834],[76.75276248566814,36.105445054665225],[76.77286461782967,36.01046377211276],[76.7823214049391,35.929486802711395],[76.79741092316831,35.89946279554981],[76.82593631379342,35.87501984307575],[77.02189334504422,35.808874009742155],[77.07305301301318,35.76799795179929],[77.15976606639893,35.72515818942932],[77.34011681509756,35.714461167944904],[77.38455854686859,35.681336574845815],[77.4772660664002,35.6283423935305],[77.49555952343152,35.59689728448089],[77.52005415233788,35.47341644951946]];
var India_Pakistan_1 = [[73.73180993031752,36.887774563131885],[73.74281701039567,36.853461412090084],[73.79940270375528,36.81713288018889],[73.84141564320856,36.77103750258455],[73.80224490753133,36.738016262350044],[73.6537268411245,36.72928294529271],[73.48681196482175,36.741736965475056],[73.36526899607125,36.73703441013649],[73.13541222523699,36.713495795227544],[73.0952596373462,36.68884613702433],[73.07598432810136,36.62593008070897],[73.0464254088304,36.554306545552436],[72.8879854674235,36.419560248351374],[72.77977501820433,36.335146796202594],[72.58386966338583,36.2359797226345],[72.55420739125032,36.15647553155344],[72.5573596536201,35.96731395114904],[72.56573123565138,35.89713735609668],[72.64334923695378,35.86478790948196],[72.73957075388125,35.845926011695425],[72.82028934112117,35.85739817966423],[72.8785803567464,35.873831285133036],[72.9669987323978,35.87013642022417],[73.0724703307055,35.85765656182568],[73.11670535674733,35.83329112400007],[73.12812584828384,35.795386460913974],[73.13427534372659,35.752055772437245],[73.16125044138295,35.71006867120009],[73.26331139515938,35.64097728122586],[73.34501183461285,35.59193634698087],[73.37105675648795,35.57896556247562],[73.44268029164448,35.559793606095326],[73.4724459166446,35.5364875351317],[73.64520022979633,35.53100983330876],[73.73868289581233,35.51597199151182],[73.76576134633328,35.49739431410289],[73.77475304555205,35.46848135023559],[73.69765180857257,35.35990916599036],[73.69315595896319,35.31895559339905],[73.71299970896328,35.28368642835984],[73.76152387888533,35.246556911758134],[73.8934021340942,35.19578481703137],[74.03809614451146,35.143333238255124],[74.09101281117833,35.103645738254954],[74.07447635284493,35.0143488632546],[74.01163781117802,34.89528636325413],[73.80451867055217,34.79296702731622],[73.67760135284334,34.70361847588357],[73.65155643096824,34.64646434176876],[73.62303104034311,34.598172715792],[73.47999067575921,34.566236680635626],[73.45508263539452,34.538460598278746],[73.43482547393612,34.48895457614313],[73.42324995310273,34.43063772230175],[73.4222681008892,34.37056386976245],[73.4839180846134,34.21543122002224],[73.50324507029055,34.073811957326356],[73.54887536000427,33.95159719495608],[73.5761088398221,33.849407050098904],[73.57993289581171,33.768714301075136],[73.58747765492632,33.711560166960325],[73.58127648305128,33.667971096322134],[73.59460900258259,33.598104559863515],[73.61595136911913,33.5270494654622],[73.60918175648891,33.43155141858681],[73.61538292836391,33.23706716565634],[73.64308149607237,33.104517116827694],[73.71460167836432,33.06888621676245],[73.85211266469298,33.02904368746542],[73.95489708852153,32.99395538993923],[74.14951053253273,32.90042104749094],[74.30552168162188,32.810426540654646]];
var India_China_4 = [[78.91671308789034,33.386773790005904],[78.9098917988278,33.45015493421188],[78.89686933789025,33.5568667668946],[78.94229292187481,33.60487417249375],[78.99309085481772,33.65050446220748],[79.00177249544276,33.671252549772674],[78.99066206250001,33.72233470309318],[78.9169714700518,33.86292043714323],[78.8940271341142,33.92749013929192],[78.8972310729163,33.96423208265145],[78.91113203320282,33.988752549773935],[78.93128584179664,33.99952708590679],[79.10217980338587,34.01236867933132],[79.27477908724072,34.01962921806833],[79.43280561718927,34.05502757418826],[79.48412031445511,34.10742747653222],[79.49507571810099,34.14670156507405],[79.54432335807513,34.236101792938996],[79.5166247903667,34.40239655205424],[79.53621015820531,34.41957896579129],[79.67713178906524,34.414592190075126],[79.71671593620084,34.42477244723662],[79.72668948763317,34.43965525973668],[79.73144371940401,34.5145860865599],[79.74462120963844,34.53701365817457],[79.78353356315421,34.563782050101764],[79.84068769726903,34.616311143526445],[79.87649946484731,34.655869452445884],[80.02801476432708,34.65940928805787],[80.1156579934941,34.80914175062357],[80.15984134310364,34.86541738538942],[80.174775832036,34.98721873630137],[80.22035444531744,35.14173126885407],[80.26644982292177,35.21242462822936],[80.26417605990093,35.270586452773856],[80.27110070182806,35.33001434990952],[80.35895063672424,35.428328762344805],[80.36287804557841,35.4652257350012],[80.35440311068254,35.49121898044402],[80.26748335156762,35.524731146785285],[80.1766878600308,35.54160350192859],[80.11622643424931,35.445692043594875],[80.09085330599399,35.421843370092176],[80.07276655469184,35.415693874649435],[80.04775516146256,35.42099070895935],[80.01974653516038,35.442539781225065],[79.96496951693098,35.528296820613434],[79.87991010937856,35.59811168063975],[79.80332563672201,35.61074656833512],[79.72467410677379,35.6350344915123],[79.65263716015892,35.686349188778124],[79.59910037630453,35.79840953220305],[79.5567773782575,35.834040432268296],[79.48954633984576,35.852540595028785],[79.4459831074237,35.857294826799645],[79.38903567903807,35.962869777971946],[79.35229373567853,35.9742644312923],[79.16558678580799,35.94240591078436],[78.8979028665361,35.896672268206046],[78.83098188671812,35.90881622979464],[78.75579267773344,35.916645209286855],[78.70499474479053,35.90287344008108],[78.67311038606644,35.86933543552365],[78.60608605338388,35.81786570896094],[78.55466800325348,35.78846181898686],[78.34584354036201,35.72179922133034],[78.19381147655932,35.634931138647715],[78.13303999218408,35.581110134415724],[78.04498335155873,35.54746877699371],[77.94173383983957,35.53532481540512],[77.79936526887545,35.49592153578257]];
var India_China_5 = [[77.04861006053912,35.10989858656228],[77.00447838736184,35.19635325778658],[76.97889855337738,35.2464277206774],[76.92773888540842,35.34662832289135],[76.88226362499157,35.435718492162536],[76.812758823559,35.57180837660319],[76.76687015168383,35.66169953057491]];
var India_China_6 = [[77.04861006053912,35.10989858656228],[77.16849938345626,35.171548570286475],[77.29298790884738,35.235523993463815],[77.42341922395207,35.30260000257867],[77.57157555533288,35.378771063776895],[77.69694258007297,35.44323741306101],[77.79936526887545,35.49592153578257]];
var Sudan_SSudan = [[27.880799107272935,9.601597801782916],[27.823461432193767,9.745607428237065],[27.823461432193767,10.159162662275378],[28.979481326172277,10.159162662275378],[28.979352908635384,9.59171579934216]];
var Egypt_Sudan = [[33.189697265625,21.993988560906033],[33.5577392578125,21.728885873951494],[34.013671875,21.764601405743978],[34.1455078125,22.19757745335104],[34.6893310546875,22.2992614997412],[34.947509765625,22.847070687839064],[35.2166748046875,22.79643932091949],[35.61767578125,23.135308681729665]];
var India_Pakistan = [[75.38818359375,32.30570601389429],[75.223388671875,32.40779154205701],[75.1025390625,32.48196313217176],[74.92675781249999,32.45415593941475],[74.739990234375,32.50049648924482],[74.674072265625,32.62087018318113],[74.68505859374999,32.76880048488168],[74.63012695312499,32.7872745269555],[74.53125,32.759562025650126],[74.432373046875,32.861132322810946],[74.33349609375,32.89803818160521],[74.366455078125,33.00866349457558],[74.2236328125,33.08233672856376],[74.06982421875,33.22030778968541],[74.1796875,33.348884792201694],[74.15771484375,33.486435450999885],[73.970947265625,33.65120829920497],[74.14672851562499,33.815666308702774],[74.28955078125,33.988918483762156],[74.14672851562499,34.03445260967645],[73.95996093749999,34.043556504127444],[73.970947265625,34.21634468843463],[73.90502929687499,34.32529192442733],[73.80615234375,34.34343606848294],[73.85009765625,34.45221847282654],[73.970947265625,34.66032236481892],[74.322509765625,34.813803317113155],[74.7509765625,34.71452466170392],[75.21240234375,34.65128519895413],[75.552978515625,34.51560953848204],[75.78369140625,34.53371242139564],[76.13525390624999,34.66032236481892],[76.365966796875,34.7506398050501],[76.739501953125,34.84085858477277],[76.9921875,34.96699890670367],[77.113037109375,35.10193405724606]];
var stdItemStyle = { normal: { borderWidth: 1, borderColor: 'darkgray', opacity: 1, label: { show: false, } }, emphasis: { areaColor: '#aaa1a1', borderWidth: 1, borderType: 'dashed', label: { show: false } } };
var DATAM = [{"name":"Morocco","IHME":60789,"WHO":36000,"value":24789},{"name":"Global","IHME":9019296,"WHO":null,"value":null},{"name":"Afghanistan","IHME":48577,"WHO":65000,"value":-16423},{"name":"Angola","IHME":69093,"WHO":107000,"value":-37907},{"name":"Albania","IHME":391,"WHO":480,"value":-89},{"name":"Andorra","IHME":7,"WHO":5,"value":2},{"name":"United Arab Emirates","IHME":1447,"WHO":74,"value":1373},{"name":"Argentina","IHME":5609,"WHO":11000,"value":-5391},{"name":"Armenia","IHME":1122,"WHO":1300,"value":-178},{"name":"American Samoa","IHME":15,"WHO":5,"value":10},{"name":"Antigua and Barbuda","IHME":10,"WHO":3,"value":7},{"name":"Australia","IHME":1156,"WHO":1500,"value":-344},{"name":"Austria","IHME":615,"WHO":710,"value":-95},{"name":"Azerbaijan","IHME":12964,"WHO":6400,"value":6564},{"name":"Burundi","IHME":34975,"WHO":12000,"value":22975},{"name":"Belgium","IHME":905,"WHO":1100,"value":-195},{"name":"Benin","IHME":11384,"WHO":6400,"value":4984},{"name":"Burkina Faso","IHME":24577,"WHO":9400,"value":15177},{"name":"Bangladesh","IHME":180778,"WHO":360000,"value":-179222},{"name":"Bulgaria","IHME":1588,"WHO":1900,"value":-312},{"name":"Bahrain","IHME":325,"WHO":180,"value":145},{"name":"Bahamas","IHME":134,"WHO":100,"value":34},{"name":"Bosnia and Herzegovina","IHME":1142,"WHO":1100,"value":42},{"name":"Belarus","IHME":3740,"WHO":4900,"value":-1160},{"name":"Belize","IHME":108,"WHO":140,"value":-32},{"name":"Bermuda","IHME":4,"WHO":2,"value":2},{"name":"Bolivia (Plurinational State of)","IHME":10309,"WHO":12000,"value":-1691},{"name":"Brazil","IHME":63696,"WHO":87000,"value":-23304},{"name":"Barbados","IHME":30,"WHO":3,"value":27},{"name":"Brunei Darussalam","IHME":240,"WHO":280,"value":-40},{"name":"Bhutan","IHME":1131,"WHO":1400,"value":-269},{"name":"Botswana","IHME":13488,"WHO":7300,"value":6188},{"name":"Central African Republic","IHME":32689,"WHO":19000,"value":13689},{"name":"Canada","IHME":1547,"WHO":1900,"value":-353},{"name":"Switzerland","IHME":500,"WHO":660,"value":-160},{"name":"Chile","IHME":2135,"WHO":2900,"value":-765},{"name":"China","IHME":1180952,"WHO":895000,"value":285952},{"name":"Cote de Ivoire","IHME":32525,"WHO":36000,"value":-3475},{"name":"Cameroon","IHME":30897,"WHO":48000,"value":-17103},{"name":"Democratic Republic of the Congo","IHME":267549,"WHO":254000,"value":13549},{"name":"Congo","IHME":15812,"WHO":19000,"value":-3188},{"name":"Colombia","IHME":9619,"WHO":16000,"value":-6381},{"name":"Comoros","IHME":1492,"WHO":280,"value":1212},{"name":"Cabo Verde","IHME":347,"WHO":740,"value":-393},{"name":"Costa Rica","IHME":455,"WHO":460,"value":-5},{"name":"Cuba","IHME":721,"WHO":790,"value":-69},{"name":"Cyprus","IHME":85,"WHO":66,"value":19},{"name":"Czechia","IHME":620,"WHO":530,"value":90},{"name":"Germany","IHME":4997,"WHO":6600,"value":-1603},{"name":"Djibouti","IHME":3364,"WHO":3200,"value":164},{"name":"Dominica","IHME":28,"WHO":6,"value":22},{"name":"Denmark","IHME":336,"WHO":350,"value":-14},{"name":"Dominican Republic","IHME":4697,"WHO":6400,"value":-1703},{"name":"Algeria","IHME":19702,"WHO":29000,"value":-9298},{"name":"Ecuador","IHME":4607,"WHO":8200,"value":-3593},{"name":"Egypt","IHME":13621,"WHO":13000,"value":621},{"name":"Eritrea","IHME":14150,"WHO":3700,"value":10450},{"name":"Spain","IHME":3854,"WHO":4700,"value":-846},{"name":"Estonia","IHME":245,"WHO":220,"value":25},{"name":"Ethiopia","IHME":219186,"WHO":182000,"value":37186},{"name":"Finland","IHME":304,"WHO":260,"value":44},{"name":"Fiji","IHME":495,"WHO":530,"value":-35},{"name":"France","IHME":4659,"WHO":5000,"value":-341},{"name":"Micronesia (Federated States of)","IHME":126,"WHO":190,"value":-64},{"name":"Gabon","IHME":4739,"WHO":9600,"value":-4861},{"name":"United Kingdom of Great Britain and Northern Ireland","IHME":6964,"WHO":6500,"value":464},{"name":"Georgia","IHME":2950,"WHO":3600,"value":-650},{"name":"Ghana","IHME":44029,"WHO":44000,"value":29},{"name":"Guinea","IHME":19063,"WHO":22000,"value":-2937},{"name":"Gambia","IHME":2160,"WHO":3500,"value":-1340},{"name":"Guinea-Bissau","IHME":3760,"WHO":6800,"value":-3040},{"name":"Equatorial Guinea","IHME":2603,"WHO":2200,"value":403},{"name":"Greece","IHME":553,"WHO":490,"value":63},{"name":"Grenada","IHME":10,"WHO":7,"value":3},{"name":"Greenland","IHME":24,"WHO":67,"value":-43},{"name":"Guatemala","IHME":2877,"WHO":4000,"value":-1123},{"name":"Guam","IHME":105,"WHO":86,"value":19},{"name":"Guyana","IHME":438,"WHO":720,"value":-282},{"name":"Honduras","IHME":3141,"WHO":3600,"value":-459},{"name":"Croatia","IHME":533,"WHO":520,"value":13},{"name":"Haiti","IHME":9112,"WHO":20000,"value":-10888},{"name":"Hungary","IHME":920,"WHO":860,"value":60},{"name":"Indonesia","IHME":622909,"WHO":1020000,"value":-397091},{"name":"India","IHME":2979936,"WHO":2790000,"value":189936},{"name":"Ireland","IHME":302,"WHO":340,"value":-38},{"name":"Iran (Islamic Republic of)","IHME":13340,"WHO":12000,"value":1340},{"name":"Iraq","IHME":15272,"WHO":16000,"value":-728},{"name":"Iceland","IHME":29,"WHO":7,"value":22},{"name":"Israel","IHME":345,"WHO":290,"value":55},{"name":"Italy","IHME":3414,"WHO":3700,"value":-286},{"name":"Jamaica","IHME":231,"WHO":130,"value":101},{"name":"Jordan","IHME":512,"WHO":530,"value":-18},{"name":"Japan","IHME":25743,"WHO":20000,"value":5743},{"name":"","IHME":60789,"WHO":null,"value":null},{"name":"Kazakhstan","IHME":15170,"WHO":12000,"value":3170},{"name":"Kenya","IHME":77373,"WHO":169000,"value":-91627},{"name":"Kyrgyzstan","IHME":6508,"WHO":8700,"value":-2192},{"name":"Cambodia","IHME":30817,"WHO":54000,"value":-23183},{"name":"Kiribati","IHME":299,"WHO":650,"value":-351},{"name":"Republic of Korea","IHME":42833,"WHO":39000,"value":3833},{"name":"Kuwait","IHME":970,"WHO":960,"value":10},{"name":"Lao People's Democratic Republic","IHME":8074,"WHO":12000,"value":-3926},{"name":"Lebanon","IHME":843,"WHO":740,"value":103},{"name":"Liberia","IHME":7277,"WHO":14000,"value":-6723},{"name":"Libya","IHME":1851,"WHO":2500,"value":-649},{"name":"Saint Lucia","IHME":49,"WHO":3,"value":46},{"name":"Sri Lanka","IHME":8625,"WHO":13000,"value":-4375},{"name":"Lesotho","IHME":19190,"WHO":16000,"value":3190},{"name":"Lithuania","IHME":1376,"WHO":1500,"value":-124},{"name":"Luxembourg","IHME":43,"WHO":33,"value":10},{"name":"Latvia","IHME":644,"WHO":740,"value":-96},{"name":"Republic of Moldova","IHME":3000,"WHO":4100,"value":-1100},{"name":"Madagascar","IHME":33069,"WHO":59000,"value":-25931},{"name":"Maldives","IHME":178,"WHO":210,"value":-32},{"name":"Mexico","IHME":22700,"WHO":28000,"value":-5300},{"name":"Marshall Islands","IHME":139,"WHO":220,"value":-81},{"name":"The Former Yugoslav Republic of Macedonia","IHME":468,"WHO":330,"value":138},{"name":"Mali","IHME":7888,"WHO":10000,"value":-2112},{"name":"Malta","IHME":25,"WHO":58,"value":-33},{"name":"Myanmar","IHME":92933,"WHO":191000,"value":-98067},{"name":"Montenegro","IHME":100,"WHO":100,"value":0},{"name":"Mongolia","IHME":5025,"WHO":5500,"value":-475},{"name":"Northern Mariana Islands","IHME":60,"WHO":32,"value":28},{"name":"Mozambique","IHME":69251,"WHO":159000,"value":-89749},{"name":"Mauritania","IHME":2997,"WHO":4400,"value":-1403},{"name":"Mauritius","IHME":258,"WHO":280,"value":-22},{"name":"Malawi","IHME":35079,"WHO":29000,"value":6079},{"name":"Malaysia","IHME":16646,"WHO":29000,"value":-12354},{"name":"Namibia","IHME":13543,"WHO":11000,"value":2543},{"name":"Niger","IHME":19020,"WHO":19000,"value":20},{"name":"Nigeria","IHME":291840,"WHO":407000,"value":-115160},{"name":"Nicaragua","IHME":2102,"WHO":2900,"value":-798},{"name":"Netherlands","IHME":856,"WHO":1000,"value":-144},{"name":"Norway","IHME":300,"WHO":320,"value":-20},{"name":"Nepal","IHME":35433,"WHO":45000,"value":-9567},{"name":"New Zealand","IHME":271,"WHO":340,"value":-69},{"name":"Oman","IHME":589,"WHO":400,"value":189},{"name":"Pakistan","IHME":401496,"WHO":518000,"value":-116504},{"name":"Panama","IHME":1403,"WHO":2200,"value":-797},{"name":"Peru","IHME":18025,"WHO":37000,"value":-18975},{"name":"Philippines","IHME":227951,"WHO":573000,"value":-345049},{"name":"Papua New Guinea","IHME":9649,"WHO":35000,"value":-25351},{"name":"Poland","IHME":6039,"WHO":7100,"value":-1061},{"name":"Puerto Rico","IHME":124,"WHO":75,"value":49},{"name":"Democratic People's Republic of Korea","IHME":75505,"WHO":130000,"value":-54495},{"name":"Portugal","IHME":1738,"WHO":2100,"value":-362},{"name":"Paraguay","IHME":2497,"WHO":2800,"value":-303},{"name":"West Bank and Gaza Strip","IHME":147,"WHO":49,"value":98},{"name":"Qatar","IHME":875,"WHO":580,"value":295},{"name":"Romania","IHME":12689,"WHO":15000,"value":-2311},{"name":"Russian Federation","IHME":93148,"WHO":94000,"value":-852},{"name":"Rwanda","IHME":24206,"WHO":6000,"value":18206},{"name":"Saudi Arabia","IHME":11567,"WHO":3300,"value":8267},{"name":"Sudan","IHME":40798,"WHO":32000,"value":8798},{"name":"Senegal","IHME":20607,"WHO":22000,"value":-1393},{"name":"Singapore","IHME":1532,"WHO":2800,"value":-1268},{"name":"Solomon Islands","IHME":467,"WHO":500,"value":-33},{"name":"Sierra Leone","IHME":12149,"WHO":22000,"value":-9851},{"name":"El Salvador","IHME":1312,"WHO":3800,"value":-2488},{"name":"Somalia","IHME":30077,"WHO":39000,"value":-8923},{"name":"Serbia","IHME":1771,"WHO":1700,"value":71},{"name":"South Sudan","IHME":21209,"WHO":18000,"value":3209},{"name":"Sao Tome and Principe","IHME":150,"WHO":200,"value":-50},{"name":"Suriname","IHME":130,"WHO":140,"value":-10},{"name":"Slovakia","IHME":445,"WHO":320,"value":125},{"name":"Slovenia","IHME":167,"WHO":140,"value":27},{"name":"Sweden","IHME":645,"WHO":810,"value":-165},{"name":"Swaziland","IHME":9223,"WHO":5400,"value":3823},{"name":"Seychelles","IHME":30,"WHO":14,"value":16},{"name":"Syrian Arab Republic","IHME":3641,"WHO":3800,"value":-159},{"name":"Chad","IHME":17970,"WHO":22000,"value":-4030},{"name":"Togo","IHME":10553,"WHO":3500,"value":7053},{"name":"Thailand","IHME":52917,"WHO":119000,"value":-66083},{"name":"Tajikistan","IHME":6414,"WHO":7500,"value":-1086},{"name":"Turkmenistan","IHME":9006,"WHO":3400,"value":5606},{"name":"Timor-Leste","IHME":989,"WHO":6300,"value":-5311},{"name":"Tonga","IHME":23,"WHO":9,"value":14},{"name":"Trinidad and Tobago","IHME":177,"WHO":250,"value":-73},{"name":"Tunisia","IHME":3402,"WHO":4300,"value":-898},{"name":"Turkey","IHME":19908,"WHO":14000,"value":5908},{"name":"","IHME":6616,"WHO":null,"value":null},{"name":"United Republic of Tanzania","IHME":88093,"WHO":160000,"value":-71907},{"name":"Uganda","IHME":105884,"WHO":83000,"value":22884},{"name":"Ukraine","IHME":26005,"WHO":39000,"value":-12995},{"name":"Uruguay","IHME":594,"WHO":1000,"value":-406},{"name":"United States of America","IHME":10760,"WHO":10000,"value":760},{"name":"Uzbekistan","IHME":19239,"WHO":24000,"value":-4761},{"name":"Saint Vincent and the Grenadines","IHME":29,"WHO":7,"value":22},{"name":"Venezuela (Bolivarian Republic of)","IHME":6266,"WHO":10000,"value":-3734},{"name":"US Virgin Islands","IHME":13,"WHO":8,"value":5},{"name":"Viet Nam","IHME":119366,"WHO":126000,"value":-6634},{"name":"Vanuatu","IHME":204,"WHO":150,"value":54},{"name":"Samoa","IHME":54,"WHO":15,"value":39},{"name":"Yemen","IHME":14420,"WHO":13000,"value":1420},{"name":"South Africa","IHME":249020,"WHO":438000,"value":-188980},{"name":"Zambia","IHME":67994,"WHO":62000,"value":5994},{"name":"Zimbabwe","IHME":83655,"WHO":34000,"value":49655}];
var convertData = function(data) { var res = []; for (var i = 1; i < data.length; i++) {
};
var myChart = echarts.init(document.getElementById('main')); myChart.setOption({ series: [{ type: 'map', map: 'world', data: [ ] }] });
ECharts option [ECharts配置项]
Other comments [其他信息]
{…} geo: {…} itemStyle: Object { normal: {…}, emphasis: {…} } label: Object { normal: {…}, emphasis: {…} } map: "world" roam: true show: true