spritejs/spritejs

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

Summary

Maintainability
Test Coverage
{"type": "FeatureCollection", "features": [{"type":"Feature","properties":{"name":"株洲县","id":"430221"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.35447390625,27.7994411445312],[113.340943632813,27.7508522773437],[113.321954375,27.7480471015626],[113.288765898438,27.7680666328126],[113.294896269531,27.7265822578125],[113.268138457031,27.6919167304688],[113.242345,27.6881032539063],[113.225994902344,27.6905202460937],[113.203748808594,27.6733498359376],[113.201605253906,27.6588430000001],[113.204022246094,27.6424929023438],[113.19298953125,27.6281984687501],[113.165750761719,27.607173078125],[113.189049101563,27.5502468085938],[113.203519316406,27.539077375],[113.175543242188,27.4926979804688],[113.22298953125,27.47948753125],[113.26170046875,27.4481984687501],[113.299918242188,27.4375563789063],[113.307345,27.3938430000001],[113.282984648438,27.3870583320313],[113.25298953125,27.34819846875],[113.200386992188,27.3370998359375],[113.203822050781,27.3138430000001],[113.200699492188,27.2927028632813],[113.233187285156,27.2794045234375],[113.227345,27.2438430000001],[113.162069121094,27.2384181953126],[113.137686796875,27.2520217109375],[113.116112089844,27.2036672187501],[113.098089628906,27.2245876289063],[113.08197390625,27.23847190625],[113.072154570313,27.2710842109375],[113.041060820313,27.2978713203126],[113.042769804688,27.3191213203125],[113.03197390625,27.3384719062501],[113.01271609375,27.38921409375],[112.991060820313,27.4078713203126],[112.993524199219,27.4385182929687],[112.987345,27.443843],[112.971556425781,27.4785158515625],[112.974327421875,27.4972658515625],[112.961395292969,27.51870628125],[112.97312625,27.54855003125],[112.970311308594,27.5676100898438],[112.994378691406,27.6000759101563],[112.991253691406,27.6212209296875],[113.012345,27.6181032539063],[113.037603789063,27.6218361640625],[113.021549101563,27.648452375],[113.023436308594,27.6612209296875],[113.001905546875,27.6580397773438],[112.98298953125,27.6727614570312],[113.00298953125,27.68819846875],[113.018389921875,27.7081545234375],[113.057345,27.723843],[113.061429472656,27.7179274726563],[113.080716582031,27.7097585273438],[113.111898222656,27.7300637031251],[113.126441679688,27.7268044257813],[113.117345,27.763843],[113.138743925781,27.7736330390625],[113.169866972656,27.7512306953125],[113.183189726563,27.7737038398438],[113.220189238281,27.7609987617187],[113.208909941406,27.793843],[113.217205839844,27.8179982734376],[113.201065703125,27.827563703125],[113.197345,27.833843],[113.24197390625,27.85921409375],[113.267345,27.863843],[113.283260527344,27.8679274726563],[113.291998320313,27.8805812812501],[113.317261992188,27.8641286445313],[113.357345,27.8538430000001],[113.351600371094,27.8188771796876],[113.35447390625,27.7994411445312]]]]}},{"type":"Feature","properties":{"name":"茶陵县","id":"430224"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.767345,27.1238430000001],[113.771881132813,27.0957863593751],[113.800797148438,27.1015016914063],[113.811519804688,27.0480178046875],[113.853170195313,27.0196681953126],[113.861519804688,26.9980178046876],[113.873170195313,26.9896681953126],[113.888316679688,26.9685353828125],[113.917345,26.963843],[113.91298953125,26.9481984687501],[113.898643828125,26.924419171875],[113.88298953125,26.8681984687501],[113.864852324219,26.8541994453125],[113.831370878906,26.8090407539063],[113.837345,26.793843],[113.848089628906,26.7645876289063],[113.857345,26.653843],[113.85048953125,26.6364040351563],[113.854195585938,26.6113210273438],[113.805889921875,26.5978688789063],[113.764991484375,26.5448830390625],[113.69298953125,26.5281984687501],[113.633665800781,26.5181227851563],[113.597345,26.503843],[113.588450957031,26.5149489570313],[113.562313261719,26.5358791328125],[113.552899199219,26.5793971992188],[113.541790800781,26.5882888007813],[113.532799101563,26.5995217109375],[113.522345,26.5982204414063],[113.512345,26.5994655585938],[113.498472929688,26.597739484375],[113.479842558594,26.5744753242188],[113.414154082031,26.5593971992188],[113.402423125,26.6531911445313],[113.378175078125,26.6944435859375],[113.409344511719,26.737114484375],[113.421790800781,26.7762575507813],[113.387345,26.803843],[113.378631621094,26.8151296210937],[113.360203886719,26.8293556953126],[113.363084746094,26.848843],[113.360128203125,26.868843],[113.364561796875,26.8988430000001],[113.360667753906,26.9251930976563],[113.37170046875,26.93948753125],[113.41298953125,26.9481984687501],[113.425286894531,26.9641335273438],[113.465946074219,26.9396071601563],[113.50298953125,26.96819846875],[113.511903105469,26.9899806953126],[113.55170046875,27.01948753125],[113.60298953125,27.03819846875],[113.64170046875,27.06948753125],[113.673631621094,27.0825563789063],[113.703338652344,27.1004738593751],[113.75170046875,27.1194875312501],[113.767345,27.1238430000001]]]]}},{"type":"Feature","properties":{"name":"荷塘区","id":"430202"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.257345,28.0038430000001],[113.271380644531,27.9941506171875],[113.258531523438,27.9368312812501],[113.284586210938,27.918843],[113.271073027344,27.9095143867188],[113.274647246094,27.8935720039063],[113.267345,27.863843],[113.24197390625,27.85921409375],[113.197345,27.833843],[113.147345,27.833843],[113.143985625,27.850483625],[113.137345,27.863843],[113.155301542969,27.8777028632813],[113.136434355469,27.8922658515625],[113.18298953125,27.92819846875],[113.192271757813,27.9615334296876],[113.236324492188,27.9795632148438],[113.247345,27.993843],[113.257345,27.993843],[113.257345,28.0038430000001]]],[[[113.257345,28.0038430000001],[113.247345,28.0038430000001],[113.247345,28.013843],[113.257345,28.013843],[113.257345,28.0038430000001]]]]}},{"type":"Feature","properties":{"name":"芦淞区","id":"430203"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.147345,27.833843],[113.197345,27.833843],[113.201065703125,27.827563703125],[113.217205839844,27.8179982734376],[113.208909941406,27.793843],[113.220189238281,27.7609987617187],[113.183189726563,27.7737038398438],[113.169866972656,27.7512306953125],[113.138743925781,27.7736330390625],[113.117345,27.763843],[113.111429472656,27.7679274726563],[113.103260527344,27.7841188789063],[113.141329375,27.8104030585938],[113.147345,27.833843]]],[[[113.147345,27.833843],[113.13406375,27.84056175],[113.127345,27.8538430000001],[113.127345,27.863843],[113.137345,27.863843],[113.143985625,27.850483625],[113.147345,27.833843]]]]}},{"type":"Feature","properties":{"name":"石峰区","id":"430204"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.242799101563,28.0195217109375],[113.247345,28.013843],[113.247345,28.0038430000001],[113.247345,27.993843],[113.236324492188,27.9795632148438],[113.192271757813,27.9615334296876],[113.18298953125,27.92819846875],[113.136434355469,27.8922658515625],[113.155301542969,27.8777028632813],[113.137345,27.863843],[113.127345,27.863843],[113.127345,27.8538430000001],[113.037345,27.8538430000001],[113.0464075,27.9071974921875],[113.07170046875,27.9494875312501],[113.087345,27.953843],[113.12158328125,27.9094875312501],[113.133140898438,27.9284499335938],[113.131549101563,27.939233625],[113.14298953125,27.95819846875],[113.152276640625,28.0022121406251],[113.167345,28.013843],[113.212342558594,28.0194655585938],[113.227345,28.0176003242188],[113.242799101563,28.0195217109375]]]]}},{"type":"Feature","properties":{"name":"天元区","id":"430211"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.117345,27.763843],[113.126441679688,27.7268044257813],[113.111898222656,27.7300637031251],[113.080716582031,27.7097585273438],[113.061429472656,27.7179274726563],[113.057345,27.723843],[113.053531523438,27.7300295234375],[113.018631621094,27.7419240546875],[113.027017851563,27.7688430000001],[113.018199492188,27.7971559882812],[113.001158476563,27.8076564765625],[112.997345,27.8138430000001],[113.00406375,27.82712425],[113.03062625,27.84056175],[113.037345,27.8538430000001],[113.127345,27.8538430000001],[113.13406375,27.84056175],[113.147345,27.833843],[113.141329375,27.8104030585938],[113.103260527344,27.7841188789063],[113.111429472656,27.7679274726563],[113.117345,27.763843]]]]}},{"type":"Feature","properties":{"name":"炎陵县","id":"430225"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.883116484375,26.6351467109376],[113.917225371094,26.6150954414062],[113.972928496094,26.6220241523438],[114.002899199219,26.6093971992188],[114.018216582031,26.5902663398438],[114.100582304688,26.5782790351563],[114.074364042969,26.5100710273438],[114.07166140625,26.488344953125],[114.09312625,26.4792995429688],[114.081634550781,26.4287013984375],[114.087345,26.413843],[114.061158476563,26.4100295234375],[114.02666140625,26.3820900703126],[114.037113066406,26.3485378242187],[114.017576933594,26.2891481757812],[114.02420046875,26.2678835273438],[113.9823840625,26.2536330390625],[113.967562285156,26.2101393867188],[113.944969511719,26.1962184882813],[113.937345,26.183843],[113.911429472656,26.1697585273438],[113.891607695313,26.14105003125],[113.857254667969,26.1281960273437],[113.843260527344,26.1079274726563],[113.820357695313,26.092114484375],[113.792791777344,26.110063703125],[113.769862089844,26.1049245429687],[113.775557890625,26.0795143867188],[113.761429472656,26.0697585273438],[113.744813261719,26.0456911445313],[113.717345,26.0638430000001],[113.711429472656,26.0679274726563],[113.689251738281,26.1000466132813],[113.69490359375,26.1252516914063],[113.721698027344,26.1437526679688],[113.739227324219,26.1905959296876],[113.714000273438,26.2293361640625],[113.681429472656,26.2479274726563],[113.653260527344,26.2697585273438],[113.621429472656,26.2779274726563],[113.607345,26.2838430000001],[113.613375273438,26.3093581367188],[113.599652128906,26.31956565625],[113.573079863281,26.4057936835938],[113.606627226563,26.4307497382813],[113.587296171875,26.4788430000001],[113.597345,26.503843],[113.633665800781,26.5181227851563],[113.69298953125,26.5281984687501],[113.764991484375,26.5448830390625],[113.805889921875,26.5978688789063],[113.854195585938,26.6113210273438],[113.85048953125,26.6364040351563],[113.857345,26.653843],[113.872742949219,26.65976096875],[113.883116484375,26.6351467109376]]]]}},{"type":"Feature","properties":{"name":"攸县","id":"430223"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.592806425781,27.3834596992188],[113.60728640625,27.359399640625],[113.652806425781,27.3493044257813],[113.669420195313,27.3293044257813],[113.692806425781,27.3383815742188],[113.7262903125,27.3575563789063],[113.827635527344,27.368921125],[113.867345,27.383843],[113.86271609375,27.34847190625],[113.846185332031,27.3034572578126],[113.862996855469,27.2889723945313],[113.85197390625,27.26921409375],[113.809705839844,27.1744924140626],[113.79197390625,27.15921409375],[113.767345,27.1238430000001],[113.75170046875,27.1194875312501],[113.703338652344,27.1004738593751],[113.673631621094,27.0825563789063],[113.64170046875,27.06948753125],[113.60298953125,27.03819846875],[113.55170046875,27.01948753125],[113.511903105469,26.9899806953126],[113.50298953125,26.96819846875],[113.465946074219,26.9396071601563],[113.425286894531,26.9641335273438],[113.41298953125,26.9481984687501],[113.37170046875,26.93948753125],[113.360667753906,26.9251930976563],[113.364561796875,26.8988430000001],[113.360128203125,26.868843],[113.363084746094,26.848843],[113.360203886719,26.8293556953126],[113.378631621094,26.8151296210937],[113.387345,26.803843],[113.321536894531,26.8103151679688],[113.293316679688,26.7775588203125],[113.271180449219,26.7793386054687],[113.273148222656,26.803843],[113.271942167969,26.8188430000001],[113.2727746875,26.8291970039063],[113.257345,26.833843],[113.239869414063,26.8463674140625],[113.217874785156,26.877055890625],[113.233170195313,26.8880178046876],[113.251519804688,26.9196681953125],[113.277740507813,26.938462140625],[113.241519804688,26.9480178046875],[113.213170195313,26.9674123359376],[113.223455839844,27.0194631171875],[113.211519804688,27.0280178046875],[113.193270292969,27.053481671875],[113.183170195313,27.0796681953125],[113.161519804688,27.1080178046875],[113.153170195313,27.1264479804688],[113.189386015625,27.140415265625],[113.207345,27.1368679023438],[113.231419707031,27.1416237617188],[113.251519804688,27.1696681953125],[113.281278105469,27.1811452460938],[113.244315214844,27.2393654609375],[113.227345,27.2438430000001],[113.233187285156,27.2794045234375],[113.200699492188,27.2927028632813],[113.203822050781,27.3138430000001],[113.200386992188,27.3370998359375],[113.25298953125,27.34819846875],[113.282984648438,27.3870583320313],[113.307345,27.3938430000001],[113.312899199219,27.3893971992188],[113.328914824219,27.3693971992188],[113.355731230469,27.379341046875],[113.388831816406,27.4206740546875],[113.510242949219,27.382485578125],[113.542808867188,27.4231545234376],[113.617345,27.413843],[113.623363066406,27.408843],[113.592806425781,27.3834596992188]]]]}},{"type":"Feature","properties":{"name":"醴陵市","id":"430281"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.562806425781,27.9593044257813],[113.575279570313,27.8893190742188],[113.596224394531,27.9145314765625],[113.656627226563,27.8799343085938],[113.684608183594,27.8770827460938],[113.727345,27.8838430000001],[113.731339140625,27.877837140625],[113.749310332031,27.8658864570313],[113.753604765625,27.8488430000001],[113.751085234375,27.838843],[113.760982695313,27.7995607734375],[113.72533328125,27.7758547187501],[113.713350859375,27.757837140625],[113.701339140625,27.749848859375],[113.697345,27.723843],[113.674769316406,27.7064186835937],[113.632991972656,27.6522927070313],[113.600128203125,27.638843],[113.603084746094,27.6188430000001],[113.600867949219,27.603843],[113.603148222656,27.5884133125001],[113.57298953125,27.5477346015625],[113.585064726563,27.5206569648438],[113.602345,27.5181032539063],[113.630872832031,27.5223195625001],[113.587257109375,27.4634914375001],[113.60170046875,27.42819846875],[113.61298953125,27.4194875312501],[113.617345,27.413843],[113.542808867188,27.4231545234376],[113.510242949219,27.382485578125],[113.388831816406,27.4206740546875],[113.355731230469,27.379341046875],[113.328914824219,27.3693971992188],[113.312899199219,27.3893971992188],[113.307345,27.3938430000001],[113.299918242188,27.4375563789063],[113.26170046875,27.4481984687501],[113.22298953125,27.47948753125],[113.175543242188,27.4926979804688],[113.203519316406,27.539077375],[113.189049101563,27.5502468085938],[113.165750761719,27.607173078125],[113.19298953125,27.6281984687501],[113.204022246094,27.6424929023438],[113.201605253906,27.6588430000001],[113.203748808594,27.6733498359376],[113.225994902344,27.6905202460937],[113.242345,27.6881032539063],[113.268138457031,27.6919167304688],[113.294896269531,27.7265822578125],[113.288765898438,27.7680666328126],[113.321954375,27.7480471015626],[113.340943632813,27.7508522773437],[113.35447390625,27.7994411445312],[113.351600371094,27.8188771796876],[113.357345,27.8538430000001],[113.402806425781,27.8583815742188],[113.413787871094,27.8957936835938],[113.455201445313,27.913755109375],[113.472806425781,27.9283815742187],[113.481883574219,27.9393044257813],[113.512806425781,27.9483815742188],[113.529420195313,27.9683815742188],[113.562806425781,27.9593044257813]]]]}}]}