spritejs/spritejs

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

Summary

Maintainability
Test Coverage
{"type": "FeatureCollection", "features": [{"type":"Feature","properties":{"name":"昌图县","id":"211224"},"geometry":{"type":"MultiPolygon","coordinates":[[[[123.767345,43.483843],[123.77252078125,43.4782552314453],[123.799971953125,43.4793434882813],[123.862115507813,43.4596688056641],[123.862550078125,43.4486788154297],[123.842720976563,43.4112026191407],[123.892935820313,43.3787746406251],[123.892139921875,43.3586562324219],[123.9439075,43.3463246894532],[124.013961210938,43.2871230292969],[124.09259890625,43.2902407050781],[124.092139921875,43.2786659980469],[124.102535429688,43.2690334296875],[124.112345,43.2482485175782],[124.137345,43.2492397285157],[124.172345,43.2478517890626],[124.202511015625,43.249048078125],[124.222154570313,43.2386525703125],[124.277345,43.223843],[124.270753203125,43.1710695625],[124.322896757813,43.1393959785157],[124.331793242188,43.1282900214844],[124.347345,43.123843],[124.382154570313,43.0986525703126],[124.422037382813,43.0728969550782],[124.32490359375,42.9930727363282],[124.372550078125,42.9678603339844],[124.42093875,42.9697780585938],[124.442154570313,42.9501210761719],[124.425206328125,42.9299123359375],[124.402154570313,42.9190334296875],[124.382535429688,42.9086525703126],[124.362154570313,42.8990334296876],[124.357345,42.883843],[124.342345,42.8896083808594],[124.310655546875,42.8774282050782],[124.313023710938,42.8583901191407],[124.301793242188,42.8493959785157],[124.292896757813,42.8182900214844],[124.251793242188,42.8093959785156],[124.193453398438,42.7327370429688],[124.161793242188,42.7193959785156],[124.152896757813,42.7082900214844],[124.131793242188,42.6993959785157],[124.110709257813,42.6870021796875],[124.11302859375,42.6683388496094],[124.088912382813,42.6593959785156],[124.072896757813,42.6793959785157],[123.960943632813,42.6882900214844],[123.87138796875,42.6538649726563],[123.811920195313,42.5796022773438],[123.741793242188,42.5693959785156],[123.727345,42.5638430000001],[123.693443632813,42.5725429511719],[123.68326296875,42.5997585273438],[123.66142703125,42.6079274726563],[123.65326296875,42.6297585273438],[123.627257109375,42.6394887519531],[123.617345,42.653843],[123.6126184375,42.6722670722656],[123.58037234375,42.6650380683594],[123.58361453125,42.6795131660156],[123.57107546875,42.6881728339844],[123.573565703125,42.6992897773438],[123.558409453125,42.7225661445313],[123.576925078125,42.7666469550782],[123.59361453125,42.7781728339844],[123.587862578125,42.803843],[123.593565703125,42.8292897773438],[123.580831328125,42.848843],[123.59408328125,42.8691909003907],[123.58060671875,42.8784950996094],[123.59408328125,42.8991909003906],[123.58060671875,42.9084950996094],[123.594132109375,42.9292629218751],[123.54580203125,42.9568471503906],[123.557345,43.003843],[123.57326296875,43.0079274726563],[123.58298953125,43.0339321113281],[123.604586210938,43.048843],[123.590103789063,43.0588430000001],[123.622164335938,43.0809804511719],[123.63142703125,43.1397585273438],[123.643565703125,43.1583962226563],[123.641051054688,43.1696169257813],[123.664361601563,43.1783388496094],[123.640328398438,43.2093471503907],[123.669845,43.2203908515625],[123.66107546875,43.2595131660157],[123.679176054688,43.2720119453126],[123.703746367188,43.3075966621094],[123.701221953125,43.3188430000001],[123.7046496875,43.3341127753907],[123.697345,43.3638430000001],[123.689561796875,43.3812142158203],[123.708780546875,43.4124056220704],[123.737564726563,43.4301387763672],[123.75281375,43.4748891425781],[123.767345,43.483843]]]]}},{"type":"Feature","properties":{"name":"调兵山市","id":"211281"},"geometry":{"type":"MultiPolygon","coordinates":[[[[123.647345,42.513843],[123.66576296875,42.4669875312501],[123.659303007813,42.4232729316407],[123.70170046875,42.4059206367187],[123.69298953125,42.3981996894531],[123.651514921875,42.3894472480469],[123.65423953125,42.3710182929688],[123.620767851563,42.3508266425781],[123.596607695313,42.3472560859376],[123.522276640625,42.3615468574219],[123.517345,42.343843],[123.461749296875,42.3786098457032],[123.472926054688,42.4090358710937],[123.452955351563,42.4262404609375],[123.451236601563,42.4476454902344],[123.47197390625,42.4592153144532],[123.50271609375,42.4684706855469],[123.57662234375,42.5097048164062],[123.602345,42.5076381660157],[123.620113554688,42.5474587226563],[123.660894804688,42.5507350898438],[123.647345,42.513843]]]]}},{"type":"Feature","properties":{"name":"开原市","id":"211282"},"geometry":{"type":"MultiPolygon","coordinates":[[[[123.757345,42.5238430000001],[123.769537382813,42.5272658515625],[123.760767851563,42.5360353828125],[123.747345,42.5238430000001],[123.747345,42.543843],[123.760260039063,42.54937034375],[123.730343046875,42.5568398261719],[123.727345,42.5638430000001],[123.741793242188,42.5693959785156],[123.811920195313,42.5796022773438],[123.87138796875,42.6538649726563],[123.960943632813,42.6882900214844],[124.072896757813,42.6793959785157],[124.088912382813,42.6593959785156],[124.11302859375,42.6683388496094],[124.110709257813,42.6870021796875],[124.131793242188,42.6993959785157],[124.152896757813,42.7082900214844],[124.161793242188,42.7193959785156],[124.193453398438,42.7327370429688],[124.251793242188,42.8093959785156],[124.292896757813,42.8182900214844],[124.301793242188,42.8493959785157],[124.313023710938,42.8583901191407],[124.310655546875,42.8774282050782],[124.342345,42.8896083808594],[124.357345,42.883843],[124.37142703125,42.8779274726563],[124.440953398438,42.8687416816407],[124.45142703125,42.8279274726563],[124.457345,42.8238430000001],[124.466812773438,42.7997634101563],[124.434605742188,42.7865822578126],[124.416207304688,42.7416298652344],[124.367345,42.73440940625],[124.331773710938,42.7396657539063],[124.32298953125,42.7181996894532],[124.27298953125,42.6796059394532],[124.308507109375,42.6283827949219],[124.33298953125,42.6094863105469],[124.337345,42.583843],[124.312486601563,42.5896034980469],[124.301954375,42.5880458808594],[124.27281375,42.6056240058594],[124.180689726563,42.6269716621094],[124.13298953125,42.5981996894532],[124.087393828125,42.58550315625],[124.065152617188,42.5486318183594],[124.08170046875,42.5081996894531],[124.12427859375,42.4907741523438],[124.173922148438,42.4608266425781],[124.192345,42.4581044746094],[124.205953398438,42.4601149726563],[124.26170046875,42.4381996894531],[124.317750273438,42.428676984375],[124.38263796875,42.3895388007813],[124.429215117188,42.3826552558594],[124.433140898438,42.4092336250001],[124.414576445313,42.4400112128907],[124.39123171875,42.4993886542969],[124.437471953125,42.509145734375],[124.431519804688,42.5494362617188],[124.447345,42.553843],[124.468551054688,42.5451296210938],[124.495303984375,42.5504152656251],[124.523170195313,42.5396681953126],[124.568717070313,42.5020790839844],[124.628023710938,42.526450421875],[124.698350859375,42.4949587226563],[124.730904570313,42.5156264472657],[124.758995390625,42.495493390625],[124.771519804688,42.4780178046876],[124.783170195313,42.4696681953125],[124.791519804688,42.4580178046875],[124.811295195313,42.4438430000001],[124.790025664063,42.4285951972657],[124.813170195313,42.4196681953126],[124.817345,42.413843],[124.79197390625,42.4092153144532],[124.763638945313,42.3934072089844],[124.791861601563,42.3428212714844],[124.73197390625,42.3292153144531],[124.681202421875,42.3153188300782],[124.621241484375,42.3201369453125],[124.6227746875,42.3392043281251],[124.570367460938,42.3484706855469],[124.572769804688,42.3185646796875],[124.56197390625,42.2992153144532],[124.551715117188,42.2762221503907],[124.53197390625,42.2592153144532],[124.52271609375,42.2484706855469],[124.511807890625,42.2390724921875],[124.524205351563,42.1937795234375],[124.55271609375,42.1692153144531],[124.56197390625,42.1564455390625],[124.54197390625,42.1392153144531],[124.537345,42.133843],[124.531793242188,42.1293959785157],[124.471143828125,42.1156191230469],[124.42062625,42.130044171875],[124.423214140625,42.1508351875001],[124.377486601563,42.1701039863282],[124.34486453125,42.1660463691407],[124.312896757813,42.1893959785156],[124.251656523438,42.1983095527344],[124.25302859375,42.2093581367188],[124.18259890625,42.2294960761719],[124.172345,42.2282216621094],[124.162345,42.2294643378907],[124.151890898438,42.2281642890625],[124.140079375,42.242915265625],[124.102203398438,42.2382033515625],[124.082896757813,42.2422743964844],[124.114381132813,42.2674843574219],[124.11150515625,42.2906044746095],[124.092345,42.2882216621094],[124.06951296875,42.2910610175781],[124.072965117188,42.318843],[124.070982695313,42.3347988105469],[124.042706328125,42.3181764960938],[123.99119265625,42.3245839667969],[123.99880984375,42.385805890625],[123.958580351563,42.4102407050781],[123.920889921875,42.4055519843751],[123.923922148438,42.3811586738281],[123.88537234375,42.4038210273438],[123.869342070313,42.4238356757813],[123.842706328125,42.4081764960938],[123.832345,42.4094643378906],[123.817345,42.4075991035157],[123.800582304688,42.4096840644532],[123.803023710938,42.4292958808594],[123.791099882813,42.438843],[123.806163359375,42.4509035468751],[123.790928984375,42.490532453125],[123.7676965625,42.4876430488281],[123.757345,42.5238430000001]]]]}},{"type":"Feature","properties":{"name":"清河区","id":"211204"},"geometry":{"type":"MultiPolygon","coordinates":[[[[124.27281375,42.6056240058594],[124.301954375,42.5880458808594],[124.312486601563,42.5896034980469],[124.337345,42.583843],[124.353804960938,42.5803029609375],[124.375440703125,42.5639369941406],[124.40806765625,42.5773830390625],[124.443077421875,42.5616323066407],[124.447345,42.553843],[124.431519804688,42.5494362617188],[124.437471953125,42.509145734375],[124.39123171875,42.4993886542969],[124.414576445313,42.4400112128907],[124.433140898438,42.4092336250001],[124.429215117188,42.3826552558594],[124.38263796875,42.3895388007813],[124.317750273438,42.428676984375],[124.26170046875,42.4381996894531],[124.205953398438,42.4601149726563],[124.192345,42.4581044746094],[124.173922148438,42.4608266425781],[124.12427859375,42.4907741523438],[124.08170046875,42.5081996894531],[124.065152617188,42.5486318183594],[124.087393828125,42.58550315625],[124.13298953125,42.5981996894532],[124.180689726563,42.6269716621094],[124.27281375,42.6056240058594]]]]}},{"type":"Feature","properties":{"name":"铁岭县","id":"211221"},"geometry":{"type":"MultiPolygon","coordinates":[[[[123.757345,42.5238430000001],[123.760767851563,42.5360353828125],[123.769537382813,42.5272658515625],[123.757345,42.5238430000001]]],[[[123.757345,42.5238430000001],[123.7676965625,42.4876430488281],[123.790928984375,42.490532453125],[123.806163359375,42.4509035468751],[123.791099882813,42.438843],[123.803023710938,42.4292958808594],[123.800582304688,42.4096840644532],[123.817345,42.4075991035157],[123.832345,42.4094643378906],[123.842706328125,42.4081764960938],[123.869342070313,42.4238356757813],[123.88537234375,42.4038210273438],[123.923922148438,42.3811586738281],[123.920889921875,42.4055519843751],[123.958580351563,42.4102407050781],[123.99880984375,42.385805890625],[123.99119265625,42.3245839667969],[124.042706328125,42.3181764960938],[124.070982695313,42.3347988105469],[124.072965117188,42.318843],[124.06951296875,42.2910610175781],[124.092345,42.2882216621094],[124.11150515625,42.2906044746095],[124.114381132813,42.2674843574219],[124.082896757813,42.2422743964844],[124.102203398438,42.2382033515625],[124.140079375,42.242915265625],[124.151890898438,42.2281642890625],[124.162345,42.2294643378907],[124.172345,42.2282216621094],[124.18259890625,42.2294960761719],[124.25302859375,42.2093581367188],[124.251656523438,42.1983095527344],[124.312896757813,42.1893959785156],[124.34486453125,42.1660463691407],[124.377486601563,42.1701039863282],[124.423214140625,42.1508351875001],[124.42062625,42.130044171875],[124.471143828125,42.1156191230469],[124.531793242188,42.1293959785157],[124.537345,42.133843],[124.544010039063,42.1179775214844],[124.521329375,42.0851308417969],[124.46142703125,42.0697585273438],[124.41326296875,42.0479274726563],[124.361051054688,42.0296254707031],[124.363658476563,42.0179897285157],[124.337345,42.013843],[124.28252078125,42.0072438789063],[124.2680871875,42.0395864082031],[124.247789335938,42.0759670234375],[124.230728789063,42.0561611152344],[124.182345,42.0600478339844],[124.15486453125,42.0578408027344],[124.09982546875,42.0698451972657],[124.049371367188,42.0657912421876],[124.0252746875,42.01179221875],[123.947345,42.003843],[123.943531523438,42.0100307441407],[123.877701445313,42.0321828437501],[123.823902617188,42.0144887519532],[123.813531523438,41.9976552558594],[123.797345,41.9938430000001],[123.777345,41.9838430000001],[123.761676054688,42.0084706855469],[123.76318484375,42.0206044746094],[123.798350859375,42.0162294746094],[123.811793242188,42.0518837714844],[123.754610625,42.044770734375],[123.742896757813,42.0593959785157],[123.69375125,42.0892482734376],[123.641793242188,42.0982900214844],[123.543761015625,42.1436220527344],[123.532896757813,42.1693959785157],[123.516173125,42.1978493476563],[123.482896757813,42.1782900214844],[123.467345,42.1738430000001],[123.447550078125,42.2037990546876],[123.46326296875,42.2279274726563],[123.473204375,42.2666811347656],[123.50326296875,42.2779274726563],[123.51142703125,42.3097585273437],[123.523726835938,42.3286452460938],[123.517345,42.343843],[123.522276640625,42.3615468574219],[123.596607695313,42.3472560859376],[123.620767851563,42.3508266425781],[123.65423953125,42.3710182929688],[123.651514921875,42.3894472480469],[123.69298953125,42.3981996894531],[123.70170046875,42.4059206367187],[123.659303007813,42.4232729316407],[123.66576296875,42.4669875312501],[123.647345,42.513843],[123.68326296875,42.5179274726563],[123.707261992188,42.5335561347656],[123.747345,42.543843],[123.747345,42.5238430000001],[123.757345,42.5238430000001]],[[123.793682890625,42.2187673164063],[123.750054960938,42.1922658515625],[123.75326296875,42.1664455390625],[123.797345,42.153843],[123.790787382813,42.1709023261719],[123.823214140625,42.1668691230469],[123.82166140625,42.179341046875],[123.842896757813,42.1882900214844],[123.87595828125,42.2077223945313],[123.9614465625,42.1970888496094],[123.971793242188,42.2056484199219],[123.941793242188,42.2182900214844],[123.932896757813,42.2293959785156],[123.8992590625,42.2390151191406],[123.904210234375,42.278843],[123.880714140625,42.2887429023438],[123.928531523438,42.3177858710938],[123.867203398438,42.3353200507813],[123.799195585938,42.3091786933594],[123.804156523438,42.2692958808594],[123.784371367188,42.2534560371095],[123.772896757813,42.2354116035156],[123.793682890625,42.2187673164063]]]]}},{"type":"Feature","properties":{"name":"西丰县","id":"211223"},"geometry":{"type":"MultiPolygon","coordinates":[[[[124.887345,43.1338430000001],[124.87271609375,43.0684706855469],[124.836949492188,43.0227992988282],[124.85271609375,43.0092153144531],[124.8663684375,42.9786183906251],[124.849146757813,42.8836330390625],[124.852745390625,42.838843],[124.851217070313,42.8198232246094],[124.8668371875,42.7918300605469],[124.886124296875,42.7792153144531],[124.913316679688,42.8107741523437],[124.955689726563,42.8073683906251],[124.97986453125,42.7793105292969],[124.99197390625,42.7364455390625],[124.971163359375,42.7185195136719],[124.973150664063,42.693843],[124.9719153125,42.6785073066406],[125.00271609375,42.6592153144531],[125.01197390625,42.628470685547],[125.034742460938,42.6092153144532],[125.047345,42.623843],[125.090279570313,42.6193190742188],[125.079229765625,42.583843],[125.08404421875,42.5683852363282],[125.066329375,42.5431545234375],[125.075460234375,42.513843],[125.07048953125,42.4978835273438],[125.098389921875,42.48837425],[125.107345,42.473843],[125.091793242188,42.4693959785157],[125.029957304688,42.4330471015625],[125.03302859375,42.4083278632813],[125.001793242188,42.3993959785157],[124.992896757813,42.3782900214844],[124.96365359375,42.3659658027344],[124.936422148438,42.3999721503907],[124.902799101563,42.3957900214844],[124.842896757813,42.4093959785157],[124.817345,42.413843],[124.813170195313,42.4196681953126],[124.790025664063,42.4285951972657],[124.811295195313,42.4438430000001],[124.791519804688,42.4580178046875],[124.783170195313,42.4696681953125],[124.771519804688,42.4780178046876],[124.758995390625,42.495493390625],[124.730904570313,42.5156264472657],[124.698350859375,42.4949587226563],[124.628023710938,42.526450421875],[124.568717070313,42.5020790839844],[124.523170195313,42.5396681953126],[124.495303984375,42.5504152656251],[124.468551054688,42.5451296210938],[124.447345,42.553843],[124.443077421875,42.5616323066407],[124.40806765625,42.5773830390625],[124.375440703125,42.5639369941406],[124.353804960938,42.5803029609375],[124.337345,42.583843],[124.33298953125,42.6094863105469],[124.308507109375,42.6283827949219],[124.27298953125,42.6796059394532],[124.32298953125,42.7181996894532],[124.331773710938,42.7396657539063],[124.367345,42.73440940625],[124.416207304688,42.7416298652344],[124.434605742188,42.7865822578126],[124.466812773438,42.7997634101563],[124.457345,42.8238430000001],[124.463453398438,42.8282228828125],[124.460089140625,42.845259015625],[124.493170195313,42.8580178046876],[124.514283476563,42.8714235664063],[124.532965117188,42.8677321601563],[124.541519804688,42.8796681953126],[124.582862578125,42.903637921875],[124.601519804688,42.9296681953125],[124.62166140625,42.9441030097657],[124.631519804688,42.9696681953125],[124.6618371875,42.9813600898438],[124.676529570313,43.0546584296876],[124.743170195313,43.0680178046875],[124.755694609375,43.0854933906251],[124.773170195313,43.0980178046875],[124.789244414063,43.1204433417969],[124.807345,43.1168666816406],[124.832345,43.1218068671875],[124.852345,43.1178554511719],[124.868121367188,43.12097190625],[124.877345,43.1338430000001],[124.887345,43.1338430000001]]]]}},{"type":"Feature","properties":{"name":"银州区","id":"211202"},"geometry":{"type":"MultiPolygon","coordinates":[[[[123.941793242188,42.2182900214844],[123.971793242188,42.2056484199219],[123.9614465625,42.1970888496094],[123.87595828125,42.2077223945313],[123.842896757813,42.1882900214844],[123.82166140625,42.179341046875],[123.823214140625,42.1668691230469],[123.790787382813,42.1709023261719],[123.797345,42.153843],[123.75326296875,42.1664455390625],[123.750054960938,42.1922658515625],[123.793682890625,42.2187673164063],[123.772896757813,42.2354116035156],[123.784371367188,42.2534560371095],[123.804156523438,42.2692958808594],[123.799195585938,42.3091786933594],[123.867203398438,42.3353200507813],[123.928531523438,42.3177858710938],[123.880714140625,42.2887429023438],[123.904210234375,42.278843],[123.8992590625,42.2390151191406],[123.932896757813,42.2293959785156],[123.941793242188,42.2182900214844]]]]}}]}