spritejs/spritejs

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

Summary

Maintainability
Test Coverage
{"type": "FeatureCollection", "features": [{"type":"Feature","properties":{"name":"贺兰县","id":"640122"},"geometry":{"type":"MultiPolygon","coordinates":[[[[106.150211210938,38.8126308417969],[106.207345,38.8080397773438],[106.222623320313,38.8092665839844],[106.242066679688,38.7984194160156],[106.252623320313,38.7992665839844],[106.281600371094,38.7830995917969],[106.372777128906,38.7692055488281],[106.3719153125,38.7584963203125],[106.3927746875,38.7491896796875],[106.390445585938,38.720200421875],[106.412345,38.7184413886719],[106.433656035156,38.7201540351563],[106.431842070313,38.6975978828125],[106.473563261719,38.7009499335938],[106.596414824219,38.6785402656251],[106.587345,38.653843],[106.547159453125,38.6228261542969],[106.527699003906,38.5752773261719],[106.534632597656,38.5283559394531],[106.440057402344,38.5193300605469],[106.44420046875,38.4912831855469],[106.430672636719,38.4568727851563],[106.412345,38.4595815253907],[106.370809355469,38.4534438300781],[106.374722929688,38.4799330878907],[106.351253691406,38.4764650703125],[106.353084746094,38.4888430000001],[106.351605253906,38.498843],[106.353160429688,38.5093666816406],[106.326143828125,38.5281996894532],[106.29298953125,38.5081996894531],[106.267345,38.503843],[106.271429472656,38.5097585273438],[106.283260527344,38.5179274726563],[106.301429472656,38.5518581367188],[106.267840605469,38.6034377265626],[106.235797148438,38.5962538886719],[106.223260527344,38.6297585273438],[106.217345,38.6338430000001],[106.234354277344,38.6791078925781],[106.149088164063,38.6900173164063],[106.113878203125,38.6476308417969],[106.082806425781,38.6593056464844],[105.983131132813,38.670483625],[105.928524199219,38.7017592597657],[105.887345,38.7138430000001],[105.903013945313,38.7384706855469],[105.901102324219,38.7538430000001],[105.902967558594,38.768843],[105.900535917969,38.7883913398438],[105.9795325,38.8516005683594],[105.997345,38.873843],[106.03271609375,38.8692153144532],[106.08197390625,38.8484706855469],[106.11271609375,38.8392153144532],[106.150211210938,38.8126308417969]]]]}},{"type":"Feature","properties":{"name":"金凤区","id":"640106"},"geometry":{"type":"MultiPolygon","coordinates":[[[[106.223260527344,38.6297585273438],[106.235797148438,38.5962538886719],[106.267840605469,38.6034377265626],[106.301429472656,38.5518581367188],[106.283260527344,38.5179274726563],[106.271429472656,38.5097585273438],[106.267345,38.503843],[106.243988066406,38.4894521308594],[106.263531523438,38.4300307441407],[106.267345,38.4038430000001],[106.242240019531,38.4100099921876],[106.178494902344,38.3902504707032],[106.13720828125,38.32894065625],[106.101429472656,38.3197585273438],[106.07963015625,38.2815663886719],[106.057345,38.313843],[106.072064238281,38.3391237617188],[106.161265898438,38.4774697089844],[106.211568632813,38.6151357246094],[106.217345,38.6338430000001],[106.223260527344,38.6297585273438]]]]}},{"type":"Feature","properties":{"name":"灵武市","id":"640181"},"geometry":{"type":"MultiPolygon","coordinates":[[[[106.42923953125,38.3063063789063],[106.462345,38.2926601386719],[106.470885039063,38.3203029609376],[106.477345,38.323843],[106.487913847656,38.3106459785157],[106.522899199219,38.2893959785157],[106.571834746094,38.2536489082031],[106.611790800781,38.2382900214844],[106.699293242188,38.2132717109375],[106.769095488281,38.1722389960938],[106.817345,38.163843],[106.803311796875,38.1273366523438],[106.857979765625,38.0414101386719],[106.812345,38.0357338691407],[106.779664335938,38.0397988105469],[106.752899199219,37.9942665839844],[106.768387480469,37.9490261054688],[106.812899199219,37.9393959785157],[106.821790800781,37.8682900214844],[106.881790800781,37.8578481269531],[106.86685671875,37.8082070136719],[106.828558378906,37.7603823066406],[106.771790800781,37.7393959785156],[106.7622278125,37.6306642890625],[106.646326933594,37.6525209785157],[106.569598417969,37.6059169746094],[106.5762903125,37.5521193671875],[106.547345,37.543843],[106.521063261719,37.5295595527344],[106.523577910156,37.5183376289063],[106.498739042969,37.4862880683594],[106.456702910156,37.4957118964844],[106.423260527344,37.5097585273437],[106.367345,37.523843],[106.360130644531,37.5766286445313],[106.322154570313,37.5886525703125],[106.312535429688,37.6090334296875],[106.295399199219,37.6249111152344],[106.280855742188,37.7313246894532],[106.262154570313,37.7486525703125],[106.244012480469,37.7870937324219],[106.302113066406,37.8009340644531],[106.282154570313,37.8386525703126],[106.272535429688,37.8675014472657],[106.349210234375,37.8797158027344],[106.362154570313,37.9144936347657],[106.332154570313,37.9286525703125],[106.322535429688,37.9390334296876],[106.301749296875,37.9488430000001],[106.302606230469,37.9704372382813],[106.264283476563,38.0059462714844],[106.222535429688,38.0590334296876],[106.212154570313,38.0686525703126],[106.207345,38.073843],[106.211429472656,38.0897585273438],[106.225745878906,38.0996425605469],[106.217345,38.1338430000001],[106.250181914063,38.2076723457032],[106.26271609375,38.2184706855469],[106.272977324219,38.2414638496094],[106.308831816406,38.2723549628907],[106.345858183594,38.3153310371094],[106.367345,38.3338430000001],[106.383804960938,38.3373830390626],[106.410018339844,38.3572096992188],[106.420885039063,38.3373830390626],[106.438148222656,38.3279213691406],[106.42923953125,38.3063063789063]]]]}},{"type":"Feature","properties":{"name":"西夏区","id":"640105"},"geometry":{"type":"MultiPolygon","coordinates":[[[[106.082806425781,38.6593056464844],[106.113878203125,38.6476308417969],[106.149088164063,38.6900173164063],[106.234354277344,38.6791078925781],[106.217345,38.6338430000001],[106.211568632813,38.6151357246094],[106.161265898438,38.4774697089844],[106.072064238281,38.3391237617188],[106.057345,38.313843],[106.051790800781,38.3182900214844],[106.042899199219,38.3393959785156],[106.002913847656,38.3893898750001],[105.881790800781,38.4382900214844],[105.870845976563,38.4642641425782],[105.837345,38.473843],[105.843104277344,38.4987001777344],[105.841549101563,38.509233625],[105.85298953125,38.5281996894532],[105.864635039063,38.5967568183594],[105.845079375,38.6291774726563],[105.88298953125,38.6881996894531],[105.887345,38.7138430000001],[105.928524199219,38.7017592597657],[105.983131132813,38.670483625],[106.082806425781,38.6593056464844]]]]}},{"type":"Feature","properties":{"name":"兴庆区","id":"640104"},"geometry":{"type":"MultiPolygon","coordinates":[[[[106.646790800781,38.4775710273438],[106.595787382813,38.3891078925781],[106.49271609375,38.3284706855469],[106.477345,38.323843],[106.470885039063,38.3203029609376],[106.462345,38.2926601386719],[106.42923953125,38.3063063789063],[106.438148222656,38.3279213691406],[106.420885039063,38.3373830390626],[106.410018339844,38.3572096992188],[106.383804960938,38.3373830390626],[106.367345,38.3338430000001],[106.358409453125,38.3551198554687],[106.374090605469,38.3792006660157],[106.331429472656,38.4079274726563],[106.322691679688,38.42058128125],[106.303260527344,38.4079274726563],[106.267345,38.4038430000001],[106.263531523438,38.4300307441407],[106.243988066406,38.4894521308594],[106.267345,38.503843],[106.29298953125,38.5081996894531],[106.326143828125,38.5281996894532],[106.353160429688,38.5093666816406],[106.351605253906,38.498843],[106.353084746094,38.4888430000001],[106.351253691406,38.4764650703125],[106.374722929688,38.4799330878907],[106.370809355469,38.4534438300781],[106.412345,38.4595815253907],[106.430672636719,38.4568727851563],[106.44420046875,38.4912831855469],[106.440057402344,38.5193300605469],[106.534632597656,38.5283559394531],[106.527699003906,38.5752773261719],[106.547159453125,38.6228261542969],[106.587345,38.653843],[106.630084257813,38.6465822578125],[106.643065214844,38.6148647285157],[106.657345,38.603843],[106.646790800781,38.4775710273438]]]]}},{"type":"Feature","properties":{"name":"永宁县","id":"640121"},"geometry":{"type":"MultiPolygon","coordinates":[[[[106.057345,38.313843],[106.07963015625,38.2815663886719],[106.101429472656,38.3197585273438],[106.13720828125,38.32894065625],[106.178494902344,38.3902504707032],[106.242240019531,38.4100099921876],[106.267345,38.4038430000001],[106.303260527344,38.4079274726563],[106.322691679688,38.42058128125],[106.331429472656,38.4079274726563],[106.374090605469,38.3792006660157],[106.358409453125,38.3551198554687],[106.367345,38.3338430000001],[106.345858183594,38.3153310371094],[106.308831816406,38.2723549628907],[106.272977324219,38.2414638496094],[106.26271609375,38.2184706855469],[106.250181914063,38.2076723457032],[106.217345,38.1338430000001],[106.191429472656,38.1379274726563],[106.173260527344,38.1497585273438],[106.131429472656,38.1579274726563],[106.103260527344,38.1797585273438],[106.081429472656,38.1879274726563],[106.071529570313,38.2143862128907],[106.04435671875,38.1750295234375],[106.017345,38.1810842109375],[105.971851835938,38.1708864570313],[105.963118925781,38.1475490546875],[105.934293242188,38.1540114570313],[105.964945097656,38.2216445136719],[105.910513945313,38.2420119453126],[105.883260527344,38.2597585273438],[105.847345,38.263843],[105.861663847656,38.3019496894531],[105.841883574219,38.3183803535157],[105.820264921875,38.3534291816407],[105.827157011719,38.4210549140625],[105.842955351563,38.4486391425782],[105.837345,38.473843],[105.870845976563,38.4642641425782],[105.881790800781,38.4382900214844],[106.002913847656,38.3893898750001],[106.042899199219,38.3393959785156],[106.051790800781,38.3182900214844],[106.057345,38.313843]]]]}}]}