spritejs/spritejs

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

Summary

Maintainability
Test Coverage
{"type": "FeatureCollection", "features": [{"type":"Feature","properties":{"name":"包河区","id":"340111"},"geometry":{"type":"MultiPolygon","coordinates":[[[[117.4007434375,31.7372341132813],[117.407345,31.643843],[117.39197390625,31.6484719062501],[117.322784453125,31.6975270820313],[117.298248320313,31.7260060859375],[117.31912234375,31.7439894843751],[117.267345,31.7738430000001],[117.26271609375,31.7892140937501],[117.237100859375,31.8006447578126],[117.267345,31.8538430000001],[117.283985625,31.857202375],[117.297345,31.863843],[117.302711210938,31.8571388984375],[117.351793242188,31.8282888007812],[117.367345,31.823843],[117.372061796875,31.8085622382813],[117.410875273438,31.7907472968751],[117.422799101563,31.7688088203126],[117.4007434375,31.7372341132813]]]]}},{"type":"Feature","properties":{"name":"长丰县","id":"340121"},"geometry":{"type":"MultiPolygon","coordinates":[[[[117.377345,32.393843],[117.354620390625,32.3898366523438],[117.371783476563,32.380844953125],[117.394298125,32.3904201484375],[117.440704375,32.3671096015625],[117.433985625,32.347202375],[117.420548125,32.3404055],[117.394918242188,32.288843],[117.407345,32.2638430000001],[117.38326296875,32.2479274726563],[117.35142703125,32.2397585273438],[117.33326296875,32.2035671210937],[117.360865507813,32.1845095039063],[117.37142703125,32.1635671210937],[117.35107546875,32.1495143867187],[117.355225859375,32.1309987617188],[117.327345,32.1238430000001],[117.323922148438,32.1360353828126],[117.315152617188,32.1272658515625],[117.327345,32.1238430000001],[117.32009890625,32.10620628125],[117.344322539063,32.088843],[117.323170195313,32.0736843085938],[117.331519804688,32.0580178046875],[117.388599882813,32.0465749335938],[117.363170195313,32.0065163398438],[117.371519804688,31.9880178046876],[117.377345,31.983843],[117.374801054688,31.9663869453125],[117.356319609375,31.9600807929688],[117.368370390625,31.9476052070313],[117.349888945313,31.9412990546876],[117.343560820313,31.9227565742188],[117.324801054688,31.9412990546876],[117.287345,31.943843],[117.24923953125,31.9581618476563],[117.232735625,31.9382936835938],[117.205045195313,31.9411159492187],[117.182066679688,31.9279567695313],[117.172330351563,31.9504103828125],[117.067345,31.9638430000001],[117.061529570313,31.9683303046875],[117.064561796875,31.988852765625],[117.027345,32.0038430000001],[117.042901640625,32.0388845039063],[117.03197390625,32.0584719062501],[117.01345828125,32.0999587226562],[116.989737578125,32.1203981757813],[116.97271609375,32.1600173164063],[116.992496367188,32.1584279609376],[117.02197390625,32.164009015625],[117.00172,32.2191579414063],[117.045191679688,32.2290334296876],[117.07197390625,32.2626247382813],[117.039664335938,32.2904616523437],[117.042745390625,32.328843],[117.038922148438,32.3764455390626],[116.995299101563,32.3959108710938],[116.902022734375,32.3884157539063],[116.887628203125,32.405122296875],[116.8927746875,32.4691677070313],[116.881690703125,32.4787136054688],[116.892926054688,32.4988454414063],[116.867345,32.5438430000001],[116.90298953125,32.55819846875],[116.932628203125,32.5760768867188],[116.937345,32.603843],[116.94259890625,32.60972190625],[116.962369414063,32.6085427070313],[117.037345,32.6138430000001],[117.109136992188,32.5981838203126],[117.122345,32.5992458320313],[117.132515898438,32.5984279609375],[117.18197390625,32.60921409375],[117.187345,32.6138430000001],[117.191793242188,32.5882888007812],[117.203941679688,32.5566799140625],[117.201099882813,32.5338430000001],[117.203590117188,32.513843],[117.19978640625,32.4832814765626],[117.220079375,32.4579396796876],[117.247735625,32.4613796210938],[117.282061796875,32.4481862617188],[117.302345,32.450708234375],[117.335889921875,32.4465358710938],[117.398736601563,32.4834792304688],[117.380748320313,32.4366799140626],[117.382984648438,32.4186818671876],[117.377345,32.393843]]]]}},{"type":"Feature","properties":{"name":"巢湖市","id":"340124"},"geometry":{"type":"MultiPolygon","coordinates":[[[[117.94548953125,31.5387721992188],[117.957345,31.493843],[117.921793242188,31.4982888007813],[117.9024621875,31.509653546875],[117.872896757813,31.4982888007813],[117.7751575,31.4860646796875],[117.699146757813,31.4568483710938],[117.682896757813,31.4182888007813],[117.654361601563,31.3792214179688],[117.628453398438,31.3177370429688],[117.606671171875,31.2806862617188],[117.567345,31.273843],[117.562896757813,31.2793971992188],[117.5075403125,31.2952223945313],[117.514312773438,31.3496608710938],[117.542896757813,31.3982888007813],[117.551793242188,31.4502419257813],[117.488331328125,31.5010622382813],[117.452896757813,31.5593971992188],[117.427345,31.563843],[117.431793242188,31.5693971992188],[117.465108671875,31.5960768867188],[117.491793242188,31.6293971992187],[117.5029309375,31.63831565625],[117.542896757813,31.6882888007813],[117.581793242188,31.7593971992188],[117.619332304688,31.7752150703125],[117.632896757813,31.7982888007813],[117.647496367188,31.8329299140625],[117.681793242188,31.8893971992188],[117.712896757813,31.9282888007813],[117.736514921875,31.9671730781251],[117.773453398438,31.9827370429688],[117.801793242188,31.9993971992188],[117.817345,32.0038430000001],[117.84142703125,31.9679274726563],[117.85326296875,31.9597585273438],[117.86142703125,31.9379274726563],[117.93701296875,31.9188088203126],[117.947345,31.903843],[117.934820585938,31.8563674140626],[117.90447390625,31.8346169257813],[117.900367460938,31.8138430000001],[117.904322539063,31.793843],[117.90127078125,31.7784108710938],[117.91341921875,31.7592751289063],[117.911358671875,31.748843],[117.914322539063,31.7338430000001],[117.908780546875,31.705796125],[117.921519804688,31.6880178046876],[117.933453398438,31.6794631171875],[117.928394804688,31.653843],[117.933345976563,31.6287770820313],[117.923170195313,31.5780178046876],[117.903170195313,31.5636843085938],[117.921519804688,31.5480178046875],[117.94548953125,31.5387721992188]]]]}},{"type":"Feature","properties":{"name":"肥东县","id":"340122"},"geometry":{"type":"MultiPolygon","coordinates":[[[[117.327345,32.1238430000001],[117.315152617188,32.1272658515625],[117.323922148438,32.1360353828126],[117.327345,32.1238430000001]]],[[[117.327345,32.1238430000001],[117.355225859375,32.1309987617188],[117.35107546875,32.1495143867187],[117.37142703125,32.1635671210937],[117.360865507813,32.1845095039063],[117.33326296875,32.2035671210937],[117.35142703125,32.2397585273438],[117.38326296875,32.2479274726563],[117.407345,32.2638430000001],[117.423170195313,32.2594362617188],[117.420494414063,32.2413210273438],[117.46298953125,32.22948753125],[117.477838164063,32.2102468085938],[117.518780546875,32.2041970039063],[117.55298953125,32.21819846875],[117.583511992188,32.2366115546875],[117.647515898438,32.2617726875001],[117.677345,32.2573659492188],[117.69490359375,32.2599611640625],[117.711832304688,32.2380275703125],[117.762896757813,32.2455739570313],[117.793922148438,32.2268605781251],[117.81990359375,32.23069846875],[117.837345,32.223843],[117.85062625,32.21712425],[117.857345,32.203843],[117.857345,32.1938430000001],[117.867345,32.1938430000001],[117.863985625,32.1372023750001],[117.846636992188,32.1153639960938],[117.876627226563,32.0551857734375],[117.852735625,32.0362111640625],[117.837203398438,32.043794171875],[117.82990359375,32.028843],[117.835269804688,32.0178517890625],[117.820704375,32.010483625],[117.817345,32.0038430000001],[117.801793242188,31.9993971992188],[117.773453398438,31.9827370429688],[117.736514921875,31.9671730781251],[117.712896757813,31.9282888007813],[117.681793242188,31.8893971992188],[117.647496367188,31.8329299140625],[117.632896757813,31.7982888007813],[117.619332304688,31.7752150703125],[117.581793242188,31.7593971992188],[117.542896757813,31.6882888007813],[117.5029309375,31.63831565625],[117.491793242188,31.6293971992187],[117.465108671875,31.5960768867188],[117.431793242188,31.5693971992188],[117.427345,31.563843],[117.417345,31.563843],[117.410704375,31.577202375],[117.407345,31.643843],[117.4007434375,31.7372341132813],[117.422799101563,31.7688088203126],[117.410875273438,31.7907472968751],[117.372061796875,31.8085622382813],[117.367345,31.823843],[117.39302859375,31.8383620429688],[117.390533476563,31.8583888984376],[117.403023710938,31.8683888984375],[117.401695585938,31.8790602851563],[117.421514921875,31.9484719062501],[117.377345,31.983843],[117.371519804688,31.9880178046876],[117.363170195313,32.0065163398438],[117.388599882813,32.0465749335938],[117.331519804688,32.0580178046875],[117.323170195313,32.0736843085938],[117.344322539063,32.088843],[117.32009890625,32.10620628125],[117.327345,32.1238430000001]]]]}},{"type":"Feature","properties":{"name":"肥西县","id":"340123"},"geometry":{"type":"MultiPolygon","coordinates":[[[[117.13326296875,31.8397585273438],[117.151783476563,31.8073073554688],[117.182940703125,31.8203932929688],[117.20142703125,31.783442609375],[117.163819609375,31.7918752265625],[117.174117460938,31.7459474921875],[117.21380984375,31.7197585273438],[117.26201296875,31.7400026679688],[117.267345,31.7738430000001],[117.31912234375,31.7439894843751],[117.298248320313,31.7260060859375],[117.322784453125,31.6975270820313],[117.39197390625,31.6484719062501],[117.407345,31.643843],[117.410704375,31.577202375],[117.417345,31.563843],[117.412896757813,31.5582888007813],[117.361666289063,31.5493752265625],[117.284014921875,31.527173078125],[117.247345,31.5038430000001],[117.241793242188,31.5082888007813],[117.222896757813,31.5393971992188],[117.18380984375,31.5558669257812],[117.107345,31.5463552070313],[117.067345,31.5513307929688],[117.026954375,31.5463063789063],[116.99205203125,31.55972190625],[116.982896757813,31.5482888007813],[116.967906523438,31.5362844062501],[116.932345,31.540708234375],[116.8418371875,31.5294509101563],[116.837345,31.523843],[116.822061796875,31.5285622382813],[116.764288359375,31.5642775703126],[116.751534453125,31.646137921875],[116.762711210938,31.709048078125],[116.75146609375,31.71909690625],[116.752642851563,31.7388430000001],[116.752047148438,31.748843],[116.753258085938,31.7691945625],[116.7319934375,31.7679274726563],[116.7326575,31.7791091132812],[116.712061796875,31.7885622382813],[116.686939726563,31.8166774726563],[116.73353640625,31.8583107734375],[116.712779570313,31.8768581367188],[116.762628203125,31.9085622382813],[116.767345,31.913843],[116.77326296875,31.9179274726563],[116.828883085938,31.9315895820313],[116.851749296875,31.9647096992188],[116.90326296875,31.9779274726563],[116.93142703125,31.9897585273438],[117.02326296875,31.9979274726563],[117.027345,32.0038430000001],[117.064561796875,31.988852765625],[117.061529570313,31.9683303046875],[117.067345,31.9638430000001],[117.069923125,31.9461428046875],[117.099888945313,31.9163869453125],[117.124801054688,31.9112990546876],[117.127345,31.903843],[117.12142703125,31.8997585273438],[117.11326296875,31.8535671210938],[117.13326296875,31.8397585273438]]]]}},{"type":"Feature","properties":{"name":"庐江县","id":"340125"},"geometry":{"type":"MultiPolygon","coordinates":[[[[117.517340117188,31.1377028632813],[117.52650515625,31.0757082343751],[117.51298953125,31.0581984687501],[117.478219023438,31.0439699531251],[117.49298953125,31.01948753125],[117.497345,31.003843],[117.49197390625,30.99921409375],[117.466182890625,30.9971413398438],[117.431363554688,30.9777175117188],[117.410250273438,30.9794118476563],[117.363516875,30.9533400703125],[117.35271609375,30.9892140937501],[117.303072539063,31.0004933906251],[117.284849882813,30.979341046875],[117.233819609375,31.0155226875],[117.210831328125,31.0522219062501],[117.174263945313,31.0837282539063],[117.147345,31.073843],[117.111143828125,31.0841921210938],[117.11607546875,31.1238430000001],[117.110850859375,31.1658693671875],[117.073707304688,31.2290554023438],[117.045777617188,31.2408229804688],[117.027345,31.263843],[117.032896757813,31.2682888007813],[117.046236601563,31.2849489570313],[117.062896757813,31.2982888007812],[117.074073515625,31.3499440742188],[117.071685820313,31.3691262031251],[117.093985625,31.4271291328125],[117.14310671875,31.4885475898438],[117.242896757813,31.4982888007813],[117.247345,31.5038430000001],[117.284014921875,31.527173078125],[117.361666289063,31.5493752265625],[117.412896757813,31.5582888007813],[117.417345,31.563843],[117.427345,31.563843],[117.452896757813,31.5593971992188],[117.488331328125,31.5010622382813],[117.551793242188,31.4502419257813],[117.542896757813,31.3982888007813],[117.514312773438,31.3496608710938],[117.5075403125,31.2952223945313],[117.562896757813,31.2793971992188],[117.567345,31.273843],[117.561553984375,31.239751203125],[117.526378203125,31.1923073554688],[117.56170046875,31.165044171875],[117.54298953125,31.14819846875],[117.517340117188,31.1377028632813]]]]}},{"type":"Feature","properties":{"name":"庐阳区","id":"340103"},"geometry":{"type":"MultiPolygon","coordinates":[[[[117.172330351563,31.9504103828125],[117.182066679688,31.9279567695313],[117.205045195313,31.9411159492187],[117.232735625,31.9382936835938],[117.24923953125,31.9581618476563],[117.287345,31.943843],[117.290704375,31.8772023750001],[117.297345,31.863843],[117.283985625,31.857202375],[117.267345,31.8538430000001],[117.263082304688,31.8714333320313],[117.206246367188,31.8877468085938],[117.192345,31.8660329414063],[117.183443632813,31.8799391914063],[117.161246367188,31.8877468085938],[117.143443632813,31.8999391914063],[117.127345,31.903843],[117.124801054688,31.9112990546876],[117.099888945313,31.9163869453125],[117.069923125,31.9461428046875],[117.067345,31.9638430000001],[117.172330351563,31.9504103828125]]]]}},{"type":"Feature","properties":{"name":"蜀山区","id":"340104"},"geometry":{"type":"MultiPolygon","coordinates":[[[[117.183443632813,31.8799391914063],[117.192345,31.8660329414063],[117.206246367188,31.8877468085938],[117.263082304688,31.8714333320313],[117.267345,31.8538430000001],[117.237100859375,31.8006447578126],[117.26271609375,31.7892140937501],[117.267345,31.7738430000001],[117.26201296875,31.7400026679688],[117.21380984375,31.7197585273438],[117.174117460938,31.7459474921875],[117.163819609375,31.7918752265625],[117.20142703125,31.783442609375],[117.182940703125,31.8203932929688],[117.151783476563,31.8073073554688],[117.13326296875,31.8397585273438],[117.11326296875,31.8535671210938],[117.12142703125,31.8997585273438],[117.127345,31.903843],[117.143443632813,31.8999391914063],[117.161246367188,31.8877468085938],[117.183443632813,31.8799391914063]]]]}},{"type":"Feature","properties":{"name":"瑶海区","id":"340102"},"geometry":{"type":"MultiPolygon","coordinates":[[[[117.421514921875,31.9484719062501],[117.401695585938,31.8790602851563],[117.403023710938,31.8683888984375],[117.390533476563,31.8583888984376],[117.39302859375,31.8383620429688],[117.367345,31.823843],[117.351793242188,31.8282888007812],[117.302711210938,31.8571388984375],[117.297345,31.863843],[117.290704375,31.8772023750001],[117.287345,31.943843],[117.324801054688,31.9412990546876],[117.343560820313,31.9227565742188],[117.349888945313,31.9412990546876],[117.368370390625,31.9476052070313],[117.356319609375,31.9600807929688],[117.374801054688,31.9663869453125],[117.377345,31.983843],[117.421514921875,31.9484719062501]]]]}}]}