spritejs/spritejs

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

Summary

Maintainability
Test Coverage
{"type": "FeatureCollection", "features": [{"type":"Feature","properties":{"name":"上蔡县","id":"411722"},"geometry":{"type":"MultiPolygon","coordinates":[[[[114.487345,33.423843],[114.475152617188,33.4204201484375],[114.483922148438,33.4116506171875],[114.522310820313,33.4180995917969],[114.562042265625,33.423969953125],[114.57306765625,33.3717336250001],[114.60298953125,33.3594863105469],[114.623922148438,33.3468593574219],[114.64869265625,33.3505202460938],[114.664483671875,33.3383315253906],[114.661265898438,33.3165566230469],[114.692056914063,33.297983625],[114.717345,33.3038430000001],[114.723526640625,33.2891213203126],[114.721221953125,33.278843],[114.724586210938,33.2638430000001],[114.721221953125,33.248843],[114.724503203125,33.2342116523438],[114.71326296875,33.2179274726563],[114.70142703125,33.2097585273438],[114.677345,33.173843],[114.5874621875,33.1682399726563],[114.572120390625,33.1691542792969],[114.548619414063,33.1563832832031],[114.502345,33.1591408515626],[114.482345,33.1579494453126],[114.46209109375,33.1591555],[114.457345,33.1538430000001],[114.451519804688,33.1580178046875],[114.442345,33.1708193183594],[114.432345,33.1568666816407],[114.417357207031,33.1777773261719],[114.394671660156,33.1880178046875],[114.357550078125,33.1644496894532],[114.285035429688,33.1453188300781],[114.19306765625,33.1636818671875],[114.183170195313,33.1380178046876],[114.167345,33.133843],[114.173590117188,33.1838307929688],[114.169053984375,33.2202992988282],[114.151890898438,33.2181642890625],[114.133704863281,33.2408779121094],[114.100985136719,33.2368080878906],[114.087345,33.253843],[114.0967590625,33.2905275703126],[114.156197539063,33.3127675605469],[114.139700957031,33.3520449042969],[114.145408964844,33.377505109375],[114.175706816406,33.388843],[114.171121855469,33.4092946601563],[114.187345,33.433843],[114.187345,33.4538430000001],[114.239014921875,33.458774640625],[114.277345,33.473843],[114.304700957031,33.4853322578125],[114.358687773438,33.4501772285157],[114.407345,33.4610842109375],[114.422345,33.4577223945313],[114.45033328125,33.4639968085938],[114.46142703125,33.4479274726563],[114.48326296875,33.4397585273438],[114.487345,33.423843]]]]}},{"type":"Feature","properties":{"name":"泌阳县","id":"411726"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.247345,32.673843],[113.251627226563,32.6408937812501],[113.260794707031,32.6667580390625],[113.233985625,32.7004836250001],[113.200704375,32.7072023750001],[113.197345,32.713843],[113.209537382813,32.7172658515626],[113.200767851563,32.7260353828125],[113.197345,32.713843],[113.183922148438,32.7214968085938],[113.197664824219,32.7579592109375],[113.180975371094,32.7674733710938],[113.173714628906,32.8302126289063],[113.157345,32.833843],[113.161429472656,32.8497585273438],[113.173260527344,32.8579274726563],[113.192882109375,32.8863454414062],[113.201429472656,32.9219997382813],[113.181898222656,32.917622296875],[113.146246367188,32.9408376289062],[113.122345,32.9354811835938],[113.088407011719,32.9430886054688],[113.11466921875,33.0010378242188],[113.148753691406,33.045014875],[113.183260527344,33.0579274726563],[113.191429472656,33.0697585273438],[113.197345,33.0738430000001],[113.212264433594,33.0681081367188],[113.251790800781,33.0793971992187],[113.353980742188,33.0921779609376],[113.387345,33.133843],[113.392889433594,33.1537514472657],[113.437345,33.1603212714844],[113.472345,33.1551491523438],[113.510767851563,33.1608266425781],[113.537345,33.1447951484375],[113.561954375,33.1596401191407],[113.577345,33.1573647285157],[113.592379179688,33.1595864082031],[113.627345,33.1538430000001],[113.63170046875,33.1381996894531],[113.669657011719,33.1276296210938],[113.696397734375,33.0622927070313],[113.720455351563,33.0437233710938],[113.743428984375,33.0053078437501],[113.772857695313,33.0096584296875],[113.78170046875,32.99819846875],[113.787345,32.9938430000001],[113.796392851563,32.9708278632813],[113.767762480469,32.9487258125],[113.74298953125,32.8881984687501],[113.731549101563,32.869233625],[113.733658476563,32.8549538398438],[113.675911894531,32.8634889960937],[113.62298953125,32.8418288398438],[113.63170046875,32.7381984687501],[113.637345,32.713843],[113.63209109375,32.70796409375],[113.611429472656,32.7091945625],[113.613858671875,32.6684548164063],[113.602078886719,32.6691579414063],[113.592625761719,32.6485622382813],[113.576783476563,32.6344045234375],[113.546236601563,32.600219953125],[113.522064238281,32.5891237617188],[113.494449492188,32.5741188789063],[113.452545195313,32.5891530585938],[113.442108183594,32.5885305],[113.399310332031,32.6184255195313],[113.355260039063,32.5691237617188],[113.332064238281,32.5785622382813],[113.312569609375,32.5891555],[113.302345,32.5885451484375],[113.244620390625,32.5919850898438],[113.224193144531,32.5691237617188],[113.202064238281,32.5785622382813],[113.197345,32.583843],[113.191214628906,32.6088014960938],[113.195233183594,32.6267287421876],[113.18060671875,32.6491896796875],[113.193260527344,32.6579274726562],[113.210499296875,32.6828932929687],[113.247345,32.673843]]]]}},{"type":"Feature","properties":{"name":"平舆县","id":"411723"},"geometry":{"type":"MultiPolygon","coordinates":[[[[114.577345,32.813843],[114.589537382813,32.8172658515625],[114.580767851563,32.8260353828126],[114.57170046875,32.8181984687501],[114.561832304688,32.8309841132813],[114.53845828125,32.8275295234376],[114.543824492188,32.863843],[114.541300078125,32.8809059882812],[114.517345,32.8773659492188],[114.502345,32.8795827460938],[114.467345,32.8744094062501],[114.420863066406,32.8812795234376],[114.39298953125,32.9327614570312],[114.424276152344,32.9569118476562],[114.45365359375,32.9949733710938],[114.45048953125,33.0164040351563],[114.476124296875,33.0816188789062],[114.451832304688,33.0780275703125],[114.438878203125,33.094809796875],[114.45298953125,33.1181996894532],[114.457345,33.1538430000001],[114.46209109375,33.1591555],[114.482345,33.1579494453126],[114.502345,33.1591408515626],[114.548619414063,33.1563832832031],[114.572120390625,33.1691542792969],[114.5874621875,33.1682399726563],[114.677345,33.173843],[114.701007109375,33.157505109375],[114.727257109375,33.1194887519532],[114.75326296875,33.1097585273438],[114.77142703125,33.0779274726562],[114.79326296875,33.0697585273438],[114.801676054688,33.0575710273438],[114.817345,33.0610842109376],[114.842345,33.0554811835938],[114.85142703125,33.0797585273438],[114.887345,33.083843],[114.915225859375,33.0766872382813],[114.911163359375,33.0585646796875],[114.926939726563,33.0209938789063],[114.912345,33.0177223945313],[114.89037234375,33.0226491523438],[114.893565703125,33.0083913398438],[114.877345,32.983843],[114.861124296875,32.9592946601563],[114.86431765625,32.9450368476563],[114.841842070313,32.9500759101563],[114.81326296875,32.9279274726562],[114.78142703125,32.9197585273438],[114.758092070313,32.8788698554688],[114.71142703125,32.8697585273438],[114.70326296875,32.8379274726563],[114.691124296875,32.8192897773438],[114.69361453125,32.8081716132813],[114.68142703125,32.7997585273438],[114.67326296875,32.7879274726563],[114.65412234375,32.7747145820313],[114.637345,32.743843],[114.609996367188,32.7476100898438],[114.614561796875,32.7597267890625],[114.6009778125,32.7674733710938],[114.593228789063,32.7810622382813],[114.56670046875,32.7710622382813],[114.577345,32.793843],[114.577345,32.813843]]]]}},{"type":"Feature","properties":{"name":"确山县","id":"411725"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.937345,32.553843],[113.924537382813,32.558843],[113.937345,32.563843],[113.937345,32.553843]]],[[[113.937345,32.553843],[113.950152617188,32.558843],[113.937345,32.563843],[113.930264921875,32.576762921875],[113.90990359375,32.5879225898438],[113.920816679688,32.6143947578126],[113.888970976563,32.6012697578125],[113.863804960938,32.6203029609375],[113.824766875,32.6273830390626],[113.813804960938,32.6073830390625],[113.797345,32.603843],[113.793260527344,32.6197585273438],[113.779132109375,32.6295143867188],[113.783648710938,32.6496584296876],[113.740819121094,32.6606496406251],[113.703260527344,32.6897585273438],[113.661429472656,32.6979274726562],[113.637345,32.713843],[113.63170046875,32.7381984687501],[113.62298953125,32.8418288398438],[113.675911894531,32.8634889960937],[113.733658476563,32.8549538398438],[113.731549101563,32.869233625],[113.74298953125,32.8881984687501],[113.767762480469,32.9487258125],[113.796392851563,32.9708278632813],[113.787345,32.9938430000001],[113.819176054688,33.0020119453125],[113.873258085938,33.0247267890626],[113.913260527344,33.0097585273437],[113.917345,33.003843],[113.912535429688,32.9986525703126],[113.883155546875,32.9847878242188],[113.932535429688,32.9390334296875],[113.944444609375,32.8890334296875],[113.988353300781,32.900122296875],[114.032535429688,32.9286525703126],[114.042154570313,32.9390334296875],[114.067345,32.943843],[114.090887480469,32.9363893867188],[114.063460722656,32.9109792304688],[114.122345,32.9086452460938],[114.142122832031,32.9094289375],[114.142550078125,32.8986647773437],[114.129136992188,32.8862380195313],[114.145360136719,32.8518581367187],[114.181917753906,32.83460471875],[114.182960234375,32.8083107734375],[114.143211699219,32.7714821601563],[114.202154570313,32.7528224921875],[114.192535429688,32.7386525703126],[114.142535429688,32.7063649726563],[114.164937773438,32.6975588203126],[114.222154570313,32.6998268867188],[114.212535429688,32.6786525703125],[114.192535429688,32.6601222968751],[114.212154570313,32.6386525703125],[114.217345,32.633843],[114.22443484375,32.604419171875],[114.221356230469,32.5888381171876],[114.233475371094,32.5281349921875],[114.211519804688,32.5196681953125],[114.203170195313,32.5080178046875],[114.191519804688,32.4996681953125],[114.187345,32.493843],[114.161790800781,32.4893971992188],[114.151461210938,32.46487815625],[114.084334746094,32.4493971992188],[114.056810332031,32.5456642890626],[114.042899199219,32.5282888007813],[114.011790800781,32.5193971992188],[113.977738066406,32.5063063789062],[113.949947539063,32.5097634101563],[113.937345,32.553843]]]]}},{"type":"Feature","properties":{"name":"汝南县","id":"411727"},"geometry":{"type":"MultiPolygon","coordinates":[[[[114.577345,32.813843],[114.580767851563,32.8260353828126],[114.589537382813,32.8172658515625],[114.577345,32.813843]]],[[[114.577345,32.813843],[114.577345,32.793843],[114.532042265625,32.7992971015626],[114.5180871875,32.7830983710938],[114.438687773438,32.7686159492188],[114.408021269531,32.7330202460938],[114.3130871875,32.6515944648438],[114.263702421875,32.6367238593751],[114.232105742188,32.6392629218751],[114.217345,32.633843],[114.212154570313,32.6386525703125],[114.192535429688,32.6601222968751],[114.212535429688,32.6786525703125],[114.222154570313,32.6998268867188],[114.164937773438,32.6975588203126],[114.142535429688,32.7063649726563],[114.192535429688,32.7386525703126],[114.202154570313,32.7528224921875],[114.143211699219,32.7714821601563],[114.182960234375,32.8083107734375],[114.181917753906,32.83460471875],[114.145360136719,32.8518581367187],[114.129136992188,32.8862380195313],[114.142550078125,32.8986647773437],[114.142122832031,32.9094289375],[114.122345,32.9086452460938],[114.063460722656,32.9109792304688],[114.090887480469,32.9363893867188],[114.067345,32.943843],[114.071429472656,32.9697585273437],[114.093260527344,32.9779274726563],[114.101429472656,32.9897585273438],[114.149176054688,33.0020119453125],[114.167581816406,33.0286696601563],[114.107345,33.043843],[114.114166289063,33.1107057929688],[114.153656035156,33.1075319648438],[114.1519153125,33.1291970039063],[114.167345,33.133843],[114.183170195313,33.1380178046876],[114.19306765625,33.1636818671875],[114.285035429688,33.1453188300781],[114.357550078125,33.1644496894532],[114.394671660156,33.1880178046875],[114.417357207031,33.1777773261719],[114.432345,33.1568666816407],[114.442345,33.1708193183594],[114.451519804688,33.1580178046875],[114.457345,33.1538430000001],[114.45298953125,33.1181996894532],[114.438878203125,33.094809796875],[114.451832304688,33.0780275703125],[114.476124296875,33.0816188789062],[114.45048953125,33.0164040351563],[114.45365359375,32.9949733710938],[114.424276152344,32.9569118476562],[114.39298953125,32.9327614570312],[114.420863066406,32.8812795234376],[114.467345,32.8744094062501],[114.502345,32.8795827460938],[114.517345,32.8773659492188],[114.541300078125,32.8809059882812],[114.543824492188,32.863843],[114.53845828125,32.8275295234376],[114.561832304688,32.8309841132813],[114.57170046875,32.8181984687501],[114.577345,32.813843]]]]}},{"type":"Feature","properties":{"name":"遂平县","id":"411728"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.924046660156,33.3005458808594],[113.921060820313,33.2712343574219],[113.984212675781,33.2475051093751],[114.002611113281,33.249380109375],[114.0322278125,33.2382509589844],[114.081883574219,33.2493056464844],[114.087345,33.253843],[114.100985136719,33.2368080878906],[114.133704863281,33.2408779121094],[114.151890898438,33.2181642890625],[114.169053984375,33.2202992988282],[114.173590117188,33.1838307929688],[114.167345,33.133843],[114.1519153125,33.1291970039063],[114.153656035156,33.1075319648438],[114.114166289063,33.1107057929688],[114.107345,33.043843],[114.081429472656,33.0397585273438],[114.053260527344,33.0279274726563],[113.963494902344,33.0052223945313],[113.942303496094,33.0099733710937],[113.917345,33.003843],[113.913260527344,33.0097585273437],[113.873258085938,33.0247267890626],[113.819176054688,33.0020119453125],[113.787345,32.9938430000001],[113.78170046875,32.99819846875],[113.772857695313,33.0096584296875],[113.743428984375,33.0053078437501],[113.720455351563,33.0437233710938],[113.696397734375,33.0622927070313],[113.669657011719,33.1276296210938],[113.63170046875,33.1381996894531],[113.627345,33.1538430000001],[113.633985625,33.1672023750001],[113.637345,33.1838430000001],[113.642806425781,33.1883803535156],[113.651883574219,33.2193056464844],[113.688992949219,33.2421950507812],[113.716668730469,33.28706565625],[113.802667265625,33.2783010078125],[113.830133085938,33.2940309882813],[113.882345,33.2993520332031],[113.897345,33.2978237128907],[113.924046660156,33.3005458808594]]]]}},{"type":"Feature","properties":{"name":"西平县","id":"411721"},"geometry":{"type":"MultiPolygon","coordinates":[[[[114.087345,33.523843],[114.093206816406,33.5010048652344],[114.123260527344,33.4897585273438],[114.135513945313,33.4720119453125],[114.183260527344,33.4597585273438],[114.187345,33.4538430000001],[114.173392363281,33.443843],[114.187345,33.433843],[114.171121855469,33.4092946601563],[114.175706816406,33.388843],[114.145408964844,33.377505109375],[114.139700957031,33.3520449042969],[114.156197539063,33.3127675605469],[114.0967590625,33.2905275703126],[114.087345,33.253843],[114.081883574219,33.2493056464844],[114.0322278125,33.2382509589844],[114.002611113281,33.249380109375],[113.984212675781,33.2475051093751],[113.921060820313,33.2712343574219],[113.924046660156,33.3005458808594],[113.897345,33.2978237128907],[113.882345,33.2993520332031],[113.830133085938,33.2940309882813],[113.802667265625,33.2783010078125],[113.716668730469,33.28706565625],[113.688992949219,33.2421950507812],[113.651883574219,33.2193056464844],[113.642806425781,33.1883803535156],[113.637345,33.1838430000001],[113.618973417969,33.1886891914063],[113.600772734375,33.235884015625],[113.612564726563,33.2955629707032],[113.633170195313,33.3280178046876],[113.64244265625,33.3631606269531],[113.672652617188,33.3848146796875],[113.677345,33.4138430000001],[113.692330351563,33.4212917304688],[113.703336210938,33.4159169746094],[113.710704375,33.4304836250001],[113.793985625,33.4372023750001],[113.797345,33.4538430000001],[113.818717070313,33.4599538398438],[113.866922636719,33.4882900214844],[113.902899199219,33.4793959785157],[113.936800566406,33.4663649726563],[114.001890898438,33.5058998847657],[114.011846953125,33.52952659375],[114.022628203125,33.5281862617188],[114.037345,33.5338430000001],[114.045936308594,33.5214003730469],[114.062386503906,33.5177126289063],[114.087345,33.523843]]],[[[114.087345,33.523843],[114.090767851563,33.5360353828125],[114.099537382813,33.5272658515625],[114.087345,33.523843]]]]}},{"type":"Feature","properties":{"name":"新蔡县","id":"411729"},"geometry":{"type":"MultiPolygon","coordinates":[[[[115.207345,32.6538430000001],[115.210767851563,32.6660353828126],[115.219537382813,32.6572658515625],[115.207345,32.6538430000001]]],[[[115.207345,32.6538430000001],[115.207345,32.633843],[115.197345,32.633843],[115.193922148438,32.6460353828125],[115.185152617188,32.6372658515626],[115.197345,32.633843],[115.193985625,32.617202375],[115.187345,32.603843],[115.161612578125,32.5995778632813],[115.1299621875,32.5799880195312],[115.133316679688,32.5994826484375],[115.107974882813,32.6095534492188],[115.093077421875,32.6295778632813],[115.067345,32.633843],[115.05197390625,32.6384719062501],[115.02271609375,32.64921409375],[114.980264921875,32.661997296875],[114.897345,32.6538430000001],[114.848214140625,32.6853981757813],[114.832916289063,32.6480202460938],[114.822345,32.6495827460938],[114.802345,32.646626203125],[114.782345,32.6495827460938],[114.76478640625,32.64698753125],[114.73263796875,32.65962425],[114.722345,32.6581032539062],[114.710284453125,32.6598854804688],[114.714947539063,32.6914430976563],[114.69248171875,32.6778932929688],[114.642081328125,32.6977053046875],[114.626925078125,32.7173415351563],[114.637345,32.743843],[114.65412234375,32.7747145820313],[114.67326296875,32.7879274726563],[114.68142703125,32.7997585273438],[114.69361453125,32.8081716132813],[114.691124296875,32.8192897773438],[114.70326296875,32.8379274726563],[114.71142703125,32.8697585273438],[114.758092070313,32.8788698554688],[114.78142703125,32.9197585273438],[114.81326296875,32.9279274726562],[114.841842070313,32.9500759101563],[114.86431765625,32.9450368476563],[114.861124296875,32.9592946601563],[114.877345,32.983843],[114.917940703125,32.9671999335938],[114.941954375,32.9382936835938],[115.004332304688,32.9446511054688],[115.022808867188,32.9293044257813],[115.033643828125,32.9043166328125],[115.092345,32.8983327460938],[115.1309778125,32.902270734375],[115.157120390625,32.8598854804688],[115.172345,32.8583327460938],[115.191685820313,32.8603054023438],[115.1928528125,32.8488430000001],[115.189205351563,32.813051984375],[115.204049101563,32.7871413398438],[115.180748320313,32.7895143867188],[115.1828528125,32.7688430000001],[115.17353640625,32.67743675],[115.192769804688,32.6793947578125],[115.201881132813,32.6583815742188],[115.207345,32.6538430000001]]]]}},{"type":"Feature","properties":{"name":"正阳县","id":"411724"},"geometry":{"type":"MultiPolygon","coordinates":[[[[114.277345,32.413843],[114.289537382813,32.4172658515625],[114.280767851563,32.4260353828125],[114.261429472656,32.4179274726563],[114.239705839844,32.4320729804687],[114.244847441406,32.4550075507813],[114.200369902344,32.4450368476563],[114.205240507813,32.4667604804687],[114.187345,32.493843],[114.191519804688,32.4996681953125],[114.203170195313,32.5080178046875],[114.211519804688,32.5196681953125],[114.233475371094,32.5281349921875],[114.221356230469,32.5888381171876],[114.22443484375,32.604419171875],[114.217345,32.633843],[114.232105742188,32.6392629218751],[114.263702421875,32.6367238593751],[114.3130871875,32.6515944648438],[114.408021269531,32.7330202460938],[114.438687773438,32.7686159492188],[114.5180871875,32.7830983710938],[114.532042265625,32.7992971015626],[114.577345,32.793843],[114.56670046875,32.7710622382813],[114.593228789063,32.7810622382813],[114.6009778125,32.7674733710938],[114.614561796875,32.7597267890625],[114.609996367188,32.7476100898438],[114.637345,32.743843],[114.626925078125,32.7173415351563],[114.642081328125,32.6977053046875],[114.69248171875,32.6778932929688],[114.714947539063,32.6914430976563],[114.710284453125,32.6598854804688],[114.722345,32.6581032539062],[114.73263796875,32.65962425],[114.76478640625,32.64698753125],[114.782345,32.6495827460938],[114.802345,32.646626203125],[114.822345,32.6495827460938],[114.832916289063,32.6480202460938],[114.848214140625,32.6853981757813],[114.897345,32.6538430000001],[114.886373320313,32.618305890625],[114.807594023438,32.6230007148438],[114.784542265625,32.6024025703126],[114.80322390625,32.5680275703126],[114.7808996875,32.5480837226563],[114.783189726563,32.5096877265625],[114.722061796875,32.5285622382813],[114.70564578125,32.5469338203125],[114.688521757813,32.5096193671876],[114.647345,32.5319948554688],[114.622628203125,32.5185622382813],[114.569674101563,32.5086769843751],[114.572940703125,32.453843],[114.571451445313,32.4288430000001],[114.64904421875,32.3932302070313],[114.622061796875,32.3691237617188],[114.602628203125,32.3385622382813],[114.572061796875,32.3191237617188],[114.567345,32.3138430000001],[114.548428984375,32.2902223945312],[114.531983671875,32.2881764960938],[114.498546171875,32.3078322578125],[114.482799101563,32.2881642890625],[114.467345,32.2900856757813],[114.447345,32.2876003242188],[114.432345,32.2894655585938],[114.417332792969,32.2875978828125],[114.367345,32.293843],[114.363985625,32.310483625],[114.339676542969,32.3383815742188],[114.34478640625,32.3488430000001],[114.334234648438,32.3704518867188],[114.280704375,32.377202375],[114.277345,32.413843]]]]}},{"type":"Feature","properties":{"name":"驿城区","id":"411702"},"geometry":{"type":"MultiPolygon","coordinates":[[[[114.167581816406,33.0286696601563],[114.149176054688,33.0020119453125],[114.101429472656,32.9897585273438],[114.093260527344,32.9779274726563],[114.071429472656,32.9697585273437],[114.067345,32.943843],[114.042154570313,32.9390334296875],[114.032535429688,32.9286525703126],[113.988353300781,32.900122296875],[113.944444609375,32.8890334296875],[113.932535429688,32.9390334296875],[113.883155546875,32.9847878242188],[113.912535429688,32.9986525703126],[113.917345,33.003843],[113.942303496094,33.0099733710937],[113.963494902344,33.0052223945313],[114.053260527344,33.0279274726563],[114.081429472656,33.0397585273438],[114.107345,33.043843],[114.167581816406,33.0286696601563]]]]}}]}