spritejs/spritejs

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

Summary

Maintainability
Test Coverage
{"type": "FeatureCollection", "features": [{"type":"Feature","properties":{"name":"和林格尔县","id":"150123"},"geometry":{"type":"MultiPolygon","coordinates":[[[[111.527345,40.553843],[111.517345,40.553843],[111.522345,40.5666506171875],[111.527345,40.553843]]],[[[111.517345,40.553843],[111.522345,40.5410353828125],[111.527345,40.553843],[111.542144804688,40.5485329414063],[111.552532988281,40.5491518378907],[111.722157011719,40.4985341621094],[111.732345,40.4991408515625],[111.758883085938,40.4975588203125],[111.811107207031,40.5115468574219],[111.772891875,40.5456923652344],[111.797345,40.6138430000001],[111.821204863281,40.6046718574219],[111.822967558594,40.6188430000001],[111.820667753906,40.6373268867188],[111.876512480469,40.6614345527344],[111.934791289063,40.6541847968751],[111.930584746094,40.6880019355469],[111.947486601563,40.6901039863281],[111.972899199219,40.6793959785157],[111.988465605469,40.65995628125],[112.037345,40.6538430000001],[112.045513945313,40.6420119453126],[112.091429472656,40.6103102851563],[112.08209109375,40.5732949042969],[112.043260527344,40.5820009589844],[112.052801542969,40.5538845039063],[112.073260527344,40.5397585273438],[112.08201296875,40.5270839667969],[112.111898222656,40.5076222968751],[112.123592558594,40.5102431464844],[112.153260527344,40.4897585273438],[112.169598417969,40.4660964179688],[112.215706816406,40.448843],[112.210472441406,40.4254921699219],[112.233260527344,40.4097585273438],[112.241429472656,40.3979274726562],[112.254185820313,40.3891200996094],[112.230245390625,40.3582314277344],[112.263648710938,40.3496584296876],[112.259132109375,40.3295131660157],[112.286158476563,40.3108534980469],[112.279132109375,40.2795131660156],[112.293260527344,40.2697585273438],[112.301429472656,40.2579274726563],[112.307345,40.253843],[112.29197390625,40.2292153144531],[112.278089628906,40.1980995917969],[112.230479765625,40.1682802558594],[112.203460722656,40.1077272773438],[112.14197390625,40.0292153144531],[112.107345,39.9738430000001],[112.097345,39.9738430000001],[112.080181914063,39.9804396796875],[112.061890898438,39.9781642890625],[112.052799101563,39.9895217109375],[112.03373171875,39.9871498847657],[111.991812773438,40.0117897773438],[111.951615019531,40.0779726386719],[111.954261503906,40.0992580390625],[111.864930449219,40.1082900214844],[111.802847929688,40.0844264960938],[111.727345,40.0938185859375],[111.660057402344,40.0854482246094],[111.665738554688,40.1311305976562],[111.632345,40.126977765625],[111.584049101563,40.1329848457032],[111.556832304688,40.1669716621094],[111.517345,40.173843],[111.521158476563,40.1800307441407],[111.535460234375,40.188843],[111.520535917969,40.1980373359375],[111.525460234375,40.213843],[111.520787382813,40.228843],[111.527020292969,40.2488564277344],[111.464129667969,40.2700209785157],[111.483531523438,40.2976552558595],[111.497796660156,40.3395095039063],[111.431158476563,40.3476552558594],[111.423531523438,40.3674318671876],[111.460990019531,40.3801967597656],[111.471158476563,40.4100307441407],[111.496317167969,40.4410927558594],[111.488883085938,40.4649550605469],[111.508543730469,40.508843],[111.497345,40.533843],[111.507345,40.533843],[111.507345,40.553843],[111.517345,40.553843]]]]}},{"type":"Feature","properties":{"name":"回民区","id":"150103"},"geometry":{"type":"MultiPolygon","coordinates":[[[[111.577345,40.793843],[111.577345,40.783843],[111.564537382813,40.788843],[111.577345,40.793843]]],[[[111.577345,40.793843],[111.571890898438,40.8006520820313],[111.544644804688,40.7972634101563],[111.502899199219,40.8493959785157],[111.443807402344,40.8621816230469],[111.437345,40.913843],[111.451400175781,40.9349794746094],[111.509947539063,40.909848859375],[111.533350859375,40.917837140625],[111.544237089844,40.947837140625],[111.589681425781,40.9353688789063],[111.597345,40.9238430000001],[111.633260527344,40.8697585273438],[111.649598417969,40.8260964179688],[111.667345,40.813843],[111.667345,40.8038430000001],[111.63298953125,40.7981996894531],[111.577345,40.793843]]]]}},{"type":"Feature","properties":{"name":"清水河县","id":"150124"},"geometry":{"type":"MultiPolygon","coordinates":[[[[111.49435671875,40.1841408515625],[111.517345,40.173843],[111.556832304688,40.1669716621094],[111.584049101563,40.1329848457032],[111.632345,40.126977765625],[111.665738554688,40.1311305976562],[111.660057402344,40.0854482246094],[111.727345,40.0938185859375],[111.802847929688,40.0844264960938],[111.864930449219,40.1082900214844],[111.954261503906,40.0992580390625],[111.951615019531,40.0779726386719],[111.991812773438,40.0117897773438],[112.03373171875,39.9871498847657],[112.052799101563,39.9895217109375],[112.061890898438,39.9781642890625],[112.080181914063,39.9804396796875],[112.097345,39.9738430000001],[112.092569609375,39.9571401191407],[112.062899199219,39.9082900214844],[112.043057890625,39.8924025703125],[112.020203886719,39.8381630683594],[111.960311308594,39.7902016425781],[111.96388796875,39.7614394355469],[111.952899199219,39.6982900214844],[111.921671171875,39.6592470527344],[111.927345,39.613843],[111.87216921875,39.6084169746094],[111.832218046875,39.6193520332031],[111.788143339844,39.59476096875],[111.718997832031,39.600317609375],[111.7012121875,39.620962140625],[111.655982695313,39.6411440253906],[111.60400515625,39.6369680000001],[111.505101347656,39.6640358710937],[111.46271609375,39.6484706855469],[111.427345,39.643843],[111.42146609375,39.65913596875],[111.433682890625,39.6689186835938],[111.386278105469,39.6977138496094],[111.348870878906,39.7444264960938],[111.362899199219,39.7682900214844],[111.371790800781,39.7893959785156],[111.393248320313,39.8065785957031],[111.391666289063,39.8192958808594],[111.402899199219,39.8282900214844],[111.411790800781,39.8693959785156],[111.432899199219,39.8982900214844],[111.441790800781,39.9322743964844],[111.421790800781,39.9482900214844],[111.409276152344,40.0342897773437],[111.376976347656,40.0601528144532],[111.367345,40.093843],[111.371158476563,40.1000307441407],[111.395907011719,40.1152809882812],[111.415220976563,40.1719521308594],[111.442345,40.1804006171875],[111.452345,40.1772853828125],[111.462345,40.1804006171875],[111.472345,40.1772853828125],[111.49435671875,40.1841408515625]]]]}},{"type":"Feature","properties":{"name":"赛罕区","id":"150105"},"geometry":{"type":"MultiPolygon","coordinates":[[[[112.063441191406,40.9599404121094],[112.084796171875,40.9453163886719],[112.127345,40.9572731757813],[112.141248808594,40.9177455878906],[112.153878203125,40.8993019843751],[112.148714628906,40.8809218574219],[112.173441191406,40.8499404121094],[112.177345,40.813843],[112.17271609375,40.8084706855469],[112.152977324219,40.7914638496094],[112.139032011719,40.7602138496094],[112.086287871094,40.7366774726563],[112.10197390625,40.7184706855469],[112.127125273438,40.696801984375],[112.10271609375,40.6684706855469],[112.037345,40.6538430000001],[111.988465605469,40.65995628125],[111.972899199219,40.6793959785157],[111.947486601563,40.6901039863281],[111.930584746094,40.6880019355469],[111.934791289063,40.6541847968751],[111.876512480469,40.6614345527344],[111.820667753906,40.6373268867188],[111.822967558594,40.6188430000001],[111.821204863281,40.6046718574219],[111.797345,40.6138430000001],[111.78521609375,40.6368715644532],[111.757030058594,40.6242079902344],[111.717345,40.643843],[111.721883574219,40.6693056464844],[111.741734648438,40.7403102851563],[111.722022734375,40.7383010078126],[111.693509550781,40.7546315742188],[111.682806425781,40.7793056464844],[111.667345,40.8038430000001],[111.667345,40.813843],[111.68271609375,40.8184706855469],[111.70197390625,40.8292153144532],[111.74271609375,40.8384706855469],[111.787943144531,40.8508486152344],[111.81197390625,40.8892153144532],[111.83814578125,40.9117641425781],[111.877174101563,40.8899904609375],[111.999947539063,40.8998561835938],[112.021998320313,40.9492726875001],[112.032699003906,40.9484133125],[112.037345,40.9638430000001],[112.063441191406,40.9599404121094]]]]}},{"type":"Feature","properties":{"name":"土默特左旗","id":"150121"},"geometry":{"type":"MultiPolygon","coordinates":[[[[111.517345,40.553843],[111.527345,40.553843],[111.522345,40.5410353828125],[111.517345,40.553843]]],[[[111.527345,40.553843],[111.522345,40.5666506171875],[111.517345,40.553843],[111.507345,40.553843],[111.507345,40.533843],[111.497345,40.533843],[111.453582792969,40.5460292792969],[111.473179960938,40.5785158515626],[111.469300566406,40.5981996894531],[111.381707792969,40.563764875],[111.337345,40.5703212714844],[111.322345,40.5681044746094],[111.312345,40.5695815253906],[111.270924101563,40.5634609199219],[111.274605742188,40.538540265625],[111.23170046875,40.5294863105469],[111.208533964844,40.515512921875],[111.16384890625,40.5330788398438],[111.142884550781,40.4980239082032],[111.116436796875,40.5019325996094],[111.10298953125,40.4381996894532],[111.08170046875,40.4294863105469],[111.077345,40.4238430000001],[111.021656523438,40.4283010078126],[111.024232207031,40.4490151191406],[110.991790800781,40.4582900214844],[110.965369902344,40.4738210273438],[110.950985136719,40.4917836738282],[110.89334109375,40.4846132636719],[110.882899199219,40.5093959785156],[110.854334746094,40.5214321113281],[110.842899199219,40.5522743964844],[110.874832792969,40.57784690625],[110.857906523438,40.5914003730469],[110.827345,40.5875991035157],[110.806983671875,40.5901320625001],[110.78779421875,40.6572499824219],[110.793587675781,40.703843],[110.784810820313,40.7744228339844],[110.777345,40.793843],[110.824127226563,40.8017897773438],[110.820924101563,40.8234609199219],[110.862345,40.8295815253906],[110.882345,40.8266262031251],[110.917345,40.8317983222657],[110.948343535156,40.8272182441407],[111.01298953125,40.8381996894531],[111.02170046875,40.8594863105469],[111.074244414063,40.8809914375001],[111.070282011719,40.9077992988281],[111.087345,40.9103212714844],[111.156712675781,40.9000698066407],[111.174329863281,40.9228908515625],[111.245064726563,40.8950832343751],[111.284625273438,40.9106362128906],[111.34218875,40.8880068183594],[111.43170046875,40.9094863105469],[111.437345,40.913843],[111.443807402344,40.8621816230469],[111.502899199219,40.8493959785157],[111.544644804688,40.7972634101563],[111.571890898438,40.8006520820313],[111.577345,40.793843],[111.564537382813,40.788843],[111.577345,40.783843],[111.573350859375,40.757837140625],[111.55533328125,40.7458559394532],[111.543350859375,40.7278371406251],[111.506832304688,40.7145851875],[111.525941191406,40.6859694648438],[111.542345,40.690102765625],[111.561627226563,40.6852443671875],[111.571339140625,40.699848859375],[111.593350859375,40.707837140625],[111.611890898438,40.7202175117188],[111.628778105469,40.715962140625],[111.609141875,40.6865590644532],[111.613719511719,40.6683876777345],[111.600970488281,40.6492983222657],[111.605618925781,40.6308498359376],[111.672345,40.647661359375],[111.713062773438,40.6374025703126],[111.717345,40.643843],[111.757030058594,40.6242079902344],[111.78521609375,40.6368715644532],[111.797345,40.6138430000001],[111.772891875,40.5456923652344],[111.811107207031,40.5115468574219],[111.758883085938,40.4975588203125],[111.732345,40.4991408515625],[111.722157011719,40.4985341621094],[111.552532988281,40.5491518378907],[111.542144804688,40.5485329414063],[111.527345,40.553843]]]]}},{"type":"Feature","properties":{"name":"托克托县","id":"150122"},"geometry":{"type":"MultiPolygon","coordinates":[[[[111.473179960938,40.5785158515626],[111.453582792969,40.5460292792969],[111.497345,40.533843],[111.508543730469,40.508843],[111.488883085938,40.4649550605469],[111.496317167969,40.4410927558594],[111.471158476563,40.4100307441407],[111.460990019531,40.3801967597656],[111.423531523438,40.3674318671876],[111.431158476563,40.3476552558594],[111.497796660156,40.3395095039063],[111.483531523438,40.2976552558595],[111.464129667969,40.2700209785157],[111.527020292969,40.2488564277344],[111.520787382813,40.228843],[111.525460234375,40.213843],[111.520535917969,40.1980373359375],[111.535460234375,40.188843],[111.521158476563,40.1800307441407],[111.517345,40.173843],[111.49435671875,40.1841408515625],[111.472345,40.1772853828125],[111.462345,40.1804006171875],[111.452345,40.1772853828125],[111.442345,40.1804006171875],[111.415220976563,40.1719521308594],[111.395907011719,40.1152809882812],[111.371158476563,40.1000307441407],[111.367345,40.093843],[111.30271609375,40.1492153144531],[111.217100859375,40.1725197578126],[111.18173953125,40.2135634589844],[111.115484648438,40.2550612617188],[111.041121855469,40.2686257148438],[111.0427746875,40.2891970039063],[111.027345,40.293843],[111.03170046875,40.309486310547],[111.094095488281,40.3350234199219],[111.12170046875,40.3759206367188],[111.08670046875,40.3902455878907],[111.077345,40.4238430000001],[111.08170046875,40.4294863105469],[111.10298953125,40.4381996894532],[111.116436796875,40.5019325996094],[111.142884550781,40.4980239082032],[111.16384890625,40.5330788398438],[111.208533964844,40.515512921875],[111.23170046875,40.5294863105469],[111.274605742188,40.538540265625],[111.270924101563,40.5634609199219],[111.312345,40.5695815253906],[111.322345,40.5681044746094],[111.337345,40.5703212714844],[111.381707792969,40.563764875],[111.469300566406,40.5981996894531],[111.473179960938,40.5785158515626]]]]}},{"type":"Feature","properties":{"name":"武川县","id":"150125"},"geometry":{"type":"MultiPolygon","coordinates":[[[[111.827345,41.2238430000001],[111.815152617188,41.2204201484375],[111.823922148438,41.2116506171876],[111.840704375,41.217202375],[111.857345,41.213843],[111.863089628906,41.1788771796875],[111.861600371094,41.1688088203125],[111.867345,41.133843],[111.862899199219,41.1282900214844],[111.835777617188,41.1168617988281],[111.812799101563,41.0881642890625],[111.801829863281,41.0895290351563],[111.788004179688,41.0411769843751],[111.731790800781,41.0093959785156],[111.722899199219,40.9982900214844],[111.7062121875,40.9849269843751],[111.701722441406,40.948843],[111.703211699219,40.9368691230469],[111.682310820313,40.9394692207031],[111.602899199219,40.9282900214845],[111.597345,40.9238430000001],[111.589681425781,40.9353688789063],[111.544237089844,40.947837140625],[111.533350859375,40.917837140625],[111.509947539063,40.909848859375],[111.451400175781,40.9349794746094],[111.437345,40.913843],[111.43170046875,40.9094863105469],[111.34218875,40.8880068183594],[111.284625273438,40.9106362128906],[111.245064726563,40.8950832343751],[111.174329863281,40.9228908515625],[111.156712675781,40.9000698066407],[111.087345,40.9103212714844],[111.070282011719,40.9077992988281],[111.074244414063,40.8809914375001],[111.02170046875,40.8594863105469],[111.01298953125,40.8381996894531],[110.948343535156,40.8272182441407],[110.917345,40.8317983222657],[110.882345,40.8266262031251],[110.862345,40.8295815253906],[110.820924101563,40.8234609199219],[110.824127226563,40.8017897773438],[110.777345,40.793843],[110.722525664063,40.7869936347656],[110.707345,40.813843],[110.72744265625,40.8293544746094],[110.721549101563,40.869233625],[110.73298953125,40.8881996894532],[110.74170046875,40.9127614570313],[110.716378203125,40.9323085761719],[110.634168730469,40.9165041328125],[110.620579863281,40.9809023261719],[110.653463164063,41.0062831855469],[110.65156375,41.0191347480469],[110.665675078125,41.0550331855469],[110.65170046875,41.0781996894532],[110.636615019531,41.1150624824219],[110.643167753906,41.1594130683594],[110.62170046875,41.1681996894531],[110.6001965625,41.2207424140626],[110.577345,41.2173647285157],[110.550496855469,41.2213332343751],[110.55677859375,41.2638430000001],[110.518365507813,41.2795644355469],[110.507345,41.293843],[110.5460559375,41.287837140625],[110.572081328125,41.3293886542969],[110.619725371094,41.3163491035157],[110.65822390625,41.3436464667969],[110.723326445313,41.3799697089844],[110.762345,41.3768337226563],[110.811998320313,41.3808242011719],[110.82197390625,41.3584706855469],[110.86271609375,41.3492153144532],[110.894564238281,41.3314455390626],[110.943695097656,41.3179994941406],[110.969947539063,41.3484706855469],[111.008326445313,41.3259194160157],[111.038997832031,41.2903176093751],[111.080106230469,41.2870143867188],[111.104605742188,41.3006838203125],[111.183831816406,41.2653310371094],[111.237518339844,41.2353774238281],[111.252772246094,41.2485195136719],[111.251253691406,41.2674330878907],[111.29404421875,41.2977748847657],[111.312669707031,41.2992702460938],[111.328038359375,41.2814321113281],[111.35197390625,41.3092153144532],[111.417345,41.313843],[111.455628691406,41.3279018378907],[111.477345,41.3296462226563],[111.502345,41.3276381660157],[111.522623320313,41.3292665839844],[111.543326445313,41.3177162910157],[111.562669707031,41.3192702460938],[111.572303496094,41.3080861640626],[111.701363554688,41.2977162910157],[111.722569609375,41.3095473457031],[111.732345,41.2876381660157],[111.752640410156,41.2892690253906],[111.796751738281,41.2579921699219],[111.831785917969,41.2608071113281],[111.832760039063,41.2486708808594],[111.827345,41.2238430000001]]]]}},{"type":"Feature","properties":{"name":"新城区","id":"150102"},"geometry":{"type":"MultiPolygon","coordinates":[[[[111.920413847656,41.0969118476563],[111.96298953125,41.0794863105469],[111.97170046875,41.0681996894532],[112.020765410156,41.054536359375],[112.023084746094,41.0388430000001],[112.018211699219,41.0058657050782],[112.037345,40.9638430000001],[112.032699003906,40.9484133125],[112.021998320313,40.9492726875001],[111.999947539063,40.8998561835938],[111.877174101563,40.8899904609375],[111.83814578125,40.9117641425781],[111.81197390625,40.8892153144532],[111.787943144531,40.8508486152344],[111.74271609375,40.8384706855469],[111.70197390625,40.8292153144532],[111.68271609375,40.8184706855469],[111.667345,40.813843],[111.649598417969,40.8260964179688],[111.633260527344,40.8697585273438],[111.597345,40.9238430000001],[111.602899199219,40.9282900214845],[111.682310820313,40.9394692207031],[111.703211699219,40.9368691230469],[111.701722441406,40.948843],[111.7062121875,40.9849269843751],[111.722899199219,40.9982900214844],[111.731790800781,41.0093959785156],[111.788004179688,41.0411769843751],[111.801829863281,41.0895290351563],[111.812799101563,41.0881642890625],[111.835777617188,41.1168617988281],[111.862899199219,41.1282900214844],[111.867345,41.133843],[111.90298953125,41.1194863105469],[111.920413847656,41.0969118476563]]]]}},{"type":"Feature","properties":{"name":"玉泉区","id":"150104"},"geometry":{"type":"MultiPolygon","coordinates":[[[[111.693509550781,40.7546315742188],[111.722022734375,40.7383010078126],[111.741734648438,40.7403102851563],[111.721883574219,40.6693056464844],[111.717345,40.643843],[111.713062773438,40.6374025703126],[111.672345,40.647661359375],[111.605618925781,40.6308498359376],[111.600970488281,40.6492983222657],[111.613719511719,40.6683876777345],[111.609141875,40.6865590644532],[111.628778105469,40.715962140625],[111.611890898438,40.7202175117188],[111.593350859375,40.707837140625],[111.571339140625,40.699848859375],[111.561627226563,40.6852443671875],[111.542345,40.690102765625],[111.525941191406,40.6859694648438],[111.506832304688,40.7145851875],[111.543350859375,40.7278371406251],[111.55533328125,40.7458559394532],[111.573350859375,40.757837140625],[111.577345,40.783843],[111.577345,40.793843],[111.63298953125,40.7981996894531],[111.667345,40.8038430000001],[111.682806425781,40.7793056464844],[111.693509550781,40.7546315742188]]]]}}]}