spritejs/spritejs

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

Summary

Maintainability
Test Coverage
{"type": "FeatureCollection", "features": [{"type":"Feature","properties":{"name":"彭山县","id":"511422"},"geometry":{"type":"MultiPolygon","coordinates":[[[[103.707345,30.273843],[103.69795046875,30.2401027656251],[103.687345,30.2538430000001],[103.677345,30.273843],[103.707345,30.273843]]],[[[103.943065214844,30.3348635078125],[103.971656523438,30.312798078125],[103.987345,30.273843],[103.969901152344,30.2603786445313],[103.973140898438,30.238452375],[103.960233183594,30.2170510078125],[103.983519316406,30.199077375],[103.971534453125,30.1792116523438],[103.977345,30.143843],[103.951961699219,30.1380763984376],[103.942799101563,30.1495217109375],[103.932345,30.1482204414063],[103.902843046875,30.1518898750001],[103.889451933594,30.12011253125],[103.872899199219,30.1593971992188],[103.841790800781,30.1682888007813],[103.812899199219,30.1793971992187],[103.776063261719,30.189926984375],[103.762127714844,30.1881935859375],[103.715824003906,30.2014162421875],[103.723941679688,30.2666799140625],[103.717345,30.2838430000001],[103.739888945313,30.28839378125],[103.729417753906,30.3098366523438],[103.763985625,30.327202375],[103.767345,30.3338430000001],[103.770975371094,30.3402126289063],[103.794564238281,30.3536598945313],[103.827345,30.3413039375],[103.869691191406,30.3572658515625],[103.884998808594,30.3304201484375],[103.912205839844,30.3406740546876],[103.917345,30.3638430000001],[103.93298953125,30.3594875312501],[103.943065214844,30.3348635078125]]]]}},{"type":"Feature","properties":{"name":"丹棱县","id":"511424"},"geometry":{"type":"MultiPolygon","coordinates":[[[[103.507345,30.1338430000001],[103.503260527344,30.1079274726563],[103.487576933594,30.083843],[103.503260527344,30.0597585273438],[103.515797148438,30.0262551093751],[103.532345,30.0299636054688],[103.542345,30.0277223945313],[103.560560332031,30.0318044257813],[103.563565703125,30.0183962226562],[103.534058867188,29.9730837226562],[103.551429472656,29.9479274726563],[103.577435332031,29.9381960273437],[103.587345,29.923843],[103.583985625,29.907202375],[103.569420195313,29.8998342109375],[103.580250273438,29.8776540351563],[103.527345,29.8738430000001],[103.527345,29.883843],[103.517345,29.883843],[103.5120325,29.88858909375],[103.5126575,29.8990798164063],[103.477076445313,29.9500197578125],[103.452345,29.9485451484375],[103.427806425781,29.9500075507813],[103.39224734375,29.9693288398437],[103.378128691406,29.9535280585938],[103.296168242188,29.9980666328125],[103.282625761719,29.9685622382813],[103.270985136719,29.9591237617188],[103.252625761719,29.9991237617188],[103.237345,30.003843],[103.243482695313,30.025884015625],[103.286712675781,30.0818923164062],[103.330809355469,30.075376203125],[103.351204863281,30.1017995429688],[103.36189578125,30.0879470039063],[103.387345,30.0938430000001],[103.422264433594,30.116919171875],[103.463973417969,30.0897585273438],[103.463260527344,30.1197585273438],[103.433260527344,30.1309841132812],[103.473260527344,30.1297585273438],[103.482003203125,30.1170973945313],[103.507345,30.1338430000001]]]]}},{"type":"Feature","properties":{"name":"东坡区","id":"511402"},"geometry":{"type":"MultiPolygon","coordinates":[[[[103.723941679688,30.2666799140625],[103.715824003906,30.2014162421875],[103.762127714844,30.1881935859375],[103.776063261719,30.189926984375],[103.812899199219,30.1793971992187],[103.841790800781,30.1682888007813],[103.872899199219,30.1593971992188],[103.889451933594,30.12011253125],[103.902843046875,30.1518898750001],[103.932345,30.1482204414063],[103.942799101563,30.1495217109375],[103.951961699219,30.1380763984376],[103.977345,30.143843],[103.971871367188,30.1187477851563],[103.987271757813,30.07681175],[103.96146609375,29.9911061835938],[103.9209778125,29.9789162421875],[103.9510559375,29.965493390625],[103.957345,29.9038430000001],[103.952691679688,29.898032453125],[103.912498808594,29.9095095039063],[103.839683867188,29.8977712226563],[103.790767851563,29.9265261054688],[103.792967558594,29.9088430000001],[103.791666289063,29.8983888984375],[103.811790800781,29.8822731757812],[103.798311796875,29.876235578125],[103.767332792969,29.8800881171875],[103.717345,29.8738430000001],[103.693682890625,29.8901808906251],[103.673260527344,29.9197585273438],[103.656500273438,29.9313307929688],[103.606453886719,29.9158180976563],[103.587345,29.923843],[103.577435332031,29.9381960273437],[103.551429472656,29.9479274726563],[103.534058867188,29.9730837226562],[103.563565703125,30.0183962226562],[103.560560332031,30.0318044257813],[103.542345,30.0277223945313],[103.532345,30.0299636054688],[103.515797148438,30.0262551093751],[103.503260527344,30.0597585273438],[103.487576933594,30.083843],[103.503260527344,30.1079274726563],[103.507345,30.1338430000001],[103.510704375,30.140483625],[103.545272246094,30.1578493476563],[103.533985625,30.1809596992188],[103.552218046875,30.1913454414063],[103.563336210938,30.1859181953125],[103.571353789063,30.2017678046875],[103.582345,30.19640159375],[103.597345,30.2037258125],[103.612735625,30.1962111640626],[103.631954375,30.2114748359375],[103.643580351563,30.2057985664063],[103.652386503906,30.236313703125],[103.687345,30.2538430000001],[103.69795046875,30.2401027656251],[103.707345,30.273843],[103.707345,30.2838430000001],[103.717345,30.2838430000001],[103.723941679688,30.2666799140625]]]]}},{"type":"Feature","properties":{"name":"洪雅县","id":"511423"},"geometry":{"type":"MultiPolygon","coordinates":[[[[103.367345,29.6738430000001],[103.372345,29.6866506171875],[103.377345,29.6738430000001],[103.367345,29.6738430000001]]],[[[103.197345,29.963843],[103.184537382813,29.968843],[103.197345,29.973843],[103.197345,29.963843]]],[[[103.367345,29.6738430000001],[103.36271609375,29.66847190625],[103.346600371094,29.6545876289063],[103.315709257813,29.6187306953125],[103.264100371094,29.5957033515626],[103.261138945313,29.558843],[103.263148222656,29.533843],[103.2619153125,29.5184963203126],[103.288402128906,29.5066774726563],[103.268782988281,29.4839064765626],[103.193072539063,29.4899904609375],[103.187345,29.433843],[103.127884550781,29.4396901679688],[103.081219511719,29.4359401679688],[103.024964628906,29.4513356757813],[102.99271609375,29.4284719062501],[102.967345,29.4138430000001],[102.937615996094,29.4065407539063],[102.913529082031,29.4119411445313],[102.893260527344,29.4697585273438],[102.86490359375,29.4893361640625],[102.847345,29.4938430000001],[102.851790800781,29.5093971992188],[102.865355253906,29.5324709296876],[102.902899199219,29.5482888007813],[102.923980742188,29.5606838203125],[102.921722441406,29.578843],[102.922967558594,29.588843],[102.92172,29.5988771796875],[102.93297,29.6788088203125],[102.931722441406,29.688843],[102.933001738281,29.6991262031251],[102.927345,29.7138430000001],[102.954366484375,29.7196169257813],[102.990594511719,29.71745628125],[103.013160429688,29.7297194648438],[103.032064238281,29.7085622382813],[103.042625761719,29.6991237617188],[103.052113066406,29.6784523750001],[103.102467070313,29.6892116523438],[103.122064238281,29.6785622382813],[103.143221464844,29.6691237617188],[103.141549101563,29.6972023750001],[103.154908476563,29.7470851875001],[103.14115359375,29.7593752265625],[103.162796660156,29.7787136054687],[103.131920195313,29.8529518867188],[103.083040800781,29.8966237617188],[103.152625761719,29.9285622382813],[103.171585722656,29.9497829414063],[103.192615996094,29.9485280585938],[103.197345,29.963843],[103.207345,29.963843],[103.207345,29.973843],[103.227345,29.973843],[103.227345,29.9838430000001],[103.227345,29.993843],[103.227345,30.003843],[103.237345,30.003843],[103.252625761719,29.9991237617188],[103.270985136719,29.9591237617188],[103.282625761719,29.9685622382813],[103.296168242188,29.9980666328125],[103.378128691406,29.9535280585938],[103.39224734375,29.9693288398437],[103.427806425781,29.9500075507813],[103.452345,29.9485451484375],[103.477076445313,29.9500197578125],[103.5126575,29.8990798164063],[103.5120325,29.88858909375],[103.517345,29.883843],[103.517345,29.8738430000001],[103.527345,29.8738430000001],[103.522806425781,29.8483815742188],[103.511883574219,29.8393044257813],[103.495582304688,29.81968284375],[103.482345,29.8183327460938],[103.428267851563,29.8238454414063],[103.434678984375,29.7609352851563],[103.401954375,29.8003322578125],[103.372345,29.7973146796875],[103.334410429688,29.8011794257813],[103.31158328125,29.7613210273438],[103.312886992188,29.748520734375],[103.292806425781,29.7134596992188],[103.30818484375,29.6879103828126],[103.322735625,29.6893923164063],[103.333192167969,29.6768044257813],[103.352489042969,29.7000368476563],[103.361883574219,29.6783815742187],[103.367345,29.6738430000001]],[[103.517345,29.853843],[103.513922148438,29.8660353828125],[103.505152617188,29.8572658515626],[103.517345,29.853843]]]]}},{"type":"Feature","properties":{"name":"青神县","id":"511425"},"geometry":{"type":"MultiPolygon","coordinates":[[[[103.707345,29.7238430000001],[103.703922148438,29.7116506171875],[103.695152617188,29.7204201484375],[103.707345,29.7238430000001]]],[[[103.987345,29.883843],[103.990767851563,29.8960353828125],[103.999537382813,29.8872658515626],[103.987345,29.883843]]],[[[103.987345,29.883843],[103.987345,29.8738430000001],[103.967345,29.8738430000001],[103.967345,29.853843],[103.961429472656,29.8497585273437],[103.953118925781,29.8275490546876],[103.932074003906,29.8322658515625],[103.923260527344,29.7979274726562],[103.905513945313,29.7856740546875],[103.897345,29.7538430000001],[103.893170195313,29.7480178046876],[103.837635527344,29.7368849921875],[103.772203398438,29.7075856757813],[103.735101347656,29.7311403632812],[103.717345,29.7238430000001],[103.707345,29.7238430000001],[103.703260527344,29.7397585273438],[103.685235625,29.7674416328125],[103.720067167969,29.780473859375],[103.733016386719,29.7775710273437],[103.74572390625,29.7959767890626],[103.731429472656,29.8179274726563],[103.717345,29.8738430000001],[103.767332792969,29.8800881171875],[103.798311796875,29.876235578125],[103.811790800781,29.8822731757812],[103.791666289063,29.8983888984375],[103.792967558594,29.9088430000001],[103.790767851563,29.9265261054688],[103.839683867188,29.8977712226563],[103.912498808594,29.9095095039063],[103.952691679688,29.898032453125],[103.957345,29.9038430000001],[103.987345,29.883843]]]]}},{"type":"Feature","properties":{"name":"仁寿县","id":"511421"},"geometry":{"type":"MultiPolygon","coordinates":[[[[104.457345,30.003843],[104.445152617188,30.0004201484376],[104.453922148438,29.9916506171875],[104.475125761719,29.991098859375],[104.456436796875,29.9616603828125],[104.473455839844,29.9494631171875],[104.47127078125,29.9384108710938],[104.501390410156,29.8909670234375],[104.473170195313,29.8465163398438],[104.481519804688,29.8180178046876],[104.493170195313,29.8096681953126],[104.497345,29.7938430000001],[104.463038359375,29.7842897773438],[104.45298953125,29.74819846875],[104.426143828125,29.72948753125],[104.392447539063,29.7498122382813],[104.340391875,29.7270632148438],[104.343436308594,29.7064650703125],[104.317738066406,29.7102638984376],[104.29298953125,29.67819846875],[104.28170046875,29.6694875312501],[104.267345,29.633843],[104.247345,29.633843],[104.247345,29.6438430000001],[104.225257597656,29.669477765625],[104.202345,29.6676369453125],[104.18388796875,29.7090016914063],[104.127271757813,29.7193288398438],[104.06271609375,29.7726247382813],[104.082769804688,29.8085646796875],[104.081793242188,29.8207033515625],[104.041405058594,29.8387258125],[104.06025515625,29.8549660468751],[104.018563261719,29.87847190625],[103.98271609375,29.8584719062501],[103.967345,29.853843],[103.967345,29.8738430000001],[103.987345,29.8738430000001],[103.987345,29.883843],[103.999537382813,29.8872658515626],[103.990767851563,29.8960353828125],[103.987345,29.883843],[103.957345,29.9038430000001],[103.9510559375,29.965493390625],[103.9209778125,29.9789162421875],[103.96146609375,29.9911061835938],[103.987271757813,30.07681175],[103.971871367188,30.1187477851563],[103.977345,30.143843],[103.971534453125,30.1792116523438],[103.983519316406,30.199077375],[103.960233183594,30.2170510078125],[103.973140898438,30.238452375],[103.969901152344,30.2603786445313],[103.987345,30.273843],[104.002193632813,30.2686379218751],[104.017345,30.2692385078126],[104.032345,30.2686452460938],[104.042503691406,30.269048078125],[104.133433867188,30.2293654609376],[104.158365507813,30.2821950507813],[104.182154570313,30.3190334296876],[104.187345,30.3238430000001],[104.222806425781,30.3193044257813],[104.23408328125,30.280884015625],[104.231239042969,30.2529958320313],[104.262806425781,30.2393044257813],[104.275325957031,30.224233625],[104.351085234375,30.1913796210937],[104.366419707031,30.1729177070312],[104.382806425781,30.1593044257813],[104.391883574219,30.1283815742188],[104.412806425781,30.1193044257812],[104.425631132813,30.0897389960938],[104.437345,30.1038430000001],[104.476820097656,30.0879445625],[104.461449003906,30.048843],[104.467345,30.033843],[104.457345,30.033843],[104.457345,30.003843]]]]}}]}