spritejs/spritejs

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

Summary

Maintainability
Test Coverage
{"type": "FeatureCollection", "features": [{"type":"Feature","properties":{"name":"上虞市","id":"330682"},"geometry":{"type":"MultiPolygon","coordinates":[[[[121.016031523438,29.8844118476563],[121.051954375,29.8581716132813],[121.069249296875,29.8603249335938],[121.094381132813,29.8402028632813],[121.091724882813,29.818843],[121.093824492188,29.8019362617188],[121.068428984375,29.7702223945313],[121.052345,29.7682204414063],[121.021319609375,29.7720803046876],[121.023013945313,29.75847190625],[121.007345,29.733843],[120.983560820313,29.74495628125],[120.957345,29.73507346875],[120.937345,29.74261253125],[120.904996367188,29.7304201484376],[120.891461210938,29.7541628242188],[120.867345,29.74507346875],[120.848013945313,29.752358625],[120.854283476563,29.7689894843751],[120.8409778125,29.7974733710938],[120.8337121875,29.8302126289063],[120.810816679688,29.8374733710938],[120.7837121875,29.8174733710938],[120.755719023438,29.8085329414063],[120.747345,29.7938430000001],[120.731441679688,29.8065773750001],[120.738228789063,29.8611403632813],[120.763004179688,29.9185378242188],[120.761695585938,29.9290602851563],[120.776182890625,29.9797878242188],[120.741793242188,30.0382888007812],[120.730230742188,30.0787209296875],[120.677345,30.0938430000001],[120.67062625,30.10712425],[120.650704375,30.1172023750001],[120.647345,30.1338430000001],[120.651793242188,30.1393971992188],[120.662896757813,30.1482888007813],[120.702921171875,30.198266828125],[120.76400515625,30.24718284375],[120.777345,30.263843],[120.83326296875,30.2679274726563],[120.857345,30.273843],[120.867345,30.273843],[120.871793242188,30.2582888007813],[120.928736601563,30.1628493476563],[120.932965117188,30.128843],[120.930865507813,30.1119362617188],[120.941793242188,30.0982888007813],[120.962896757813,30.0893971992188],[120.971793242188,30.0682888007813],[120.982896757813,30.0493971992188],[120.994117460938,30.0227712226563],[121.031793242188,30.0082888007813],[121.091793242188,29.99530784375],[121.081842070313,29.976274640625],[121.041793242188,29.9593971992188],[121.032896757813,29.9282888007813],[121.016031523438,29.8844118476563]]]]}},{"type":"Feature","properties":{"name":"绍兴县","id":"330621"},"geometry":{"type":"MultiPolygon","coordinates":[[[[120.702921171875,30.198266828125],[120.662896757813,30.1482888007813],[120.651793242188,30.1393971992188],[120.647345,30.1338430000001],[120.607642851563,30.1273220039063],[120.576773710938,30.1318825507813],[120.562916289063,30.0980202460938],[120.533883085938,30.1023097968751],[120.52298953125,30.08819846875],[120.511529570313,30.0793556953125],[120.513082304688,30.068843],[120.511607695313,30.0588430000001],[120.51312625,30.04855003125],[120.5012903125,30.0184450507813],[120.53298953125,29.99948753125],[120.545860625,29.96804221875],[120.529014921875,29.9102736640626],[120.54298953125,29.8994875312501],[120.55170046875,29.88819846875],[120.568546171875,29.87948753125],[120.60423953125,29.9010182929688],[120.601607695313,29.918843],[120.605777617188,29.9470607734375],[120.648941679688,29.9647292304688],[120.66170046875,29.94819846875],[120.67298953125,29.9394875312501],[120.68170046875,29.92819846875],[120.694464140625,29.91948753125],[120.691549101563,29.9392336250001],[120.70298953125,29.9581984687501],[120.717095976563,29.9926735664063],[120.70170046875,30.01819846875],[120.69298953125,30.03948753125],[120.66459109375,30.0614040351563],[120.677345,30.0938430000001],[120.730230742188,30.0787209296875],[120.741793242188,30.0382888007812],[120.776182890625,29.9797878242188],[120.761695585938,29.9290602851563],[120.763004179688,29.9185378242188],[120.738228789063,29.8611403632813],[120.731441679688,29.8065773750001],[120.747345,29.7938430000001],[120.74298953125,29.7681984687501],[120.72154421875,29.7392726875],[120.72423953125,29.7210182929688],[120.688546171875,29.69948753125],[120.67170046875,29.71819846875],[120.6627746875,29.7502638984376],[120.585084257813,29.7338698554688],[120.567125273438,29.7106008125],[120.527345,29.703843],[120.533609648438,29.7190895820313],[120.511519804688,29.7480178046876],[120.501246367188,29.79925315625],[120.534034453125,29.8493361640625],[120.493785429688,29.864858625],[120.483170195313,29.8796681953126],[120.459869414063,29.8963674140625],[120.443170195313,29.9196681953126],[120.427554960938,29.9308596015626],[120.411724882813,29.9277321601563],[120.393267851563,29.953481671875],[120.383170195313,29.9796681953125],[120.357345,29.9838430000001],[120.351148710938,30.0178224921875],[120.33271609375,30.0392140937501],[120.321690703125,30.0487136054687],[120.334781523438,30.072173078125],[120.32271609375,30.09921409375],[120.28572390625,30.1103517890625],[120.302667265625,30.1300221992188],[120.322667265625,30.1284157539063],[120.339093046875,30.1474782539063],[120.382574492188,30.159380109375],[120.400728789063,30.1383107734375],[120.412345,30.1392458320313],[120.441724882813,30.1368849921876],[120.467769804688,30.17847190625],[120.49271609375,30.16921409375],[120.512066679688,30.1584181953125],[120.527345,30.1596462226563],[120.5998059375,30.1538234687501],[120.639361601563,30.2169753242188],[120.717345,30.2838430000001],[120.77326296875,30.2697585273438],[120.777345,30.263843],[120.76400515625,30.24718284375],[120.702921171875,30.198266828125]]]]}},{"type":"Feature","properties":{"name":"新昌县","id":"330624"},"geometry":{"type":"MultiPolygon","coordinates":[[[[120.923780546875,29.5574513984376],[120.977345,29.5468679023437],[120.992345,29.5498317695312],[121.019771757813,29.5444118476563],[121.031519804688,29.5280178046875],[121.047135039063,29.5168263984375],[121.062345,29.5198317695313],[121.096588164063,29.5130641914063],[121.107345,29.553843],[121.220719023438,29.53483909375],[121.223096953125,29.5187599921875],[121.211593046875,29.4589260078126],[121.213082304688,29.4488430000001],[121.20990359375,29.4273073554688],[121.227345,29.4138430000001],[121.22361453125,29.3620754218751],[121.187486601563,29.3437966132813],[121.195269804688,29.3278517890626],[121.187345,29.323843],[121.161612578125,29.3281081367187],[121.122735625,29.343735578125],[121.113077421875,29.3081081367188],[121.089888945313,29.2995778632813],[121.094605742188,29.3269802070313],[121.032345,29.3162599921876],[121.007345,29.3205641914063],[120.962940703125,29.3129201484376],[120.951500273438,29.2841335273438],[120.903189726563,29.3035524726563],[120.889654570313,29.2694850898437],[120.894303007813,29.2424806953126],[120.844107695313,29.2511232734375],[120.823077421875,29.2381081367188],[120.781612578125,29.2295778632813],[120.777345,29.2238430000001],[120.77170046875,29.22819846875],[120.760719023438,29.2928444648438],[120.763175078125,29.3094631171875],[120.727345,29.313843],[120.712623320313,29.3076589179688],[120.696866484375,29.3111916328125],[120.707345,29.353843],[120.728736601563,29.3865212226563],[120.744537382813,29.4274977851562],[120.775186796875,29.4494631171875],[120.771358671875,29.468843],[120.778761015625,29.5063014960938],[120.823170195313,29.5180178046876],[120.861046171875,29.5420632148438],[120.890406523438,29.5362624335938],[120.923780546875,29.5574513984376]]]]}},{"type":"Feature","properties":{"name":"越城区","id":"330602"},"geometry":{"type":"MultiPolygon","coordinates":[[[[120.647345,30.1338430000001],[120.650704375,30.1172023750001],[120.67062625,30.10712425],[120.677345,30.0938430000001],[120.66459109375,30.0614040351563],[120.69298953125,30.03948753125],[120.70170046875,30.01819846875],[120.717095976563,29.9926735664063],[120.70298953125,29.9581984687501],[120.691549101563,29.9392336250001],[120.694464140625,29.91948753125],[120.68170046875,29.92819846875],[120.67298953125,29.9394875312501],[120.66170046875,29.94819846875],[120.648941679688,29.9647292304688],[120.605777617188,29.9470607734375],[120.601607695313,29.918843],[120.60423953125,29.9010182929688],[120.568546171875,29.87948753125],[120.55170046875,29.88819846875],[120.54298953125,29.8994875312501],[120.529014921875,29.9102736640626],[120.545860625,29.96804221875],[120.53298953125,29.99948753125],[120.5012903125,30.0184450507813],[120.51312625,30.04855003125],[120.511607695313,30.0588430000001],[120.513082304688,30.068843],[120.511529570313,30.0793556953125],[120.52298953125,30.08819846875],[120.533883085938,30.1023097968751],[120.562916289063,30.0980202460938],[120.576773710938,30.1318825507813],[120.607642851563,30.1273220039063],[120.647345,30.1338430000001]]]]}},{"type":"Feature","properties":{"name":"诸暨市","id":"330681"},"geometry":{"type":"MultiPolygon","coordinates":[[[[119.897345,29.7538430000001],[119.887345,29.7538430000001],[119.887345,29.763843],[119.897345,29.763843],[119.897345,29.7538430000001]]],[[[119.897345,29.7538430000001],[119.922301054688,29.7477126289063],[119.945592070313,29.7529323554688],[119.972345,29.7703542304688],[119.9921496875,29.7574587226563],[120.021685820313,29.7698659492188],[120.03142703125,29.8197585273438],[120.071729765625,29.8301003242188],[120.0926184375,29.8254201484375],[120.097345,29.843843],[120.12560671875,29.8598220039063],[120.162081328125,29.9198757148438],[120.183897734375,29.9070510078125],[120.211890898438,29.9420095039063],[120.242345,29.9382204414063],[120.252799101563,29.9395217109375],[120.263702421875,29.925903546875],[120.30732546875,29.9313283515625],[120.321793242188,29.9493971992188],[120.332896757813,29.9582888007813],[120.341793242188,29.9693971992188],[120.352896757813,29.9782888007813],[120.357345,29.9838430000001],[120.383170195313,29.9796681953125],[120.393267851563,29.953481671875],[120.411724882813,29.9277321601563],[120.427554960938,29.9308596015626],[120.443170195313,29.9196681953126],[120.459869414063,29.8963674140625],[120.483170195313,29.8796681953126],[120.493785429688,29.864858625],[120.534034453125,29.8493361640625],[120.501246367188,29.79925315625],[120.511519804688,29.7480178046876],[120.533609648438,29.7190895820313],[120.527345,29.703843],[120.523350859375,29.687837140625],[120.507310820313,29.6638185859375],[120.520260039063,29.6124294257813],[120.494429960938,29.5952565742187],[120.510416289063,29.5318068671876],[120.471339140625,29.509848859375],[120.467345,29.4938430000001],[120.43170046875,29.4794875312501],[120.40111453125,29.4568093085937],[120.381954375,29.4596388984375],[120.36045046875,29.4466677070313],[120.364561796875,29.4188430000001],[120.338365507813,29.4081227851563],[120.32298953125,29.3881984687501],[120.31170046875,29.37948753125],[120.29490359375,29.3577248359375],[120.269127226563,29.3615358710938],[120.257345,29.403843],[120.28158328125,29.42397971875],[120.253761015625,29.4725588203125],[120.272808867188,29.4883815742187],[120.281881132813,29.501343],[120.251954375,29.4982936835938],[120.242808867188,29.5093044257812],[120.219234648438,29.5195290351563],[120.188189726563,29.5568996406251],[120.158101835938,29.5206764960938],[120.131881132813,29.5093044257812],[120.122808867188,29.4983815742188],[120.107345,29.4938430000001],[120.10326296875,29.4997585273438],[120.078980742188,29.508843],[120.085767851563,29.5391139960938],[120.05142703125,29.5479274726563],[120.037022734375,29.568794171875],[120.001041289063,29.5780275703125],[120.008375273438,29.610747296875],[120.03361453125,29.6281716132813],[120.0301965625,29.6434206367188],[119.99142703125,29.6579274726563],[119.967345,29.6738430000001],[119.962296171875,29.693520734375],[119.93697390625,29.711001203125],[119.909898710938,29.7049318671875],[119.897345,29.7538430000001]],[[120.025152617188,29.6572658515625],[120.037345,29.653843],[120.033922148438,29.6660353828126],[120.025152617188,29.6572658515625]]]]}},{"type":"Feature","properties":{"name":"嵊州市","id":"330683"},"geometry":{"type":"MultiPolygon","coordinates":[[[[120.577345,29.353843],[120.573922148438,29.3416506171875],[120.565152617188,29.3504201484376],[120.577345,29.353843]]],[[[120.577345,29.353843],[120.561007109375,29.377505109375],[120.504049101563,29.4168312812501],[120.515709257813,29.468843],[120.49142703125,29.4779274726563],[120.467345,29.4938430000001],[120.471339140625,29.509848859375],[120.510416289063,29.5318068671876],[120.494429960938,29.5952565742187],[120.520260039063,29.6124294257813],[120.507310820313,29.6638185859375],[120.523350859375,29.687837140625],[120.527345,29.703843],[120.567125273438,29.7106008125],[120.585084257813,29.7338698554688],[120.6627746875,29.7502638984376],[120.67170046875,29.71819846875],[120.688546171875,29.69948753125],[120.72423953125,29.7210182929688],[120.72154421875,29.7392726875],[120.74298953125,29.7681984687501],[120.747345,29.7938430000001],[120.755719023438,29.8085329414063],[120.7837121875,29.8174733710938],[120.810816679688,29.8374733710938],[120.8337121875,29.8302126289063],[120.8409778125,29.7974733710938],[120.854283476563,29.7689894843751],[120.848013945313,29.752358625],[120.867345,29.74507346875],[120.891461210938,29.7541628242188],[120.904996367188,29.7304201484376],[120.937345,29.74261253125],[120.957345,29.73507346875],[120.983560820313,29.74495628125],[121.007345,29.733843],[121.012154570313,29.7286525703126],[121.022740507813,29.7188430000001],[121.012154570313,29.7090334296876],[121.002535429688,29.6886525703126],[120.982760039063,29.6703298164063],[121.047345,29.6838430000001],[121.062296171875,29.673520734375],[121.07142703125,29.6379274726563],[121.109068632813,29.623843],[121.10107546875,29.5881716132813],[121.113643828125,29.5794924140626],[121.107345,29.553843],[121.096588164063,29.5130641914063],[121.062345,29.5198317695313],[121.047135039063,29.5168263984375],[121.031519804688,29.5280178046875],[121.019771757813,29.5444118476563],[120.992345,29.5498317695312],[120.977345,29.5468679023437],[120.923780546875,29.5574513984376],[120.890406523438,29.5362624335938],[120.861046171875,29.5420632148438],[120.823170195313,29.5180178046876],[120.778761015625,29.5063014960938],[120.771358671875,29.468843],[120.775186796875,29.4494631171875],[120.744537382813,29.4274977851562],[120.728736601563,29.3865212226563],[120.707345,29.353843],[120.67326296875,29.3379274726563],[120.6137903125,29.3297585273438],[120.577345,29.353843]]]]}}]}