spritejs/spritejs

View on GitHub
examples/assets/mapdata/1402.json

Summary

Maintainability
Test Coverage
{"type": "FeatureCollection", "features": [{"type":"Feature","properties":{"name":"浑源县","id":"140225"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.817345,39.863843],[113.847345,39.843843],[113.850704375,39.827202375],[113.872874785156,39.8159865546875],[113.880704375,39.777202375],[113.903985625,39.750483625],[113.911109648438,39.7257973457031],[113.926031523438,39.7330849433594],[113.943985625,39.710483625],[113.950704375,39.6872023750001],[113.963985625,39.670483625],[113.967345,39.6238430000001],[113.894469023438,39.6358144355469],[113.913096953125,39.5389272285156],[113.911605253906,39.528843],[113.915775175781,39.5006240058594],[113.94298953125,39.4894863105469],[113.954022246094,39.4751918769531],[113.951605253906,39.458843],[113.961688261719,39.3906215644531],[113.92170046875,39.3794863105469],[113.897345,39.3638430000001],[113.888001738281,39.3768776679688],[113.832345,39.3658791328125],[113.771619902344,39.3778786445313],[113.750999785156,39.4066481757813],[113.715303984375,39.420415265625],[113.681798125,39.413794171875],[113.64255984375,39.4299184394531],[113.591964140625,39.4177272773438],[113.567345,39.4338430000001],[113.559046660156,39.445863263672],[113.500435820313,39.4853298164063],[113.508699980469,39.5221938300782],[113.459598417969,39.5560964179688],[113.441673613281,39.582055890625],[113.421529570313,39.5775392890626],[113.413260527344,39.6097585273438],[113.395513945313,39.6220119453126],[113.383260527344,39.6397585273438],[113.37060671875,39.6484950996094],[113.383565703125,39.6683962226563],[113.381160917969,39.6791213203125],[113.387345,39.693843],[113.393985625,39.697202375],[113.404866972656,39.7187111640626],[113.397345,39.7338430000001],[113.412625761719,39.7291237617188],[113.432120390625,39.7185317207032],[113.442345,39.7191408515625],[113.461656523438,39.7179897285156],[113.4731653125,39.7500661445313],[113.4708996875,39.7880849433594],[113.482625761719,39.7985622382813],[113.492064238281,39.8091237617188],[113.522625761719,39.8185622382813],[113.617386503906,39.8700551582032],[113.682205839844,39.8585366035157],[113.702345,39.8597365546875],[113.73158328125,39.8579946113281],[113.763511992188,39.8753444648438],[113.817345,39.863843]]]]}},{"type":"Feature","properties":{"name":"灵丘县","id":"140224"},"geometry":{"type":"MultiPolygon","coordinates":[[[[114.362379179688,39.6495864082032],[114.397345,39.643843],[114.409720488281,39.6362184882812],[114.429930449219,39.6034181953125],[114.457965117188,39.6121511054688],[114.493531523438,39.6000307441407],[114.513585234375,39.5631984687501],[114.553306914063,39.5809926582032],[114.557345,39.563843],[114.54298953125,39.5281996894531],[114.531549101563,39.5092336250001],[114.533463164063,39.4962831855469],[114.50306765625,39.4728212714844],[114.4886340625,39.4375551582031],[114.465611601563,39.3993947578126],[114.473765898438,39.3442360664063],[114.424129667969,39.3059242988281],[114.420867949219,39.2838430000001],[114.423822050781,39.263843],[114.419075957031,39.2317153144531],[114.47170046875,39.2170607734375],[114.46298953125,39.1981996894531],[114.44170046875,39.1894863105469],[114.43298953125,39.1781996894532],[114.370318632813,39.1675527167969],[114.373160429688,39.1483315253907],[114.360203886719,39.1383315253906],[114.364246855469,39.1109645820312],[114.347345,39.073843],[114.241883574219,39.0693056464844],[114.194544707031,39.0560707832031],[114.162022734375,39.0593849921875],[114.12748171875,39.0396022773438],[114.096280546875,39.0771633125001],[114.061883574219,39.0983803535156],[114.042752714844,39.1293947578126],[114.005406523438,39.1255873847657],[113.982806425781,39.0983803535156],[113.957345,39.0938430000001],[113.953260527344,39.1097585273438],[113.941160917969,39.1385646796876],[113.943499785156,39.1489894843751],[113.925855742188,39.2059096503906],[113.943260527344,39.2179274726563],[113.957469511719,39.2732949042969],[113.930440703125,39.3148000312501],[113.888817167969,39.3435390449219],[113.897345,39.3638430000001],[113.92170046875,39.3794863105469],[113.961688261719,39.3906215644531],[113.951605253906,39.458843],[113.954022246094,39.4751918769531],[113.94298953125,39.4894863105469],[113.915775175781,39.5006240058594],[113.911605253906,39.528843],[113.913096953125,39.5389272285156],[113.894469023438,39.6358144355469],[113.967345,39.6238430000001],[113.999991484375,39.6162783027344],[114.042345,39.6225368476563],[114.096910429688,39.6144741035157],[114.165836210938,39.6304445625],[114.19298953125,39.6094863105469],[114.205286894531,39.5935536933595],[114.23170046875,39.6094863105469],[114.29298953125,39.6181996894531],[114.304127226563,39.6454116035156],[114.332345,39.6495815253906],[114.347345,39.6473647285157],[114.362379179688,39.6495864082032]]]]}},{"type":"Feature","properties":{"name":"大同县","id":"140227"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.517345,40.253843],[113.551951933594,40.2281716132813],[113.582928496094,40.2320253730469],[113.61302859375,40.219341046875],[113.606109648438,40.1637148261719],[113.661790800781,40.1282900214844],[113.707625761719,40.1183730292969],[113.741790800781,40.0982900214844],[113.817943144531,40.0872060371094],[113.85060671875,40.0115383125],[113.820479765625,39.998843],[113.854019804688,39.9847096992188],[113.84209109375,39.9027382636719],[113.817345,39.863843],[113.763511992188,39.8753444648438],[113.73158328125,39.8579946113281],[113.702345,39.8597365546875],[113.682205839844,39.8585366035157],[113.617386503906,39.8700551582032],[113.522625761719,39.8185622382813],[113.492064238281,39.8091237617188],[113.482625761719,39.7985622382813],[113.4708996875,39.7880849433594],[113.4731653125,39.7500661445313],[113.461656523438,39.7179897285156],[113.442345,39.7191408515625],[113.432120390625,39.7185317207032],[113.412625761719,39.7291237617188],[113.397345,39.7338430000001],[113.338970976563,39.7703481269532],[113.316859160156,39.7960121894532],[113.35271609375,39.8184706855469],[113.36197390625,39.8292153144532],[113.438258085938,39.8499794746094],[113.387345,39.8938430000001],[113.387345,39.903843],[113.377345,39.903843],[113.372899199219,39.9393959785156],[113.356771269531,39.96683128125],[113.393155546875,40.0287270332031],[113.38146609375,40.05913596875],[113.394154082031,40.0692958808594],[113.391722441406,40.0888430000001],[113.394039335938,40.10745628125],[113.381790800781,40.1282900214844],[113.377345,40.143843],[113.381790800781,40.1493959785157],[113.398450957031,40.1627370429688],[113.41181765625,40.1794277167969],[113.461790800781,40.2193959785156],[113.482899199219,40.2282900214844],[113.517345,40.253843]]]]}},{"type":"Feature","properties":{"name":"广灵县","id":"140223"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.998577910156,39.9280788398438],[114.037345,39.913843],[114.058648710938,39.9220314765625],[114.142127714844,39.8981935859375],[114.157345,39.9000868964844],[114.172659941406,39.8981825996094],[114.207345,39.913843],[114.223138457031,39.8992104316406],[114.192535429688,39.8708559394532],[114.211060820313,39.8666115546875],[114.272523222656,39.869048078125],[114.282166777344,39.858637921875],[114.292345,39.8590407539063],[114.302345,39.8586452460937],[114.391617460938,39.8621828437501],[114.392740507813,39.833843],[114.391375761719,39.7993740058594],[114.404447050781,39.7872621894531],[114.397345,39.643843],[114.362379179688,39.6495864082032],[114.347345,39.6473647285157],[114.332345,39.6495815253906],[114.304127226563,39.6454116035156],[114.29298953125,39.6181996894531],[114.23170046875,39.6094863105469],[114.205286894531,39.5935536933595],[114.19298953125,39.6094863105469],[114.165836210938,39.6304445625],[114.096910429688,39.6144741035157],[114.042345,39.6225368476563],[113.999991484375,39.6162783027344],[113.967345,39.6238430000001],[113.963985625,39.670483625],[113.950704375,39.6872023750001],[113.943985625,39.710483625],[113.926031523438,39.7330849433594],[113.911109648438,39.7257973457031],[113.903985625,39.750483625],[113.880704375,39.777202375],[113.872874785156,39.8159865546875],[113.850704375,39.827202375],[113.847345,39.843843],[113.862105742188,39.8384218574219],[113.892345,39.8408522773438],[113.941785917969,39.8368788886719],[113.943551054688,39.8588430000001],[113.941253691406,39.8874330878907],[113.998577910156,39.9280788398438]]]]}},{"type":"Feature","properties":{"name":"天镇县","id":"140222"},"geometry":{"type":"MultiPolygon","coordinates":[[[[114.117345,40.743843],[114.137345,40.7338430000001],[114.162899199219,40.6993959785157],[114.181790800781,40.6682900214844],[114.202899199219,40.6393959785157],[114.217345,40.6051113105469],[114.260504179688,40.6104799628907],[114.274039335938,40.5874562812501],[114.270535917969,40.5592958808594],[114.287803984375,40.5454677558594],[114.264100371094,40.4624575019532],[114.293587675781,40.438843],[114.279793730469,40.4277956367188],[114.301810332031,40.3682387519531],[114.388968535156,40.3573976875001],[114.44263796875,40.3695876289063],[114.47486453125,40.3460463691406],[114.510181914063,40.3504396796876],[114.527345,40.3438430000001],[114.511656523438,40.3048891425782],[114.49170046875,40.2894863105469],[114.470035429688,40.2614174628906],[114.41298953125,40.2481996894532],[114.33170046875,40.2394863105469],[114.282464628906,40.2251308417969],[114.247738066406,40.2302626777344],[114.218138457031,40.1919155097656],[114.192345,40.1881044746094],[114.174783964844,40.19069846875],[114.130101347656,40.1731325507813],[114.096175566406,40.1935964179687],[114.061207304688,40.1792848945313],[114.077345,40.143843],[114.053765898438,40.1498940253906],[114.023260527344,40.1697585273438],[114.001429472656,40.1779274726563],[113.974176054688,40.1956740546875],[113.941051054688,40.2080690742188],[113.943465605469,40.218843],[113.933377714844,40.263843],[113.944217558594,40.3121938300782],[113.9046496875,40.3395131660157],[113.917855253906,40.3984206367188],[113.943260527344,40.4079274726563],[113.973709746094,40.4277553535156],[113.971224394531,40.438843],[113.974586210938,40.453843],[113.963660917969,40.5025771308594],[113.947345,40.513843],[113.951158476563,40.5200307441407],[114.043531523438,40.5276552558595],[114.075975371094,40.5421889472656],[114.064344511719,40.5795302558594],[114.051158476563,40.5876552558594],[114.035858183594,40.6124843574219],[114.053531523438,40.6376552558594],[114.067281523438,40.6779982734375],[114.054307890625,40.7196486640625],[114.089449492188,40.7413014960938],[114.111539335938,40.7344216132813],[114.117345,40.743843]]]]}},{"type":"Feature","properties":{"name":"新荣区","id":"140212"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.27271609375,40.3792153144531],[113.313074980469,40.3092153144531],[113.448304472656,40.3231789375],[113.477345,40.333843],[113.50271609375,40.2892153144532],[113.517345,40.253843],[113.482899199219,40.2282900214844],[113.461790800781,40.2193959785156],[113.41181765625,40.1794277167969],[113.398450957031,40.1627370429688],[113.381790800781,40.1493959785157],[113.377345,40.143843],[113.352506132813,40.1494850898438],[113.328951445313,40.1465554023438],[113.332967558594,40.178843],[113.331722441406,40.188843],[113.333448515625,40.2027150703125],[113.352899199219,40.2182900214844],[113.361790800781,40.2306398750001],[113.334935332031,40.2272988105469],[113.322860136719,40.2695290351563],[113.311951933594,40.2681728339844],[113.282200957031,40.2899062324219],[113.272899199219,40.2782900214845],[113.23361453125,40.2617360664063],[113.283214140625,40.2408351875],[113.281241484375,40.2249709296875],[113.253057890625,40.2024025703125],[113.241632109375,40.1752834296876],[113.205328398438,40.1462111640625],[113.182899199219,40.1593959785157],[113.149046660156,40.1736611152344],[113.122703886719,40.1581764960938],[113.102799101563,40.1606520820313],[113.092899199219,40.1482900214844],[113.079251738281,40.1373622871094],[113.052799101563,40.1406520820313],[113.039344511719,40.1238503242188],[113.012703886719,40.1395095039063],[112.992799101563,40.1370339179688],[112.982899199219,40.1493959785157],[112.957345,40.153843],[112.949420195313,40.1578530097657],[112.955269804688,40.1698329902344],[112.940704375,40.1772023750001],[112.933985625,40.200483625],[112.9048840625,40.2088820625],[112.883985625,40.2504836250001],[112.867345,40.253843],[112.882899199219,40.2882900214844],[112.894901152344,40.3302712226563],[112.977345,40.3538430000001],[113.12271609375,40.378470685547],[113.16197390625,40.3892153144532],[113.20271609375,40.3984706855469],[113.249906035156,40.4113857246094],[113.27271609375,40.3792153144531]]]]}},{"type":"Feature","properties":{"name":"阳高县","id":"140221"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.974586210938,40.453843],[113.971224394531,40.438843],[113.973709746094,40.4277553535156],[113.943260527344,40.4079274726563],[113.917855253906,40.3984206367188],[113.9046496875,40.3395131660157],[113.944217558594,40.3121938300782],[113.933377714844,40.263843],[113.943465605469,40.218843],[113.941051054688,40.2080690742188],[113.974176054688,40.1956740546875],[114.001429472656,40.1779274726563],[114.023260527344,40.1697585273438],[114.053765898438,40.1498940253906],[114.077345,40.143843],[114.081790800781,40.1282900214844],[114.099210234375,40.0986586738282],[114.069534941406,40.0616030097657],[114.038219023438,40.0577077460938],[114.007962675781,40.1075221992188],[113.968792753906,40.1123940253906],[113.97490359375,40.0632802558594],[113.948065214844,40.0297670722657],[113.902899199219,40.0168532539063],[113.91343875,40.006704328125],[114.015892363281,39.9888747382813],[114.037345,39.913843],[113.998577910156,39.9280788398438],[113.941253691406,39.8874330878907],[113.943551054688,39.8588430000001],[113.941785917969,39.8368788886719],[113.892345,39.8408522773438],[113.862105742188,39.8384218574219],[113.847345,39.843843],[113.817345,39.863843],[113.84209109375,39.9027382636719],[113.854019804688,39.9847096992188],[113.820479765625,39.998843],[113.85060671875,40.0115383125],[113.817943144531,40.0872060371094],[113.741790800781,40.0982900214844],[113.707625761719,40.1183730292969],[113.661790800781,40.1282900214844],[113.606109648438,40.1637148261719],[113.61302859375,40.219341046875],[113.582928496094,40.2320253730469],[113.551951933594,40.2281716132813],[113.517345,40.253843],[113.50271609375,40.2892153144532],[113.477345,40.333843],[113.551868925781,40.3402040839844],[113.692064238281,40.4491237617188],[113.749115019531,40.4710561347656],[113.787345,40.513843],[113.810784941406,40.507827375],[113.83201296875,40.4770839667969],[113.870357695313,40.4521132636719],[113.893260527344,40.4679274726562],[113.9056653125,40.4858925605469],[113.947345,40.513843],[113.963660917969,40.5025771308594],[113.974586210938,40.453843]]]]}},{"type":"Feature","properties":{"name":"左云县","id":"140226"},"geometry":{"type":"MultiPolygon","coordinates":[[[[112.955269804688,40.1698329902344],[112.949420195313,40.1578530097657],[112.957345,40.153843],[112.970282011719,40.1194155097656],[112.952806425781,40.0983803535156],[112.913089628906,40.0811550117188],[112.910816679688,40.058843],[112.913873320313,40.028843],[112.911790800781,40.0084011054688],[112.971883574219,39.9950759101563],[112.961617460938,39.9648818183594],[112.932806425781,39.9483803535157],[112.862806425781,39.9359059882813],[112.900487089844,39.9046584296875],[112.937345,39.8938430000001],[112.941429472656,39.8879274726563],[112.961429472656,39.8741188789063],[112.952059355469,39.8555446601563],[112.931673613281,39.8601137519531],[112.91392703125,39.8344081855469],[112.873260527344,39.8079274726563],[112.803734160156,39.7987416816406],[112.797345,39.773843],[112.751248808594,39.7699404121094],[112.740767851563,39.7535707832032],[112.686112089844,39.7775392890625],[112.673441191406,39.7577455878907],[112.637345,39.753843],[112.611365996094,39.761664044922],[112.615028105469,39.8072243476563],[112.590311308594,39.8285195136719],[112.597401152344,39.9167641425782],[112.636783476563,40.0240041328125],[112.611219511719,40.0698232246094],[112.6127746875,40.0891896796875],[112.581485625,40.1031508613281],[112.582747832031,40.1188430000001],[112.579547148438,40.1586635566407],[112.623170195313,40.1685744453125],[112.598407011719,40.2035012031251],[112.617345,40.2338430000001],[112.642899199219,40.2193959785156],[112.671790800781,40.1982900214844],[112.735018339844,40.1598854804688],[112.829058867188,40.1960341621094],[112.855211210938,40.2114064765625],[112.867345,40.253843],[112.883985625,40.2504836250001],[112.9048840625,40.2088820625],[112.933985625,40.200483625],[112.940704375,40.1772023750001],[112.955269804688,40.1698329902344]]]]}},{"type":"Feature","properties":{"name":"南郊区","id":"140211"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.377345,39.903843],[113.387345,39.903843],[113.387345,39.8938430000001],[113.377345,39.8938430000001],[113.377345,39.903843]]],[[[113.377345,39.903843],[113.35197390625,39.9084706855469],[113.32271609375,39.9292153144532],[113.284012480469,39.9464858222657],[113.234410429688,39.9584706855469],[113.134290800781,39.9026113105469],[113.042489042969,39.9192568183594],[112.942579375,39.9112282539062],[112.937345,39.8938430000001],[112.900487089844,39.9046584296875],[112.862806425781,39.9359059882813],[112.932806425781,39.9483803535157],[112.961617460938,39.9648818183594],[112.971883574219,39.9950759101563],[112.911790800781,40.0084011054688],[112.913873320313,40.028843],[112.910816679688,40.058843],[112.913089628906,40.0811550117188],[112.952806425781,40.0983803535156],[112.970282011719,40.1194155097656],[112.957345,40.153843],[112.982899199219,40.1493959785157],[112.992799101563,40.1370339179688],[113.012703886719,40.1395095039063],[113.039344511719,40.1238503242188],[113.052799101563,40.1406520820313],[113.079251738281,40.1373622871094],[113.092899199219,40.1482900214844],[113.102799101563,40.1606520820313],[113.122703886719,40.1581764960938],[113.149046660156,40.1736611152344],[113.182899199219,40.1593959785157],[113.205328398438,40.1462111640625],[113.241632109375,40.1752834296876],[113.253057890625,40.2024025703125],[113.281241484375,40.2249709296875],[113.283214140625,40.2408351875],[113.23361453125,40.2617360664063],[113.272899199219,40.2782900214845],[113.282200957031,40.2899062324219],[113.311951933594,40.2681728339844],[113.322860136719,40.2695290351563],[113.334935332031,40.2272988105469],[113.361790800781,40.2306398750001],[113.352899199219,40.2182900214844],[113.333448515625,40.2027150703125],[113.331722441406,40.188843],[113.332967558594,40.178843],[113.328951445313,40.1465554023438],[113.352506132813,40.1494850898438],[113.377345,40.143843],[113.381790800781,40.1282900214844],[113.394039335938,40.10745628125],[113.391722441406,40.0888430000001],[113.394154082031,40.0692958808594],[113.38146609375,40.05913596875],[113.393155546875,40.0287270332031],[113.356771269531,39.96683128125],[113.372899199219,39.9393959785156],[113.377345,39.903843]],[[113.306444121094,40.127387921875],[113.287193632813,40.1382900214844],[113.252999296875,40.0819948554688],[113.282899199219,40.0693959785157],[113.291790800781,40.0582900214844],[113.317345,40.053843],[113.323011503906,40.0992018867188],[113.306444121094,40.127387921875]]]]}},{"type":"Feature","properties":{"name":"城区","id":"140202"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.323011503906,40.0992018867188],[113.317345,40.053843],[113.291790800781,40.0582900214844],[113.282899199219,40.0693959785157],[113.252999296875,40.0819948554688],[113.287193632813,40.1382900214844],[113.306444121094,40.127387921875],[113.323011503906,40.0992018867188]]]]}}]}