spritejs/spritejs

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

Summary

Maintainability
Test Coverage
{"type": "FeatureCollection", "features": [{"type":"Feature","properties":{"name":"城区","id":"140302"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.650975371094,37.8489772773438],[113.617703886719,37.8349379707032],[113.602345,37.840727765625],[113.574998808594,37.8304201484375],[113.563714628906,37.8502114082031],[113.557345,37.853843],[113.567345,37.8738430000001],[113.600975371094,37.8574745917969],[113.650975371094,37.8489772773438]]]]}},{"type":"Feature","properties":{"name":"郊区","id":"140311"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.647345,38.083843],[113.642081328125,38.05868675],[113.662535429688,38.0490334296875],[113.672154570313,38.0286525703126],[113.682808867188,38.0187807441407],[113.661881132813,38.0089052558594],[113.683138457031,37.9892104316406],[113.651295195313,37.9597072578126],[113.701990996094,37.8974135566407],[113.672110625,37.8697280097656],[113.67291140625,37.8495546699219],[113.632615996094,37.8218263984376],[113.541851835938,37.8182289863282],[113.48443484375,37.8486110664063],[113.472535429688,37.7986525703126],[113.452154570313,37.7890334296876],[113.427345,37.773843],[113.423531523438,37.7800307441407],[113.40281375,37.7927968574219],[113.393531523438,37.8200307441407],[113.363699980469,37.8301967597657],[113.353531523438,37.8600307441407],[113.313531523438,37.9065175605469],[113.330819121094,37.9598220039063],[113.337345,37.963843],[113.375203886719,37.9550710273438],[113.422345,37.9481044746094],[113.432345,37.9495815253907],[113.449866972656,37.9469924140625],[113.467835722656,38.0115126777345],[113.5064075,37.9963491035157],[113.499876738281,38.0405544257813],[113.54298953125,38.0581996894532],[113.561954375,38.0696401191407],[113.581832304688,38.0667018867188],[113.592857695313,38.0809841132813],[113.612857695313,38.0780287910156],[113.624329863281,38.0928908515626],[113.647345,38.083843]],[[113.507345,37.893843],[113.492733183594,37.8812538886719],[113.517345,37.8738430000001],[113.52170046875,37.8681996894532],[113.557345,37.853843],[113.563714628906,37.8502114082031],[113.574998808594,37.8304201484375],[113.602345,37.840727765625],[113.617703886719,37.8349379707032],[113.650975371094,37.8489772773438],[113.600975371094,37.8574745917969],[113.567345,37.8738430000001],[113.550159941406,37.8766591621094],[113.542345,37.8966005683594],[113.534530058594,37.8766591621094],[113.517345,37.8738430000001],[113.530162382813,37.9063503242188],[113.512408476563,37.9173830390626],[113.507345,37.893843]]]]}},{"type":"Feature","properties":{"name":"矿区","id":"140303"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.517345,37.8738430000001],[113.492733183594,37.8812538886719],[113.507345,37.893843],[113.517345,37.8738430000001]]],[[[113.517345,37.8738430000001],[113.534530058594,37.8766591621094],[113.542345,37.8966005683594],[113.550159941406,37.8766591621094],[113.567345,37.8738430000001],[113.557345,37.853843],[113.52170046875,37.8681996894532],[113.517345,37.8738430000001]]],[[[113.507345,37.893843],[113.512408476563,37.9173830390626],[113.530162382813,37.9063503242188],[113.507345,37.893843]]]]}},{"type":"Feature","properties":{"name":"平定县","id":"140321"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.834547148438,38.0910463691407],[113.851610136719,38.0681081367188],[113.870933867188,38.053734357422],[113.861373320313,37.9982021308594],[113.890035429688,37.9868141914063],[113.913079863281,37.9495778632813],[113.923055449219,37.9244728828125],[113.960094023438,37.8969216132813],[113.964928007813,37.8688430000001],[113.957178984375,37.823843],[113.999764433594,37.8069216132812],[114.041610136719,37.7757924628907],[114.029034453125,37.7497231269532],[113.983079863281,37.7372646308594],[113.991610136719,37.7181081367188],[113.997345,37.713843],[113.979149199219,37.6813405585938],[113.916322050781,37.7060390449219],[113.881173125,37.7112331367188],[113.825032988281,37.677368390625],[113.761832304688,37.6680287910157],[113.746263457031,37.6881996894532],[113.69170046875,37.6794863105469],[113.658546171875,37.6594863105469],[113.63170046875,37.6681996894531],[113.610767851563,37.6808266425782],[113.547127714844,37.6714223457032],[113.48170046875,37.6981996894531],[113.457345,37.713843],[113.44170046875,37.7381996894531],[113.427345,37.773843],[113.452154570313,37.7890334296876],[113.472535429688,37.7986525703126],[113.48443484375,37.8486110664063],[113.541851835938,37.8182289863282],[113.632615996094,37.8218263984376],[113.67291140625,37.8495546699219],[113.672110625,37.8697280097656],[113.701990996094,37.8974135566407],[113.651295195313,37.9597072578126],[113.683138457031,37.9892104316406],[113.661881132813,38.0089052558594],[113.682808867188,38.0187807441407],[113.672154570313,38.0286525703126],[113.662535429688,38.0490334296875],[113.642081328125,38.05868675],[113.647345,38.083843],[113.662806425781,38.0883803535157],[113.697345,38.1081618476563],[113.75127078125,38.0772756171875],[113.781883574219,38.0993056464844],[113.807345,38.113843],[113.811610136719,38.1081081367188],[113.834547148438,38.0910463691407]]]]}},{"type":"Feature","properties":{"name":"盂县","id":"140322"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.727345,38.1738430000001],[113.715152617188,38.1704201484375],[113.723922148438,38.1616506171876],[113.76170046875,38.1681996894531],[113.827345,38.163843],[113.823985625,38.147202375],[113.807345,38.113843],[113.781883574219,38.0993056464844],[113.75127078125,38.0772756171875],[113.697345,38.1081618476563],[113.662806425781,38.0883803535157],[113.647345,38.083843],[113.624329863281,38.0928908515626],[113.612857695313,38.0780287910156],[113.592857695313,38.0809841132813],[113.581832304688,38.0667018867188],[113.561954375,38.0696401191407],[113.54298953125,38.0581996894532],[113.499876738281,38.0405544257813],[113.5064075,37.9963491035157],[113.467835722656,38.0115126777345],[113.449866972656,37.9469924140625],[113.432345,37.9495815253907],[113.422345,37.9481044746094],[113.375203886719,37.9550710273438],[113.337345,37.963843],[113.318377714844,37.9913161445313],[113.286571074219,37.9841860175781],[113.273260527344,38.0197585273438],[113.261429472656,38.0279274726563],[113.246800566406,38.0491139960938],[113.253638945313,38.0796169257813],[113.2120715625,38.095171125],[113.187310820313,38.059310529297],[113.159329863281,38.0497585273438],[113.112264433594,38.0804067207032],[113.083260527344,38.0579274726563],[113.057345,38.053843],[113.05298953125,38.059486310547],[113.04170046875,38.0681996894532],[113.03298953125,38.0794863105469],[113.00170046875,38.0881996894531],[112.964891386719,38.1104030585938],[112.952916289063,38.1396657539063],[112.933502226563,38.1367971015626],[112.91298953125,38.1527614570312],[112.933160429688,38.1683315253907],[112.931546660156,38.1792458320313],[112.967730742188,38.2355837226563],[113.02298953125,38.2581996894532],[113.03170046875,38.2694863105469],[113.069928007813,38.2989931464844],[113.10298953125,38.3081996894531],[113.146558867188,38.3253273750001],[113.141605253906,38.358843],[113.143865996094,38.3741408515625],[113.137345,38.413843],[113.193260527344,38.4179274726563],[113.211429472656,38.4297585273438],[113.271007109375,38.4391481757813],[113.277345,38.463843],[113.307122832031,38.483520734375],[113.363260527344,38.4979274726563],[113.389097929688,38.5147524238281],[113.419144316406,38.5214882636719],[113.470780058594,38.49980003125],[113.501898222656,38.5200637031251],[113.512386503906,38.5177126289063],[113.537345,38.5238430000001],[113.553033476563,38.4848891425781],[113.586009550781,38.4594362617188],[113.56170046875,38.4494863105469],[113.55298953125,38.4281996894531],[113.525775175781,38.4170619941406],[113.519427519531,38.3741005683594],[113.53170046875,38.3581996894531],[113.554456816406,38.3406337714844],[113.53298953125,38.3050429511719],[113.54170046875,38.2581996894532],[113.55298953125,38.2494863105469],[113.56170046875,38.2381996894531],[113.6471496875,38.2290407539063],[113.683922148438,38.2068593574219],[113.702857695313,38.2096572089844],[113.71170046875,38.1981996894531],[113.72298953125,38.1894863105469],[113.727345,38.1738430000001]]]]}}]}